SafeShrink Minor Documents: Document Compression, Data Masking, and SSD Conversion

Preface

When handing structured files like Excel, JSON, and YAML over to large language models for analysis, both size and sensitive fields often become problems at the same time: the context window gets filled up, and from a compliance standpoint it’s not appropriate to paste raw headers, account names, and file paths wholesale into a conversation. Manually deleting columns, masking data, and saving a copy is slow, and easily leads to missed changes or version mix-ups.

The following introduces the SkillHub community Skill “SafeShrink 密小件” (coordinate @user_cf349896/safe-shrink). The capability it declares at the Skill level is: working together with the desktop-side workflow to perform document slimming, sanitization, and SSD-related conversions; and providing trigger keywords and common file suffixes that can be activated within conversations, making it easier for Agents to collaborate using the same set of intents.

What Is This

SafeShrink 密小件 is a community Skill on SkillHub categorized under office-efficiency. The current page shows version v1.2.4, published by user_cf349896, with the tag requires_api_key=false (no API key configuration required).

The official introduction positions it as: SafeShrink 密小件 · Document slimming / sanitization / SSD conversion desktop tool. After installing this Skill on the Agent side, the model can recognize intents such as “slimming, sanitization, token compression, structured sanitization” based on the Skill description, and align with trigger words the user mentions such as .ssd, SafeShrink, and 密小件, instead of having to explain the requirement from scratch every time.

  • SkillHub page: https://www.skillhub.cn/skills/user_cf349896/safe-shrink
  • Skill API address: https://api.skillhub.cn/user_cf349896/safe-shrink

Core Features (per Official Introduction)

The verifiable capability statements in the materials are as follows; we do not expand on specific operation interfaces or command-line parameters that do not appear on the page.

  1. Document slimming (document slimming / token compression)
    Aimed at scenarios where the volume of documents fed into the model needs to be reduced and token usage lowered. The introduction lists it alongside “token compression,” making it one of the main capabilities declared by this Skill.

  2. Document sanitization (sanitization)
    The introduction explicitly includes “document sanitization,” with the English tag structured sanitization, appearing together with common structured data suffixes (see the next section).

  3. SSD conversion
    The introduction states “SSD conversion desktop tool,” and the trigger words include .ssd and SafeShrink. The specific SSD file format definition and conversion steps are subject to the SKILL.md inside the Skill package and the accompanying desktop tool documentation; this article only restates the capability names from the SkillHub public introduction.

  4. Conversation triggers and file type hints
    The official trigger words / Triggers include: .ssd, SafeShrink, 密小件, 文件减肥, 文档脱敏, token 压缩, and the suffixes .xls, .json, .xml, .yaml, .csv; on the English side: document slimming, sanitization, token compression, structured sanitization. When the Agent has this Skill installed, the user can use the above words or suffixes to describe the task, making it easier for the model to choose the workflow agreed upon within the Skill.

Installation and Activation

For installation methods, refer to the SkillHub general documentation: https://skillhub.cn/install/skillhub.md

1. Install the SkillHub CLI (if not already installed)

First check whether the CLI is available:

command -v skillhub && skillhub --version

If not installed, you can install it via the official script (the full installation includes the CLI and default Skills; add --cli-only if you only need the CLI):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install the Skill into the current Agent’s skills directory

The official documentation emphasizes: when installing, you must use --dir to point to the actual skills directory that the current Agent reads, otherwise the default landing in ./skills/ may not be recognized.

skillhub install @user_cf349896/safe-shrink --dir <your skills directory>

Common paths (excerpted from the SkillHub installation documentation, choose one according to the client you use):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

The SkillHub skill page also provides an installation prompt that can be handed to the AI to execute: install @user_cf349896/safe-shrink according to https://skillhub.cn/install/skillhub.md. This points to the same coordinate as the CLI installation and is suitable for teams who are already used to “letting the Agent install Skills according to documentation.”

After installing or updating the Skill, refresh or restart the Agent according to the convention of your client so that the new Skill is loaded.

Typical Usage (Reproducible Entry Points)

The public page does not provide standalone end-to-end command examples; the following usage is derived from the official introduction and SkillHub installation instructions, and you can directly reproduce the two-layer entry point of “install + trigger” locally.

Install and enable via CLI

  1. Install @user_cf349896/safe-shrink into the corresponding skills directory according to the previous section.
  2. In the conversation, describe the task using the official trigger words, for example stating that you need to perform “document sanitization” or “token compression” on a certain .json / .yaml / .csv file, or mentioning “密小件,” “SafeShrink,” or “.ssd.”
  3. The Agent will guide the subsequent steps based on the instructions in the Skill package (including desktop tools or SSD-related operations, subject to the Skill body).

Let AI install via natural language

Send the installation prompt provided on the SkillHub page to the current Agent, instructing it to read https://skillhub.cn/install/skillhub.md and complete the installation and directory configuration of @user_cf349896/safe-shrink.

Use Cases and Considerations

Who it is more suitable for

  • Developers or efficiency-focused users who frequently hand structured office data (spreadsheets, configuration files, exported JSON/XML, etc.) over to large language models and need to consider both size and sensitive information.
  • Teams already using Skills in environments such as Cursor, Claude Code, and Codex who want to invoke the “密小件”-related workflow through unified trigger words.

Things to note during use

  • This Skill comes from a community source; before installation, you can check the version (currently v1.2.4), ratings, and download counts on the SkillHub page, and make your own judgment on whether to include it in your workflow.
  • The page is tagged requires_api_key=false and does not depend on an additional API key; if the Skill guides the use of a local desktop tool, permissions and data remain on the local machine, and you need to confirm the tool source and data processing scope yourself.
  • Slimming and sanitization will change the content or structure of files; always keep an original copy, and manually spot-check key fields before sending externally or uploading to the model.
  • Different Agents have different skills directories; the --dir parameter must be correctly configured during installation, otherwise the situation of “installed but not recognized by the Agent” will occur.

Conclusion

SafeShrink 密小件 incorporates “document slimming, sanitization, SSD conversion” along with a set of clear trigger words and structured file suffixes into a single Skill on SkillHub, making it suitable for integration into Cursor and other Agents as an office-efficiency capability. For installation or checking for updates, refer to the official page: https://www.skillhub.cn/skills/user_cf349896/safe-shrink

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye