Preface¶
Installing a Skill from the community often involves merely reading the SKILL.md and directory structure first. It is difficult to determine within a few minutes whether there are risks of prompt injection, data exfiltration channels, or supply chain vulnerabilities. Manually reviewing scripts, cross-referencing CVEs, and memorizing red lines is costly and prone to oversight.
The following introduces Zhongkui.skill on SkillHub (installation ID @indiv-ebandao/zhongkui-skill). It embeds the audit process into a universal SKILL.md, employing a three-layer approach (Static Audit, Behavioral Simulation, Supply Chain Tracing) to cover 12 risk categories, and outputs a structured verdict with a total score. The API path provided in the task clues is user_741dc82b/private-equity, and the name is written as “股权投资.SKILL” (Equity Investment.SKILL). On the SkillHub verification page, the same publisher displays the name user_741dc82b, and the currently installable entry is “Zhongkui.skill”. The content below is based on the official page and the SKILL.md within the package.
What is this¶
Zhongkui.Skill is a security review skill designed for Agent Skills: it maintains an updatable pattern library (patterns.json), performs a manifest-based audit on the target Skill directory, scores according to rules, and provides a “Clean / Suspicious / Malicious” verdict.
- Publisher: The author listed in the SKILL.md metadata is “智慧半岛” (Wisdom Peninsula); the SkillHub page displays the namespace as
@indiv-ebandao/zhongkui-skill, and the publisher handle isindiv-ebandao. - Category: In the SkillHub page JSON, the
categoryisit-ops-security(IT Operations Security). - Version: The SkillHub detail page marks it as v1.0.13 (The frontmatter inside the package downloaded via
api.skillhub.cnwas previously1.0.12; refer to the version on the page/inside the package at the time of your installation). - Problem Solved: When users say “Review this Skill,” “Security check,” “Run Zhongkui on it,” “Audit it,” “Check this skill,” or during pre-installation evaluation, or when needing to audit suspicious payloads in SKILL.md, it executes a review following fixed instructions and report templates, reducing chatty, informal conclusions.
Official introduction page (for verifying the brief and installation tips):
https://www.skillhub.cn/skills/indiv-ebandao/zhongkui-skill
The API address provided in the task https://api.skillhub.cn/user_741dc82b/private-equity returns HTTP 405 with no body for GET requests, so details cannot be read directly from that URL; installation and instructions should be based on the SkillHub page and skillhub.cn/install/skillhub.md.
Core Functions¶
The following capabilities are derived from the SkillHub page introduction and the SKILL.md inside the zhongkui-skill package downloaded from api.skillhub.cn (consistent with the page description).
Three-Layer Audit Architecture¶
- Layer 1 Static Manifest Audit: Follows the 54 checks in
references/static-audit.mdto inspect SKILL.md, scripts, dependencies, and permission declarations; hit items result in deductions and are marked with risk types R1–R12 and line numbers. When R1/R3/R5/R8/R11/R12 are detected, the document mandates proceeding to Layer 2. - Layer 2 Behavioral Emulation Assessment: Conducts ToolEmu paradigm reasoning based on scenarios in
references/behavioral-emulation.md. The SKILL.md inside the package marks this as “Planned, Not Implemented.” - Layer 3 Supply Chain Tracing: Performs multi-dimensional tracing according to
references/supply-chain.md. The SKILL.md inside the package also marks this as “Planned, Not Implemented.”
Therefore, the main currently reliable capabilities are Layer 1 Static Audit and the accompanying scoring, red lines, and vulnerability library updates. Commands like “audit behavior” or “audit dependencies” can still be initiated in conversation, but the full automation capabilities of Layer 2/3 are subject to the implementation status documented.
12 Risk Categories and Verdicts¶
Risk numbers R1–R12 cover prompt injection, malicious execution, credential theft, dependency poisoning, data exfiltration, privilege escalation, persistence backdoors, covert instructions, privacy & compliance, external information source poisoning, agent behavior-level vulnerabilities, etc. (see the “Risk Quick Reference” table in the package for details).
The verdict logic is consistent with the page introduction, outputting a structured conclusion (the document uses tiers such as Clean / Suspicious Grading / Malicious, corresponding to the three-tier semantics in the brief):
| Verdict | Condition (Scoring explanation in package) | Handling Suggestion |
|---|---|---|
| Clean | Total Score ≥ 85 | Safe to install |
| Suspicious (Low) | 70–84 | Attach main risk points for judgment |
| Suspicious (High) | 60–69 | Recommend rejection with report |
| Malicious | < 60 | Installation prohibited |
If any “One-Vote Veto” item or “Immediate Rejection Red Line” is hit, the document mandates a direct verdict of Malicious, bypassing the total score calculation.
Vulnerability Library Updates¶
patterns.json is divided into a manual base library and an auto incremental library. You can use zhongkui.py to pull candidate signatures from NVD API, Seebug RSS, etc., and inject them into the incremental library after previewing; --update does not modify manual entries and backs up to patterns.json.bak before injection. The package states the base library contains 137 manual signatures.
Quick Commands and Scripts¶
Example commands for conversational use (from SKILL.md in package):
| Command | Function |
|---|---|
Audit <skill_path> |
Full three-layer audit process (see implementation status for Layer 2/3 above) |
Quick Audit <skill_path> |
Layer 1 only, second-level speed |
Audit Dependencies <skill_path> |
Supply chain tracing only |
Audit Behavior <skill_path> |
Behavioral simulation only |
For use outside of conversation:
python zhongkui.py <absolute_path_to_target_Skill> --quick
python zhongkui.py <absolute_path_to_target_Skill> --update --apply
python zhongkui.py --update --dry-run
Installation and Activation¶
The installation prompt provided on the SkillHub page is as follows (allow the Agent to read the installation instructions and then install the specified ID):
Please install `@indiv-ebandao/zhongkui-skill` based on https://skillhub.cn/install/skillhub.md.
If the skillhub CLI is already installed on your machine, follow skillhub.cn/install/skillhub.md: when installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized. Common paths listed in the document include:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Example:
command -v skillhub && skillhub --version
skillhub install @indiv-ebandao/zhongkui-skill --dir ~/.cursor/skills/
If the CLI is not installed, the installation script is available at the official skillhub.cn/install/skillhub.md (curl -fsSL to fetch install.sh). The difference between Cursor / Codex / Claude Code lies only in the skills directory path; the package name in the install command is identical.
The SkillHub page also provides direct download links (Example: api.skillhub.cn/api/v1/download?slug=zhongkui-skill&namespace=indiv-ebandao, which may 302 to object storage depending on the version). After unzipping, simply place the directory into the skills path mentioned above.
Typical Usage¶
1. Before installing a community Skill¶
Point to the directory to be audited in the conversation, e.g.:
Audit /path/to/community-skill
The Agent should generate a report following the “Output Format (Mandatory)” in the package, including total score, one-sentence conclusion, deduction items table, and high-risk item PASS summary.
2. Batch preliminary screening for multiple Skills in a repo¶
Perform only Layer 1 for each directory:
Quick Audit /path/to/skill-a
Quick Audit /path/to/skill-b
3. CI or local script quick audit¶
python zhongkui.py /absolute/path/to/skill --quick
The path must be an absolute path; relative paths are unreliable in script mode (see “Path Hints” in the package).
4. Update pattern library before auditing¶
python zhongkui.py /absolute/path/to/skill --update --apply
Use --dry-run or interactive --update to preview increments first, then decide whether to inject.
Applicable Scenarios and Notes¶
Who it is for
- Developers and operators who frequently install Skills from SkillHub, Git, or colleagues and need consistent pre-installation checks.
- Teams writing their own Skills who want to self-audit against a 54-item checklist and 17 “Immediate Rejection Red Lines” before publishing.
Limitations and Pitfalls
- Layer 2 / Layer 3: The documentation explicitly states that full automation is not yet implemented; do not assume “all three layers have been run.”
- Capability Boundaries: The package explains that the behavior layer is static reasoning rather than a real sandbox; there are blind spots for obfuscated payloads, zero-days, and cross-Skill combined attacks. Audit results are not a security guarantee.
- Structural Assumptions: Defaults to standard directories (SKILL.md, scripts, references); coverage decreases for non-standard layouts.
- Statistical Data: Data embedded in the SkillHub page previously showed downloads: 319628 and stars: 15 (subject to change over time); the “rating 99167” and “downloads 456” in the task clues were not found in the opened page JSON, so they are not adopted in the text.
- Official API Path:
https://api.skillhub.cn/user_741dc82b/private-equitycannot provide descriptions via GET. For troubleshooting or tracing, please use the SkillHub skill detail page and the@indiv-ebandao/zhongkui-skillidentifier.
Conclusion¶
Zhongkui.Skill consolidates Agent Skill security reviews into reproducible commands, checklists, and report templates, supporting pattern library updates and zhongkui.py script integration into pipelines. Its current implementation value focuses mainly on Layer 1 static auditing and red line/scoring verdicts; running an “Audit” or “Quick Audit” before installing a Skill saves more time than manually flipping through files, though human review is still required based on the specific scenario.
- SkillHub details and installation tips: https://www.skillhub.cn/skills/indiv-ebandao/zhongkui-skill
- SkillHub installation instructions: https://skillhub.cn/install/skillhub.md
- API entry provided in the task: https://api.skillhub.cn/user_741dc82b/private-equity