Introduction¶
After enterprises or teams export emails and instant messaging (IM) to the local disk, a common practice is to manually browse directories and guess whether the retention period is reasonable based on experience. When directory depth is high or .eml files are scattered, it is difficult to provide an audit-ready index list at once, and it is also hard to systematically check for residual sensitive fields such as ID card numbers or bank card numbers before external delivery. DeepSeek Harness (DSH) leverages plugin extension capabilities; dsh-mail-archive targets the “archive directory health check” scenario. After local scanning, it outputs a manifest and masking reminders, facilitating the organization of the chain of evidence related to retention obligations.
What is this¶
@deepwhale-cn/dsh-mail-archive is a skill-type plugin on DSH. After installation, it has no independent panel and is invoked by the DSH agent according to the skill description via the CLI. The maintainer is feely0208, and the source code repository is feely0208/dsh-mail-archive. The plugin is positioned to check email and chat record export archives: generating index manifests, attaching retention notes, and providing masking reminders for sensitive information; the README classifies it as the Deepwhale Guardian Series, extending archive indexing capabilities based on @deepwhale-cn/dsh-guard-core. The current npm package version is 0.1.0, and the license is MIT.
Core Features¶
The capabilities below are derived from the project README and package.json descriptions; you can verify them yourself in the repository before installation.
- Archive Compliance Health Check: Performs the check process on archive content under a specified root directory.
- Index and Manifest Output: Can generate
MANIFEST.jsonand index CSVs, facilitating inventory and handover. - Retention Period Notes: Reflects retention-related notes in the health check results (specific fields are subject to CLI output).
- Sensitive Information and Masking Reminders: PII scanning includes ID card and bank card check digit validation; the README states this is to reduce false positives. The output side emphasizes permanent masking. Supports re-scanning for
.emlfiles. - Rule Sets: The README states there are 4 built-in rules; specific rule content can be found in the repository’s
rulesdirectory.
Installation and Usage¶
The DSH-side installation command is as follows (do not use the github:owner/repo form for concatenation; refer to the original README):
dsh plugin --profile web add @deepwhale-cn/dsh-mail-archive
Runtime environment requirements (from package.json): Node >= 18; DSH engine >= 0.1.0-rc.6 and < 0.3.0. The plugin depends on @deepwhale-cn/dsh-guard-core and works with @deepseek-ai/dsh-skill as a peer dependency to coordinate skill invocation.
Typical Usage¶
In an agent scenario, the skill triggers the CLI; it can also be used directly with npx in an installed package environment to act on local archive directories.
Perform a health check on the archive root directory:
npx @deepwhale-cn/dsh-mail-archive --root <archive directory>
Generate index-related outputs based on the health check:
npx @deepwhale-cn/dsh-mail-archive --root <directory> --index
Replace <archive directory> / <directory> with the actual local paths to reproduce. The manifest file names in the output are examples from the README: MANIFEST.json and index CSV; sensitive fields should appear masked. Before delivery, it is still recommended to manually spot-check the range of business-critical fields.
Applicable Scenarios and Considerations¶
Who it is for: Teams that need to export and archive emails/IMs to the file system while also doing inventory checks and self-inspection of sensitive information; developers who wish to trigger archive health checks uniformly within a DSH workflow using skills.
Permissions and Security: The plugin reads the directory specified by --root with the current DSH process permissions. You should read the repository source code and the MIT license before installation and the first run to confirm that the scan scope and output locations comply with internal control requirements. The community plugin directory (such as the SkillHub entry) is an independent ecosystem site and has no official affiliation with DeepSeek / HF.
Limitations: The README does not provide panel configuration items; behavior is subject to CLI parameters and the rules in the repository. Star counts and release cycle are subject to the GitHub page and do not make promises not appearing in the materials.
Conclusion¶
dsh-mail-archive turns “what is actually in the directory, how retention is explained, and whether sensitive information is exposed” into a single local CLI health check, producing MANIFEST.json and index CSVs. It is suitable for the archive inspection step within a DSH agent workflow. For further details, see the SkillHub directory page and GitHub repository.