一键导入
skill-creator
Skill authoring and optimization skill; use when creating, improving, testing, or packaging skills for DSH agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Skill authoring and optimization skill; use when creating, improving, testing, or packaging skills for DSH agents.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Algorithm design and analysis skill for DSH; use when working on optimization, data structures, or computational procedures.
Cognitive systems skill for reasoning, memory, and agent behavior; use when designing agent workflows or mental-model tooling.
High-performance numerical and quantum compute skill for scientific workloads; use when working on numeric algorithms, simulation, or acceleration.
Fractal geometry and self-similarity skill; use when working on recursive geometric or visual systems.
Frequency-domain and signal-processing skill; use when working on Fourier, spectral, or resonance analysis.
Financial advisor for GreenEnergyFL — tracks job finances, bills, vendor payments, cash flow, and overdue invoices. Use this skill whenever the user asks about money, payments, invoices, bills, job costs, what's owed, what's coming in, cash flow, overdue accounts, financial summaries, or anything related to GreenEnergyFL's finances. Trigger even if the user just says "check the bills", "what do we owe", "who hasn't paid", "how are we doing financially", or "show me the jobs".
| name | skill-creator |
| description | Skill authoring and optimization skill; use when creating, improving, testing, or packaging skills for DSH agents. |
A skill for creating new skills and iteratively improving them.
At a high level, the process of creating a skill goes like this:
eval-viewer/generate_review.py script to show the user the results for them to look at, and also let them look at the quantitative metricsYour job when using this skill is to figure out where the user is in this process and then jump in and help them progress through these stages.
Pay attention to context cues to understand how to phrase your communication. In the default case:
Proactively ask questions about edge cases, input/output formats, example files, success criteria, and dependencies. Wait to write test prompts until you've got this part ironed out.
Check available MCPs - if useful for research, research in parallel via subagents if available, otherwise inline.
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter (name, description required)
│ └── Markdown instructions
└── Bundled Resources (optional)
├── scripts/ - Executable code for deterministic/repetitive tasks
├── references/ - Docs loaded into context as needed
└── assets/ - Files used in output (templates, icons, fonts)
Keep SKILL.md under 500 lines. Reference files clearly from SKILL.md with guidance on when to read them.
Prefer imperative form. Explain the why behind instructions — don't just use MUST/NEVER. Use theory of mind and make skills general, not narrow to specific examples.
After writing the skill draft, come up with 2-3 realistic test prompts. Save to evals/evals.json:
{
"skill_name": "example-skill",
"evals": [
{
"id": 1,
"prompt": "User's task prompt",
"expected_output": "Description of expected result",
"files": []
}
]
}
For each test case, spawn two subagents in the same turn — one with the skill, one without. Don't spawn with-skill runs first and come back for baselines later.
Put results in <skill-name>-workspace/ as a sibling to the skill directory. Organize by iteration (iteration-1/, iteration-2/, etc.) and within that, each test case gets a directory.
Draft quantitative assertions for each test case and explain them to the user. Good assertions are objectively verifiable and have descriptive names.
Update eval_metadata.json files and evals/evals.json with assertions once drafted.
Save to timing.json in each run directory:
{
"total_tokens": 84852,
"duration_ms": 23332,
"total_duration_seconds": 23.3
}
agents/grader.md. Save results to grading.json. Use fields text, passed, and evidence.python -m scripts.aggregate_benchmark <workspace>/iteration-N --skill-name <name>
agents/analyzer.md for what to look for.nohup python <skill-creator-path>/eval-viewer/generate_review.py \
<workspace>/iteration-N \
--skill-name "my-skill" \
--benchmark <workspace>/iteration-N/benchmark.json \
> /dev/null 2>&1 &
VIEWER_PID=$!
In headless environments, use --static <output_path> instead.ALWAYS generate the eval viewer BEFORE evaluating inputs yourself. Get results in front of the human ASAP.
When the user is done, read feedback.json. Empty feedback means the user thought it was fine. Kill the viewer server when done:
kill $VIEWER_PID 2>/dev/null
scripts/.iteration-<N+1>/--previous-workspace pointing at the previous iterationKeep going until the user is happy, feedback is all empty, or you're not making meaningful progress.
For rigorous comparison between two versions, read agents/comparator.md and agents/analyzer.md. Give two outputs to an independent agent without telling it which is which, and let it judge quality.
Create 20 eval queries — a mix of should-trigger and should-not-trigger. Queries must be realistic, concrete, and specific. Focus on edge cases and near-misses for the negative cases.
assets/eval_review.html__EVAL_DATA_PLACEHOLDER__, __SKILL_NAME_PLACEHOLDER__, __SKILL_DESCRIPTION_PLACEHOLDER__/tmp/eval_review_<skill-name>.html and open it~/Downloads/eval_set.jsonpython -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
Splits eval set 60/40 train/test. Iterates up to 5 times. Returns best_description selected by test score.
Update the skill's SKILL.md frontmatter with best_description. Show before/after and report scores.
python -m scripts.package_skill <path/to/skill-folder>
claude -p CLI)--static <output_path> for eval viewerfeedback.jsonname field)/tmp/skill-name/)agents/grader.md — evaluate assertions against outputsagents/comparator.md — blind A/B comparisonagents/analyzer.md — analyze why one version beat anotherreferences/schemas.md — JSON structures for evals.json, grading.json, etc.