[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72W8MJ3H4XHAN15JD5HZD6S":3,"skill-same:01M72W8MJ3H4XHAN15JD5HZD6S":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M72W8MJ3H4XHAN15JD5HZD6S","agent-skill-kit-description-optimizer",null,"Optimize a SKILL.md description for trigger quality — generate synthetic positive and negative queries, score the current description by hit-rate vs false-positive, and propose three ranked rewrites. Use when the user asks to auto-tune, improve, or rewrite a skill description, fix a skill that never fires, or measure description quality.","carlosmarte\u002Fagents-skills-kit","carlosmarte","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3478576?v=4","01M6NPRTEXZG86XJXMGQ05A24X","Carlos Marte","01M72W6BWB9SHB9S1SD4BB9E5K",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagent-skill-kit-description-optimizer\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: agent-skill-kit-description-optimizer\ndescription: Optimize a SKILL.md description for trigger quality — generate synthetic positive and negative queries, score the current description by hit-rate vs false-positive, and propose three ranked rewrites. Use when the user asks to auto-tune, improve, or rewrite a skill description, fix a skill that never fires, or measure description quality.\ntier: app\nlicense: Apache-2.0\ncompatibility: requires `skills-ref` CLI\n---\n\n# Agent Skill Description Optimizer\n\nWraps `skills-ref optimize`. Generates trigger queries, scores the current description against the F04 rubric, and proposes three deterministic rewrites. The `--apply N` flag commits the chosen variant back to disk with byte-preservation of every other line.\n\n## When to use\n\n- \"Improve this description\"\n- \"Why doesn't my skill ever fire?\"\n- \"Optimize the SKILL.md descriptions in this tree\"\n- \"Rewrite this description to score higher\"\n- \"Measure description quality before shipping\"\n\n## Where LLM-quality variants come from\n\nThe CLI ships **deterministic** variants only — three template-based transforms, \u003C 200 ms, no network, no API keys, no provider config. This is intentional: when the skill runs inside an AI harness (Claude Code, an SDK agent, etc.), the calling harness *is itself* an LLM with provider credentials already attached. Asking the CLI to hold a separate API key duplicates auth surface for no benefit.\n\nWhen higher-quality rewrites are wanted, the harness does the work:\n\n1. Run `skills-ref optimize \u003Cdir> --baseline-only --format json` to get the current score + breakdown.\n2. The harness reads the SKILL.md and generates its own three improved descriptions, using whatever model\u002Fauth it already has.\n3. The harness writes the chosen description directly into the YAML frontmatter (Edit \u002F Write).\n4. Run `skills-ref validate \u003Cdir>` to confirm the post-edit file passes (the same gate `--apply` uses internally).\n\n`--apply N` remains useful for the deterministic case — it preserves bytes and auto-rolls back on validation failure.\n\n## Invocation\n\n```bash\n# Score the current description only (no rewrites)\nskills-ref optimize \u002Fpath\u002Fto\u002Fskill-dir --baseline-only\n\n# Score + propose three ranked variants (sorted by F04 score desc)\nskills-ref optimize \u002Fpath\u002Fto\u002Fskill-dir\n\n# Apply variant 0 in-place (with re-validation safety + auto-rollback)\nskills-ref optimize \u002Fpath\u002Fto\u002Fskill-dir --apply 0\n\n# Machine-readable output for the CI gate\nskills-ref optimize \u002Fpath\u002Fto\u002Fskill-dir --format json\n```\n\n## Output shape\n\nHuman format reports the baseline and each variant on its own block:\n\n```\n\u002Fabs\u002Fpath\u002FSKILL.md\n  provider: none\n  baseline: score=98\u002F100 hit=6\u002F8 false=1\u002F8\n  variants:\n    [0] score=99\u002F100 hit=5\u002F8 false=1\u002F8\n        rationale: lead-with-verb + append trigger phrase\n        text: \u003Crewritten description>\n```\n\nJSON format is canonical sorted-key output containing `baseline`, `variants`, `queries`, `provider`, `path`. Both runtimes emit byte-identical JSON (parity-tested against the frozen `.agents\u002Fskills\u002Fagent-skill-kit-commons\u002Ffixtures\u002Foptimize\u002Fexpected\u002Flow-score-vague.json` snapshot).\n\n## Two scores per variant\n\n- **`score`** — F04's description-quality score (0–100). The deterministic ranker sorts variants by this.\n- **`hit_rate.score`** — `(positive_hits \u002F positive_total - false_positives \u002F false_total) * 100`, clamped to 0–100. Surfaced for CI gating without re-running F04's scorer.\n\n## Safety contract for `--apply`\n\n- The `description:` line in the YAML frontmatter is replaced; every other line is byte-preserved.\n- A `.bak` file is created before write.\n- After write, the validator runs against the same directory.\n- On validation failure, the backup restores the original and the `.bak` is removed; the CLI exits 1.\n- On success, the `.bak` is deleted; the CLI exits 0.\n\n## Limits\n\n- The deterministic rewriter is intentionally conservative — three template-based transforms, no LLM. For higher-quality variants, see \"Where LLM-quality variants come from\" above; the harness generates them, the CLI does not.\n- The `chars \u002F 4` token estimate from the prompt emitter is not used here; the optimizer's input is bounded by the body excerpt (first 1000 chars) and the query JSON.\n- The trigger-phrase regex re-uses F04's; both share the same edge cases (e.g. \"for \" inside \"helpful for\" matches as a trigger). The lint pipeline is the canonical filter; this skill defers to it.\n\n## Reference\n\nFull specification: see the canonical spec at [..\u002F..\u002F..\u002Fagentskills.io.md](..\u002F..\u002F..\u002Fagentskills.io.md).\n","# Agent Skill Description Optimizer\n\nWraps `skills-ref optimize`. Generates trigger queries, scores the current description against the F04 rubric, and proposes three deterministic rewrites. The `--apply N` flag commits the chosen variant back to disk with byte-preservation of every other line.\n\n## When to use\n\n- \"Improve this description\"\n- \"Why doesn't my skill ever fire?\"\n- \"Optimize the SKILL.md descriptions in this tree\"\n- \"Rewrite this description to score higher\"\n- \"Measure description quality before shipping\"\n\n## Where LLM-quality variants come from\n\nThe CLI ships **deterministic** variants only — three template-based transforms, \u003C 200 ms, no network, no API keys, no provider config. This is intentional: when the skill runs inside an AI harness (Claude Code, an SDK agent, etc.), the calling harness *is itself* an LLM with provider credentials already attached. Asking the CLI to hold a separate API key duplicates auth surface for no benefit.\n\nWhen higher-quality rewrites are wanted, the harness does the work:\n\n1. Run `skills-ref optimize \u003Cdir> --baseline-only --format json` to get the current score + breakdown.\n2. The harness reads the SKILL.md and generates its own three improved descriptions, using whatever model\u002Fauth it already has.\n3. The harness writes the chosen description directly into the YAML frontmatter (Edit \u002F Write).\n4. Run `skills-ref validate \u003Cdir>` to confirm the post-edit file passes (the same gate `--apply` uses internally).\n\n`--apply N` remains useful for the deterministic case — it preserves bytes and auto-rolls back on validation failure.\n\n## Invocation\n\n```bash\n# Score the current description only (no rewrites)\nskills-ref optimize \u002Fpath\u002Fto\u002Fskill-dir --baseline-only\n\n# Score + propose three ranked variants (sorted by F04 score desc)\nskills-ref optimize \u002Fpath\u002Fto\u002Fskill-dir\n\n# Apply variant 0 in-place (with re-validation safety + auto-rollback)\nskills-ref optimize \u002Fpath\u002Fto\u002Fskill-dir --apply 0\n\n# Machine-readable output for the CI gate\nskills-ref optimize \u002Fpath\u002Fto\u002Fskill-dir --format json\n```\n\n## Output shape\n\nHuman format reports the baseline and each variant on its own block:\n\n```\n\u002Fabs\u002Fpath\u002FSKILL.md\n  provider: none\n  baseline: score=98\u002F100 hit=6\u002F8 false=1\u002F8\n  variants:\n    [0] score=99\u002F100 hit=5\u002F8 false=1\u002F8\n        rationale: lead-with-verb + append trigger phrase\n        text: \u003Crewritten description>\n```\n\nJSON format is canonical sorted-key output containing `baseline`, `variants`, `queries`, `provider`, `path`. Both runtimes emit byte-identical JSON (parity-tested against the frozen `.agents\u002Fskills\u002Fagent-skill-kit-commons\u002Ffixtures\u002Foptimize\u002Fexpected\u002Flow-score-vague.json` snapshot).\n\n## Two scores per variant\n\n- **`score`** — F04's description-quality score (0–100). The deterministic ranker sorts variants by this.\n- **`hit_rate.score`** — `(positive_hits \u002F positive_total - false_positives \u002F false_total) * 100`, clamped to 0–100. Surfaced for CI gating without re-running F04's scorer.\n\n## Safety contract for `--apply`\n\n- The `description:` line in the YAML frontmatter is replaced; every other line is byte-preserved.\n- A `.bak` file is created before write.\n- After write, the validator runs against the same directory.\n- On validation failure, the backup restores the original and the `.bak` is removed; the CLI exits 1.\n- On success, the `.bak` is deleted; the CLI exits 0.\n\n## Limits\n\n- The deterministic rewriter is intentionally conservative — three template-based transforms, no LLM. For higher-quality variants, see \"Where LLM-quality variants come from\" above; the harness generates them, the CLI does not.\n- The `chars \u002F 4` token estimate from the prompt emitter is not used here; the optimizer's input is bounded by the body excerpt (first 1000 chars) and the query JSON.\n- The trigger-phrase regex re-uses F04's; both share the same edge cases (e.g. \"for \" inside \"helpful for\" matches as a trigger). The lint pipeline is the canonical filter; this skill defers to it.\n\n## Reference\n\nFull specification: see the canonical spec at [..\u002F..\u002F..\u002Fagentskills.io.md](..\u002F..\u002F..\u002Fagentskills.io.md).\n",{"name":5,"tier":24,"license":15,"description":7,"compatibility":25},"app","requires `skills-ref` CLI","main","815d9d50b979a3b49a7dd7adf0135309d598d4a1",".agents\u002Fskills\u002Fagent-skill-kit-description-optimizer",0,"https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit","https:\u002F\u002Fgithub.com\u002Fcarlosmarte","http:\u002F\u002Fcarlosmarte.me\u002F","2026-05-28 01:01:48",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add carlosmarte\u002Fagents-skills-kit --skill agent-skill-kit-description-optimizer",{"tool":40,"command":41},"bunx","bunx skills add carlosmarte\u002Fagents-skills-kit --skill agent-skill-kit-description-optimizer",{"tool":43,"command":44},"pnpm","pnpm dlx skills add carlosmarte\u002Fagents-skills-kit --skill agent-skill-kit-description-optimizer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagent-skill-kit-description-optimizer\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M72W92FK3NZTZRV1T850CDPM","agent-skill-kit-validator","Validate one or many SKILL.md files against the agentskills.io specification — frontmatter, naming, body, optional-directory, and reference checks. Use when the user asks to validate a skill, audit skills, check SKILL.md, or run skills-ref against an existing skill or directory tree.","https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagent-skill-kit-validator\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M72W8ZBR1206E4B3QBWZB954","agent-skill-kit-security-auditor","Audit a skills tree for the four canonical security findings — unauthorized frontmatter fields, command-injection patterns in scripts, unvetted cross-repo dependency origins, and host-path leaks in body or scripts. Use when the user asks to audit, scan, security-check, or harden a skill or skills directory.","https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagent-skill-kit-security-auditor\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M72W8VVCBKS5RPT5V00WE4E6","agent-skill-kit-prompt-emitter","Emit progressive-disclosure artifacts from a skills tree — an `\u003Cavailable_skills>` XML block for stage-1 agent startup, or canonical JSON of frontmatter properties for CI consumption. Use when the user asks to export skill metadata, build a prompt block, generate JSON for CI, or wire skills into an agent host.","https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagent-skill-kit-prompt-emitter\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M72W8S0Q30HRFBP79W7QV0EX","agent-skill-kit-discoverability-linter","Score a SKILL.md description 0-100 for trigger quality, flag vague language, warn on vendor-specific frontmatter, and verify relative file references resolve. Use when the user asks to lint a skill, improve discoverability, score a description, or check why an agent never fires their skill.","https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagent-skill-kit-discoverability-linter\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M72W8HHEQ8XSD1TEFVAY2Y9D","agent-skill-kit-dependency-resolver","Resolve and topologically sort skill dependencies, enforce the spec §3.3 inversion rule (project→app→team→org), warn on unpinned versions, and fail-closed on incompatible range conflicts. Use when the user asks to check skill dependencies, sort skills by build order, detect cycles, or audit skill version pinning.","https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagent-skill-kit-dependency-resolver\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":88,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M72W8DNP8QGT9TRHEKJ3W9HF","agent-skill-kit-creator","Scaffold and validate agent skills against SKILL_SPEC.md (frontmatter, naming rules, structure). Use when the user asks to create a new agent skill, generate a SKILL.md file, scaffold a skill directory, or validate existing skills. Tier\u002Fscope (company, enterprise, org, team, project, application) is optional and off by default — engaged only when the user opts in with --tiers \u002F --agents-skills-kit-tiers.","MIT","https:\u002F\u002Fgithub.com\u002Fcarlosmarte\u002Fagents-skills-kit\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fagent-skill-kit-creator\u002FSKILL.md",[],[]]