Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ccoalm/ccl-skills --skill skill-extraction-workflowgit clone --depth 1 https://github.com/ccoalm/ccl-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/ccoalm/ccl-skills/skill-extraction-workflow)<a href="https://agentmods.dev/skills/ccoalm/ccl-skills/skill-extraction-workflow"><img src="https://agentmods.dev/badge/skills/ccoalm/ccl-skills/skill-extraction-workflow/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/ccoalm/ccl-skills/skill-extraction-workflow"><img src="https://agentmods.dev/badge/skills/ccoalm/ccl-skills/skill-extraction-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00142 | $0.23786 |
| Opus 5 | $0.00071 | $0.11893 |
| Sonnet 5 | $0.00028 | $0.04757 |
| Haiku 4.5 | $0.00014 | $0.02379 |
Grade A, and why
skill-extraction-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 308 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill Extraction Workflow
Turn observed experience into reusable skills without business-specific details. writing-skills and skill-creator define format and authoring discipline; this skill covers mining, filtering, generalizing, validating and landing. When shared-skill changes are ready, invoke code-review automatically before completion. Apply code-review/references/development-completion.md and this owner's required review/challenge gate.
Start here (30 秒定位)
下面的 Core Rules 很长——不用全读。按这个顺序走:
- 跑流程:
references/extraction-quickstart.md是一页式执行流(charter → source register → 分批 → 每批 draft / sibling-map / sanitize / dual-track / commit → closeout)。任何新提炼先读它。 - 三道必读闸(任何 shared-skill 改动都过):
- R0 泄漏审计零命中 →
references/r0-leakage-audit.md - dual-track 评审 = 独立 review + 对抗 challenge →
references/dual-track-review-gate.md - 生命周期/provenance 隔离(WIP 进 per-host scratch,shared 树只放 label 化规则)→
references/extraction-lifecycle-handoff.md
- R0 泄漏审计零命中 →
- 长尾方法(按场景触发,完整清单见底部
## Reference Loading):UI/UX 判断提炼、incident 复盘、两源(design+code)、parallel-stack、归因核验、example-domain 预选 等。
下面 ## Core Rules 是按主题分组的红线/不变式定义;## Extraction Workflow 是 Step 0–6 的有序执行流程。两者各持一面、互相指引、不深抄对方:某步骤引用拥有该闸的 Core Rule、只写顺序 + 步骤特有的执行细节,不复述该规则的原则;某 Core Rule 不内嵌步骤的模板/清单,只给红线 + 指针。同一 facet 同时写进两边 = drift 缺陷(改一处忘另一处即矛盾);冲突时以 ## Core Rules 的定义为准,新增时向它收敛。向 canonical 面收敛时若需改写/删除既有规则文本,按 references/rule-consolidation.md 的零损失义务表治理。
Core Rules
Sanitization, provenance & naming(脱敏 / provenance / 命名)
- R0 (mandatory clean-landing gate): Before marking any skill or reference change
R0-clean,landing-clean, merge-ready, or cleanly landed, run the leakage audit (audit_cmdfrom the maintainer's private alias YAML) and require zero hits across all leakage categories — design-source file keys/URLs/node-ids, project/team identifiers, real subproject paths / repo / branch names, contributor names/emails, ticket ids, internal domains/hosts, and any non-distilled business/product noun pointing to one specific organization.- Probe, don't infer: a local environment without
ALIAS_AUDIT_CMDis normal, but you must observe that — before recordinginterim/r0_status, runcheck-ccl-skills.shand cite the actualr0_status=/ final-token line it produced; never infer the branch from "unset is common" or a bareprintenv ALIAS_AUDIT_CMDpre-check. Skipping straight to the interim fallback is a blocked-verification miss (a set var means the private audit is configured; it is available only once it runs clean toalias_audit_ok, and a set-but-broken var is itself a blocked-verification failure to fix or waive, not a fallback licence). - Interim commit semantics: when
ALIAS_AUDIT_CMDis genuinely unset, the contributor may commit, push, or open a Draft/WIP MR only asinterimwithR0 pending maintainer auditrecorded, but must not merge or claim clean landing until R0 passes or an explicit risk-owner waiver is recorded. (Label semantics:interimalone does not decide commit permission — this R0-pendinginterimallows commit/push/Draft-MR but blocks merge/clean-landing, while the review/challenge gate'sinterimis an uncommitted checkpoint that blocks commit itself; each gate's failure carries its own commit permission, and when both fail the stricter applies.) - Edit-time gates that stay inline: every new sanitized label MUST already exist in the alias YAML before clean landing (fail-closed); pre-existing leakage may be
known_debtbut new/modified content MUST stay zero-hit; grep cannot catch source-shaped example identifiers (variable/function/class/file/package names lifted verbatim) so adversarial review (codex challenge or equivalent) is the practical safety net. - False-green guard: the public fallback is public interim evidence only — the private alias audit (
alias_audit_ok) has NOT run when those tokens print, so recordinterim / R0 pendingand never treatccl_skill_check_ok,ccl_skill_check_interim_ok,generic_r0_leak_scan_ok, oralias_audit_unavailableas clean-landing R0 evidence; the clean-landing signal isccl_skill_check_clean_ok(r0_status=private-ok); no project alias is not a waiver (use the generic process-retro profile when no product corpus applies; neither the generic fallback nor an ad-hocgrepis the clean-landing gate). - For category definitions, alias-YAML structure, the false-green guard and fallback/token semantics,
known_debtsemantics, example-identifier substitution, the generic process-retro profile, andALIAS_AUDIT_CMDenforcement, readreferences/r0-leakage-audit.md.
- Probe, don't infer: a local environment without
- Pre-draft example domain selection (preempts retroactive R0 cleanup cycles): R0 catches identifier leakage at audit time; this rule catches scenario-domain leakage at drafting time — scenario shape (entities + verbs + invariants together) reads as source-shaped to adversarial review even when identifiers are sanitized, so apply BOTH axes. Trigger: pre-selection is REQUIRED whenever the changed unit has an example set — ≥2 new/edited examples across the changed files, OR any multi-line / code-fence example (ONE single-line example may use canonical placeholders
Acme*/Foo*/sample*without pre-selection; agents cannot bypass by splitting examples). Record a durable closeout validation row (commit body / source map / per-host scratch, NOT chat-only) naming the selected domains, the rejected source domain abstractly — record THAT a domain was rejected, never WHICH industry — and the changed examples checked. Pre-selection feeds adversarial review, never replaces it — codex/adversarial review stays the R0 safety net. For the worked two-axis example, the neutral-domain selection method (source-artifact-relative, not workspace-wide), the exact row format, and row-accuracy rules, readreferences/example-domain-preselect.md. - Extraction lifecycle handoff: project-specific provenance NEVER enters the shared skill tree — three phases (WIP in per-host scratch → closed-batch provenance in per-host private alias → shared tree carries only label-based capability rules); the shared-repo history (commit messages, branch names, and the entire MR/PR record) is itself shared tree and names only sanitized labels, never real source artifacts — when unsure a surface is shared, sanitize. Existing in-skill registers with real provenance are
known_debtand MUST migrate to the private alias before any new provenance is added. For per-phase content lists, migration workflow, R0 jurisdiction boundary, the shared-history sanitization rule, the generic-methodology (shape-vs-content) carve-out,known_debtgrandfather cleanup, and authoring-from-a-plugin-install, readreferences/extraction-lifecycle-handoff.md. - Name extracted skills and reference files by reusable capability, not by the source artifact, source page, project nickname, migration task, or original UI label. Keep source names only as provenance in source maps or reference metadata.
- Preserve provenance during analysis, but strip provenance from executable guidance unless source identity is needed for auditing.
- For private or domain-sensitive sources, strip identifiable source names from shared skills, shared source registers, and shared source maps. Keep the duplicate-extraction lookup in a local private alias map outside the shared skill tree, mapping original source names to sanitized capability labels.
- Renaming a source-derived skill or reference is not complete until the executable wording is generalized too. Search for old source names, old scenario labels, and old capability labels; update them to the new reusable concept or keep them only in explicit provenance.
- Do not preserve long verbatim source text in skills. Keep structured summaries, short necessary excerpts, and source status instead of copied dumps.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 257 B
- references/analysis-parse-fix-test-challenge-replay.md 1.5 KB
- references/attention-budget-ratchet.md 11 KB
- references/attribution-verification.md 4.4 KB
- references/bootstrap-slim-c3-obligation-table.md 8.0 KB
- references/correction-routing-map.md 3.2 KB
- references/coverage-exhaustion-traps.md 20 KB
- references/description-authoring.md 21 KB
- references/dual-track-review-gate.md 128 KB
- references/eval-routing.md 20 KB
- references/evidence-card-template.md 3.2 KB
- references/example-domain-preselect.md 4.6 KB
- references/external-practice-controls.md 40 KB
- references/extraction-lifecycle-handoff.md 6.6 KB
- references/extraction-quickstart.md 22 KB
- references/firing-point-placement.md 17 KB
- references/harness-patterns-and-eval.md 41 KB
- references/incident-postmortem-extraction.md 29 KB
- references/l0-l1-l2-routing.md 10 KB
- references/online-skill-review.md 6.7 KB
- references/parallel-stack-references-pattern.md 33 KB
- references/r0-leakage-audit.md 20 KB
- references/recurring-anti-patterns-checklist.md 34 KB
- references/resume-paused-delivery.md 2.2 KB
- references/review-feedback-mining.md 5.7 KB
- references/review-finding-standards.md 7.3 KB
- references/review-rubric.md 3.1 KB
- references/rule-consolidation.md 38 KB
- references/skill-listing-budget.md 1.7 KB
- references/source-register.md 824 KB
- references/source-to-skill-extraction.md 109 KB
- references/two-source-extraction-pattern.md 19 KB
- references/uiux-judgment-extraction.md 19 KB
- references/uiux-routing-map.md 5.8 KB
- references/validation-and-landing.md 45 KB
- scripts/AGENTS.md 635 B
- scripts/check-ccl-skills.sh 98 KB runs code
- scripts/check-contract-anchors.sh 5.6 KB runs code
- scripts/check-evidence-card-leak.sh 26 KB runs code
- scripts/check-mr-target-freshness.sh 9.4 KB runs code
- scripts/check-parallel-stack-parity.sh 5.1 KB runs code
- scripts/check-size-budget.sh 36 KB runs code
- scripts/check-sync-pointers.sh 22 KB runs code
- scripts/contract-anchors.tsv 2.9 KB
- scripts/entrypoint_form_census.py 7.1 KB runs code
- scripts/eval-golden-trace.rb 9.5 KB runs code
- scripts/eval-health.rb 15 KB runs code
- scripts/eval-routing-bank.rb 30 KB runs code
- scripts/eval-routing.rb 9.2 KB runs code
- scripts/extraction_review_gate.sh 578 B runs code
- scripts/gate_receipt.py 25 KB runs code
- scripts/generic-r0-leak-scan.sh 12 KB runs code
- scripts/governing-chain-diff.py 13 KB runs code
- scripts/impact-chain-gate.rb 114 KB runs code
- scripts/obligation-ledger.py 106 KB runs code
- scripts/reference-access-census.sh 8.3 KB runs code
- scripts/register-firing-path-resolution.rb 35 KB runs code
- scripts/review_ledger_binding.py 55 KB runs code
- scripts/shared_git_surface_gate.py 38 KB runs code
- scripts/skill-behavior-eval.py 36 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed 0897aac3ad4d
- 4d ago Changed · -27 lines 5d46b33dcc0c
- 5d ago Changed · -3 lines 83c6d8bb60a0
- 9d ago First seen · 338 lines · 142 tokens per session scan A 5fcb4441765f
skill-extraction-workflow is a skill published in the GitHub repository ccoalm/ccl-skills (6 stars, last pushed today), licensed Apache-2.0. It adds 142 tokens to every session and 23,786 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
mle-workflow
Production machine-learning engineering workflow for data contracts, reproducible training, model evaluation, deployment, monitoring, and rollback. Use when building, reviewing, or hardening ML systems beyond one-off notebooks.
autonomous-loops
Patterns and architectures for autonomous Claude Code loops — from simple sequential pipelines to RFC-driven multi-agent DAG systems.
react-patterns
React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.
article-writing
Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.
security-review
Perform a focused security review of pending git changes to identify high-confidence security vulnerabilities with real exploitation potential. Use this skill when the user asks for a security review, security audit, vulnerability scan, or wants to check pending changes on a branch for security issues before merging.…
huggingface-llm-trainer
Train or fine-tune language models with TRL or Unsloth on Hugging Face Jobs, including SFT, DPO, GRPO, reward models, and GGUF conversion. Use for cloud LLM training; use huggingface-vision-trainer for vision tasks.