Preface¶
In environments like Cursor and Claude Code, Skills are often triggered and executed via the frontmatter and body of SKILL.md. Hand-writing a version that works does not mean it will be stably selected in real conversations or produce outputs that meet expectations. A common practice is to tweak the prompt a few times and ship, without a reproducible test set, baseline comparisons, or quantitative metrics. It is even harder to verify whether the description “triggers when it should.”
The ac described below (SkillHub coordinate @user_1a94ec14/ac, v1.0.0) is a community Skill based on the general SKILL.md format, categorized under ai-agent. It turns “draft → run cases → human review → revise → re-test” into a closed loop, and ships benchmark aggregation, a review page, and a description optimization script. It is suitable for developers who need to polish Skills in a systematic way.
What This Is¶
The SkillHub introduction and the package documentation for ac are consistent: it is used to create Skills from scratch, modify and improve existing Skills, and measure Skill performance. Typical trigger scenarios include: creating a new Skill, editing or optimizing an existing Skill, running evals to validate, performing benchmarks with variance analysis, or optimizing the description to improve trigger accuracy.
- Maintainer: Community publisher
user_1a94ec14, marked as community source. - Format: Standard Skill directory structure, with
SKILL.mdas the entry point (thenamefield in the package frontmatter isskill-creator, coexisting with the store display name ac; the authoritative reference is the install path@user_1a94ec14/ac). - Dependencies: SkillHub tag
requires_api_key=false; some advanced capabilities (e.g., the description optimization loop) rely on the localclaudeCLI (claude -p). In environments without sub-agents, the corresponding steps are skipped as documented.
Core Functions¶
The following capabilities are summarized from the workflow as documented in the installed v1.0.0 package’s SKILL.md and the accompanying scripts.
Create and Author a Skill¶
- Intent capture: Clarify what the Skill should do, when it should trigger, what its output form should be, and whether objectively verifiable test cases can be established.
- Write
SKILL.md: Required YAML frontmatter (name,description); the body describes the execution steps; optionalscripts/,references/,assets/for progressive loading. - Test cases: Write 2–3 realistic user-style prompts into
evals/evals.jsonunder the Skill directory (fields are defined inreferences/schemas.md).
Evaluation and Benchmarks (for environments with sub-agents)¶
- Create
<skill-name>-workspace/at the same level as the Skill directory, and organize results asiteration-N/eval-<id>/. - For each case, launch both “with Skill” and “baseline” runs in the same round (when creating a new Skill, the baseline is “no Skill”; when improving an existing Skill, you can compare against a snapshot of the old version).
- During the runs, write assertions for each case and record them in
eval_metadata.jsonandevals/evals.json; capturetiming.jsonfrom task notifications (tokens, latency). - Use
agents/grader.mdto score, and perform aggregation:
python -m scripts.aggregate_benchmark <workspace>/iteration-N --skill-name <name>
- Use
eval-viewer/generate_review.pyto open a two-pane review page with Outputs and Benchmark; after the user submits, readfeedback.jsonto drive the next round of revisions.
Description Optimization¶
Targeting the description in the frontmatter (the main trigger channel):
- Prepare around 20 real queries in JSON, covering “should trigger / should not trigger.”
- Use the
assets/eval_review.htmltemplate to revise the eval set together with the user. - Run the optimization loop in the background (example):
python -m scripts.run_loop \
--eval-set <path-to-trigger-eval.json> \
--skill-path <path-to-skill> \
--model <model-id-powering-this-session> \
--max-iterations 5 \
--verbose
The script splits the eval set into training/test sets, samples trigger rates over multiple runs, and outputs a report containing best_description.
Packaging and Others¶
python -m scripts.package_skill <path/to/skill-folder>: Generate a.skillpackage (if the environment provides capabilities such aspresent_files, the documentation will guide the delivery path).- Optional blind comparison: see
agents/comparator.mdandagents/analyzer.md. - Claude.ai / Cowork: The documentation includes separate adaptation notes (e.g., if there are no sub-agents, perform serial self-testing; if there is no display, use
generate_review.py --static).
Installation and Activation¶
The installation guide on the SkillHub page is: follow the SkillHub installation documentation, and install the coordinate @user_1a94ec14/ac.
1. Install the SkillHub CLI (if not yet installed)¶
command -v skillhub && skillhub --version
If not installed, run:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install into the current Agent’s skills directory¶
When installing, use --dir to point to the skills directory recognized by the current Agent; otherwise, the default ./skills/ may not be loaded.
skillhub install @user_1a94ec14/ac --dir <your skills directory>
Common paths (from the SkillHub installation documentation):
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
After installation, restart or refresh the Skill list according to the rules of your client. This Skill does not require an API key (requires_api_key=false).
Note: Ratings and download counts shown on the store page and in fetched materials may change over time. At the time of writing, the SkillHub page shows a rating of 100000 and 742 downloads; if it differs from other clues, take the SkillHub page as the source of truth.
Typical Usage¶
Build a Skill from Scratch¶
- In the conversation, describe the target capability, and after loading ac, have the Agent follow “Capture Intent → Write
SKILL.md→ Writeevals/evals.json.” - Run iteration-1 under the workspace, with parallel with_skill / without_skill (or a snapshot of the old version).
- Aggregate the benchmark and generate the review page:
nohup python <ac-install-path>/eval-viewer/generate_review.py \
<workspace>/iteration-1 \
--skill-name "my-skill" \
--benchmark <workspace>/iteration-1/benchmark.json \
> /dev/null 2>&1 &
- Revise the Skill according to
feedback.json, and repeat iterations; after satisfaction, consider usingrun_loopto optimize the description.
Optimize Only the Trigger Text of an Existing Skill¶
- Finalize the trigger eval JSON together with the user (including edge-case “near-miss” negatives).
- Run
scripts.run_loopagainst the existing Skill directory, and write the returnedbest_descriptionback into theSKILL.mdfrontmatter.
Minimal Example of evals.json¶
{
"skill_name": "example-skill",
"evals": [
{
"id": 1,
"prompt": "User's task prompt",
"expected_output": "Description of expected result",
"files": []
}
]
}
For the full fields and the structure of grading.json and benchmark.json, see references/schemas.md in the package.
Use Cases and Notes¶
Who It Is For
- Developers who need to maintain multiple Agent Skills for a team or for themselves, and want a unified process for regression and version comparisons.
- Those who have encountered “the Skill sometimes does not trigger” or “triggers too broadly,” and are willing to use an eval set and
run_loopto tune the description. - Users of Claude Code, Cowork, or similar environments that support sub-agents, so the value of parallel case execution and baseline comparisons can be realized.
Limitations and Cautions
- Core benchmarking depends on sub-agents and (in some steps) the
claudeCLI; in pure Claude.ai documentation, it degrades to self-testing plus qualitative feedback and skips meaningless baseline comparisons. - Without a GUI, use
generate_review.py --static <output_path>; feedback is based on the downloadedfeedback.json. - When improving a Skill, avoid overfitting to a small number of evals; the documentation emphasizes abstracting generalizable rules from feedback and consolidating recurring scripts into
scripts/. - During installation, ensure
--dirpoints to the correct skills directory; the current community package version is 1.0.0, and upgrades should follow SkillHub.
Closing¶
ac elevates Skill engineering from “one-off writing” to a repeatable process of creation, evaluation, human review, and description optimization, and ships aggregation scripts and an HTML review tool. If you maintain SKILL.md on Cursor / Claude Code, you can install @user_1a94ec14/ac from SkillHub, and follow the stages described in the package’s SKILL.md to determine whether you are in drafting, evaluation, or optimization.
- SkillHub page: https://www.skillhub.cn/skills/user_1a94ec14/ac
- API coordinate page: https://api.skillhub.cn/user_1a94ec14/ac
- Installation instructions: https://skillhub.cn/install/skillhub.md