[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6GK80PDM31Q2W22TSPMTQVY":3,"skill-same:01M6GK80PDM31Q2W22TSPMTQVY":77},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":6,"ownerHtmlUrl":61,"ownerBlogUrl":62,"ownerDescription":6,"updatedAt":63,"install":64,"resources":76},"01M6GK80PDM31Q2W22TSPMTQVY","skillify",null,"The meta skill. Turn any raw feature into a properly-skilled, tested,\nresolvable unit of agent capability. Cross-modal eval is the recommended\nPhase 3 quality gate: 3 frontier models from different providers critique\nthe output, you iterate to quality, THEN write tests that lock in the\nproven-good behavior.","weisberg\u002Fagile_agentic_analytics","weisberg","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F5054710?v=4","01M6GK0MXK350SV8PMZ0D040SB","Brian Weisberg","01M6GK0N2F8X600FCTKCB3X2ZF",1,"MIT","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Fknowledge-base\u002Fskills\u002Fskillify\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"edit","true","you","make","unit","add","false","feature","evals","good","write tests","write","read","eval","Bash","critique","Providers","Meta","quality gate","2026-11-10 10:12:30",false,"---\nname: skillify\nversion: 1.1.0\ndescription: |\n  The meta skill. Turn any raw feature into a properly-skilled, tested,\n  resolvable unit of agent capability. Cross-modal eval is the recommended\n  Phase 3 quality gate: 3 frontier models from different providers critique\n  the output, you iterate to quality, THEN write tests that lock in the\n  proven-good behavior.\ntriggers:\n  - \"skillify this\"\n  - \"skillify\"\n  - \"is this a skill?\"\n  - \"make this proper\"\n  - \"add tests and evals for this\"\n  - \"check skill completeness\"\nallowed-tools:\n  - Read\n  - Write\n  - Edit\n  - Bash\nmutating: true\n\ndisable-model-invocation: false\n---\n\n# Skillify - The Meta Skill\n\n> **Relationship to `\u002Fcross-modal-review`:** That skill is the manual mid-flow\n> \"second opinion\" gate: one model reviews work product before commit. This\n> skill's Phase 3 below uses `gbrain eval cross-modal` when that eval gateway is\n> available instead: three different-provider frontier models score and iterate\n> on a documented dimension list before tests cement behavior. Use\n> `\u002Fcross-modal-review` for ad-hoc second opinions; use Phase 3 here when\n> skillifying a feature.\n\n## Contract\n\nA feature is \"properly skilled\" when all 11 checklist items pass. Item 3\n(cross-modal eval) is informational in v1.1.0. It does not gate the\nskillpack-check audit, but a missing or stale receipt is surfaced so the user\nknows where the gate stands.\n\nIf the `gbrain` eval or skillify CLI is not installed in the current\nenvironment, do not invent receipts. Record the missing command as an explicit\nwaiver or known gap, then use the closest repo-native validation available\n(`claude plugin validate`, tests, resolver checks, and\n`\"${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fvaultli\" --json validate` for file-based KB\nartifacts).\n\n## The Checklist\n\n```text\n[ ] 1.  SKILL.md           - skill file with frontmatter + contract + phases\n[ ] 2.  Code               - deterministic script if applicable\n[ ] 3.  Cross-modal eval   - 3 frontier models from 3 providers; informational\n[ ] 4.  Unit tests         - cover every branch of deterministic logic\n[ ] 5.  Integration tests  - exercise live endpoints\n[ ] 6.  LLM evals          - quality\u002Fcorrectness cases for LLM-involving steps\n[ ] 7.  Resolver trigger   - entry in skills\u002FRESOLVER.md with real user trigger phrases\n[ ] 8.  Resolver eval      - test that triggers route to this skill\n[ ] 9.  Check-resolvable   - DRY + MECE audit, no orphans\n[ ] 10. E2E test           - smoke test: trigger -> side effect\n[ ] 11. KB filing          - if it writes pages, entry in the KB resolver or filing rules\n```\n\n## Phase 0: Should This Be a Skill?\n\nBefore skillifying, check:\n\n- Will this be invoked 2+ times? One-off work is not a skill.\n- Is there more than 20 lines of logic? Trivial helpers do not need full infrastructure.\n- Does it have a clear trigger phrase a user would actually say?\n\nIf no to all three, it is a script, not a skill. Move on.\n\n## Phase 1: Audit\n\n```text\nFeature: [name]\nCode: [path]\nMissing items: [check each of the 11]\n```\n\n## Phase 2: Write SKILL.md + Code (items 1-2)\n\n### SKILL.md frontmatter template\n\n```yaml\n---\nname: my-skill\nversion: 1.0.0\ndescription: |\n  One paragraph. What it does, when to use it.\ntriggers:\n  - \"trigger phrase users actually say\"\n  - \"another real trigger\"\nallowed-tools:\n  - Read\n  - Write\n  - Edit\n  - Bash\nmutating: false  # true if it writes to the KB or disk\n---\n```\n\nBody must include:\n\n- **Contract** - what it guarantees\n- **Phases** - step-by-step workflow\n- **Output Format** - what it produces\n\nExtract deterministic code into `scripts\u002F` when applicable.\n\n## Phase 3: Cross-Modal Eval (item 3) - The Quality Gate\n\n### Why this comes before tests\n\nTests lock in behavior. If the behavior is mediocre, tests lock in mediocrity.\nCross-modal eval proves the quality bar first, then tests cement it.\n\n### Step 1: Pick a representative input\n\nChoose the input that exercises the skill's hardest documented use case. If\nunsure, use the primary trigger example from `SKILL.md`, or the most complex\nreal-world input from the last 7 days of memory or KB files.\n\n### Step 2: Run the skill, capture output\n\nRun the skill on the representative input. The output file is what gets\nevaluated.\n\n### Step 3: Run the eval gate\n\nWhen the `gbrain` eval gateway is available:\n\n```bash\ngbrain eval cross-modal \\\n  --task \"What this skill is supposed to accomplish\" \\\n  --output skills\u002F\u003Cslug>\u002FSKILL.md\n```\n\nThe command runs 3 frontier models from 3 different providers in parallel,\nscores the output against the task on 5 documented dimensions, and writes a\nreceipt under `~\u002F.gbrain\u002F.gbrain\u002Feval-receipts\u002F\u003Cslug>-\u003Csha8>.json`. The sha-8\nbinds the receipt to the current `SKILL.md` content, so rerunning after edits\nwrites a new receipt.\n\n**Default models** (override per slot via `--slot-a-model`, `--slot-b-model`,\n`--slot-c-model`):\n\n| Slot | Default | Provider |\n|------|---------|----------|\n| A | `openai:gpt-4o` | OpenAI |\n| B | `anthropic:claude-opus-4-7` | Anthropic |\n| C | `google:gemini-1.5-pro` | Google |\n\nThese MUST be frontier models from different providers. Using a single\nprovider's family or budget models defeats the purpose because different\nfamilies have less correlated blind spots. Refresh the list when a new model\ngeneration ships.\n\n**Pass criteria (both must be true):**\n\n1. Every dimension's mean across successful models is at least 7.\n2. No single model scored any dimension below 5.\n\n**Inconclusive:** fewer than 2 of 3 models returned parseable scores. A receipt\nis still written for forensics, but the gate is not authoritative. Exit code 2;\nCI wrappers should treat this as \"did not run cleanly\", not \"failed quality\ngate\".\n\n### Step 4: Cycle until you pass (up to 3 cycles)\n\n```text\nCYCLE 1:\n  Eval -> scores + top 10 improvements\n  IF pass: done, write tests\n  ELSE:\n    Apply top 10 improvements to the actual file\n    Log which improvements applied and what changed\n\nCYCLE 2:\n  Re-eval the fixed output with the same 3 models and same dimensions\n  Compare before\u002Fafter scores per dimension and track delta\n  IF pass: done, write tests\n  ELSE: apply remaining improvements plus new ones\n\nCYCLE 3 (final):\n  Re-eval\n  IF pass: ship\n  ELSE: ship with KNOWN_GAPS section listing:\n    - Which dimensions are still below 7\n    - Which improvements could not be resolved\n    - Why, for example \"would require architectural change\"\n```\n\n### Cycles + cost guardrails\n\n- Default `--cycles 3` in TTY, `--cycles 1` in non-TTY to limit scripted bulk spend in CI loops.\n- The command prints an estimated max-cost-per-cycle from a small pricing constant before each run.\n- Real cost varies with prompt size; treat the estimate as a ceiling for default `--max-tokens 4000`.\n- A `--budget-usd N` hard cap is a v0.27.x follow-up TODO.\n\n### Provider configuration\n\nModels resolve through the `gbrain` AI gateway. Configure once with:\n\n```bash\ngbrain providers test\ngbrain config\n```\n\nOr set env vars: `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`,\n`GOOGLE_GENERATIVE_AI_API_KEY`, `TOGETHER_API_KEY`, etc. The gateway reads\nfrom `~\u002F.gbrain\u002Fconfig.json` plus `process.env`.\n\n### Cost expectations\n\n3 cycles x 3 models = 9 frontier calls max per run. With Opus-class,\nGPT-4o-class, and Gemini-1.5-Pro, expect $1-3 per full run on default\n`--max-tokens 4000`. Receipts include the per-call model identifiers so you can\naudit retroactively.\n\n### Skip cross-modal eval when\n\n- Output is under 200 tokens and trivial.\n- The skill is a thin wrapper around a single API call, where one cycle is enough.\n- The eval gateway is unavailable; record the waiver or known gap explicitly.\n\n## Phase 4: Tests (items 4-6)\n\nAfter eval has proven quality, write tests that lock it in:\n\n- **Unit tests** - every branch of deterministic logic. Mock external calls.\n- **Integration tests** - hit real endpoints. Catch bugs mocks hide.\n- **LLM evals** - quality\u002Fcorrectness for LLM steps. Lighter than cross-modal eval; test specific behaviors.\n\n## Phase 5: Resolver + Check-Resolvable (items 7-9)\n\n1. Add to `skills\u002FRESOLVER.md` with trigger phrases users actually type.\n2. Resolver eval: feed triggers, assert correct routing.\n3. Check-resolvable:\n   - Skill reachable from `skills\u002FRESOLVER.md`, not orphaned.\n   - No MECE overlap with other skills.\n   - No DRY violations; shared logic lives in `lib\u002F`, not copy-pasted.\n   - No ambiguous trigger routing.\n\nFor this plugin, also make sure the plugin README and marketplace\u002Fplugin\nkeywords expose the new skill when it should be discoverable outside resolver\ntests.\n\n## Phase 6: E2E + KB Filing (items 10-11)\n\n- E2E smoke: full pipeline from trigger to side effect.\n- KB filing: add to the relevant KB resolver, filing rule, or `vaultli` index\n  flow if the skill writes knowledge base pages or durable KB artifacts.\n- For file-based KBs, use `\"${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fvaultli\" --json index`\n  and `\"${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fvaultli\" --json validate` after changes that\n  create or update indexed artifacts.\n\n## Phase 7: Verify\n\n```bash\nbun test test\u002F\u003Cskill>.test.ts\ngbrain skillify check skills\u002F\u003Cslug>\u002Fscripts\u002F\u003Cslug>.mjs --json | \\\n  jq '.[] | .items[] | select(.name | contains(\"Cross-modal\"))'\nls ~\u002F.gbrain\u002F.gbrain\u002Feval-receipts\u002F\ngbrain check-resolvable --json | jq .ok\nclaude plugin validate plugins\u002Fknowledge-base\n\"${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fvaultli\" --json validate --root \u003Ckb-root>\n```\n\nIf `gbrain` commands are unavailable, run the repo-native equivalents and mark\nthe missing receipt or resolver check as a known gap rather than pretending it\npassed.\n\n## Worked Example: Skillifying a \"summarize-pr\" Feature\n\n```text\nPhase 0: Yes - invoked weekly, 50+ lines, clear trigger \"summarize this PR\"\nPhase 1: Audit -> SKILL.md missing, no tests, no resolver entry. Score: 1\u002F11\nPhase 2: Write SKILL.md + extract script to scripts\u002Fsummarize-pr.ts\nPhase 3: Cross-modal eval cycle 1 ->\n  GPT-4o: goal=6, depth=5, specificity=4 -> \"misses file-level diffs\"\n  Opus 4.7: goal=7, depth=6, specificity=5 -> \"no test plan in summary\"\n  Gemini 1.5 Pro: goal=6, depth=5, specificity=5 -> \"template feels generic\"\n  Aggregate: goal=6.3 FAIL, depth=5.3 FAIL\n  Top improvements: add file-level changes, include test plan, use PR context\n  Apply fixes\n  Cycle 2: goal=8, depth=7.5, specificity=7 -> PASS\nPhase 4: Write 12 unit tests locking in the improved behavior\nPhase 5: Add \"summarize this PR\" trigger to skills\u002FRESOLVER.md\nPhase 6: E2E test: feed a real PR URL -> verify KB page created\nPhase 7: All green. Score: 11\u002F11\n```\n\n## Quality Gates\n\nNot properly skilled until:\n\n- All required items pass: 1-2 and 4-10, with 11 required only when applicable.\n- Cross-modal eval (item 3) has a current receipt or is explicitly waived with rationale.\n- All tests pass: unit, integration, and LLM evals.\n- Resolver entry exists with real trigger phrases.\n- Check-resolvable shows no orphans, overlaps, or DRY violations.\n- KB filing exists if applicable.\n\n## Output Format\n\nSkillify produces three durable artifacts per skill:\n\n1. **The skill tree on disk.** `skills\u002F\u003Cslug>\u002FSKILL.md`,\n   `scripts\u002F\u003Cslug>.mjs`, `routing-eval.jsonl`, plus a\n   `test\u002F\u003Cslug>.test.ts` skeleton. Generated by skillify scaffold tooling when\n   available and refined by the human\u002Fagent into a real implementation.\n2. **A cross-modal eval receipt** at\n   `~\u002F.gbrain\u002F.gbrain\u002Feval-receipts\u002F\u003Cslug>-\u003Csha8>.json`. The sha-8 binds the\n   receipt to the current `SKILL.md` content. `gbrain skillify check` surfaces\n   the status (`found` \u002F `stale` \u002F `missing`) as informational.\n3. **An audit verdict** from `gbrain skillify check`: `properly skilled` |\n   `close - create: \u003Cmissing items>` | `needs skillify - run \u002Fskillify on\n   \u003Ctarget>`. Score is `\u003Cpassed>\u002F\u003Ctotal>`. Required items gate the verdict;\n   item 3 (cross-modal eval) is informational and never blocks PASS.\n\nJSON output from `gbrain skillify check --json` includes the same fields plus\nthe per-item detail string, so agents can route on the structured envelope\nwithout parsing prose.\n\n## Anti-Patterns\n\n- Writing tests before cross-modal eval, which can lock in mediocrity.\n- Using budget models for eval.\n- Using a single provider's family for all 3 slots.\n- Skipping eval \"because the output looks fine\".\n- Eval without a fix cycle.\n- Code with no `SKILL.md`, making it invisible to the resolver.\n- Tests that reimplement production code.\n- Resolver entry with internal jargon instead of real user language.\n- Two skills doing the same thing; merge or remove one.\n- Running cross-modal eval on trivial outputs under 200 tokens.\n","# Skillify - The Meta Skill\n\n> **Relationship to `\u002Fcross-modal-review`:** That skill is the manual mid-flow\n> \"second opinion\" gate: one model reviews work product before commit. This\n> skill's Phase 3 below uses `gbrain eval cross-modal` when that eval gateway is\n> available instead: three different-provider frontier models score and iterate\n> on a documented dimension list before tests cement behavior. Use\n> `\u002Fcross-modal-review` for ad-hoc second opinions; use Phase 3 here when\n> skillifying a feature.\n\n## Contract\n\nA feature is \"properly skilled\" when all 11 checklist items pass. Item 3\n(cross-modal eval) is informational in v1.1.0. It does not gate the\nskillpack-check audit, but a missing or stale receipt is surfaced so the user\nknows where the gate stands.\n\nIf the `gbrain` eval or skillify CLI is not installed in the current\nenvironment, do not invent receipts. Record the missing command as an explicit\nwaiver or known gap, then use the closest repo-native validation available\n(`claude plugin validate`, tests, resolver checks, and\n`\"${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fvaultli\" --json validate` for file-based KB\nartifacts).\n\n## The Checklist\n\n```text\n[ ] 1.  SKILL.md           - skill file with frontmatter + contract + phases\n[ ] 2.  Code               - deterministic script if applicable\n[ ] 3.  Cross-modal eval   - 3 frontier models from 3 providers; informational\n[ ] 4.  Unit tests         - cover every branch of deterministic logic\n[ ] 5.  Integration tests  - exercise live endpoints\n[ ] 6.  LLM evals          - quality\u002Fcorrectness cases for LLM-involving steps\n[ ] 7.  Resolver trigger   - entry in skills\u002FRESOLVER.md with real user trigger phrases\n[ ] 8.  Resolver eval      - test that triggers route to this skill\n[ ] 9.  Check-resolvable   - DRY + MECE audit, no orphans\n[ ] 10. E2E test           - smoke test: trigger -> side effect\n[ ] 11. KB filing          - if it writes pages, entry in the KB resolver or filing rules\n```\n\n## Phase 0: Should This Be a Skill?\n\nBefore skillifying, check:\n\n- Will this be invoked 2+ times? One-off work is not a skill.\n- Is there more than 20 lines of logic? Trivial helpers do not need full infrastructure.\n- Does it have a clear trigger phrase a user would actually say?\n\nIf no to all three, it is a script, not a skill. Move on.\n\n## Phase 1: Audit\n\n```text\nFeature: [name]\nCode: [path]\nMissing items: [check each of the 11]\n```\n\n## Phase 2: Write SKILL.md + Code (items 1-2)\n\n### SKILL.md frontmatter template\n\n```yaml\n---\nname: my-skill\nversion: 1.0.0\ndescription: |\n  One paragraph. What it does, when to use it.\ntriggers:\n  - \"trigger phrase users actually say\"\n  - \"another real trigger\"\nallowed-tools:\n  - Read\n  - Write\n  - Edit\n  - Bash\nmutating: false  # true if it writes to the KB or disk\n---\n```\n\nBody must include:\n\n- **Contract** - what it guarantees\n- **Phases** - step-by-step workflow\n- **Output Format** - what it produces\n\nExtract deterministic code into `scripts\u002F` when applicable.\n\n## Phase 3: Cross-Modal Eval (item 3) - The Quality Gate\n\n### Why this comes before tests\n\nTests lock in behavior. If the behavior is mediocre, tests lock in mediocrity.\nCross-modal eval proves the quality bar first, then tests cement it.\n\n### Step 1: Pick a representative input\n\nChoose the input that exercises the skill's hardest documented use case. If\nunsure, use the primary trigger example from `SKILL.md`, or the most complex\nreal-world input from the last 7 days of memory or KB files.\n\n### Step 2: Run the skill, capture output\n\nRun the skill on the representative input. The output file is what gets\nevaluated.\n\n### Step 3: Run the eval gate\n\nWhen the `gbrain` eval gateway is available:\n\n```bash\ngbrain eval cross-modal \\\n  --task \"What this skill is supposed to accomplish\" \\\n  --output skills\u002F\u003Cslug>\u002FSKILL.md\n```\n\nThe command runs 3 frontier models from 3 different providers in parallel,\nscores the output against the task on 5 documented dimensions, and writes a\nreceipt under `~\u002F.gbrain\u002F.gbrain\u002Feval-receipts\u002F\u003Cslug>-\u003Csha8>.json`. The sha-8\nbinds the receipt to the current `SKILL.md` content, so rerunning after edits\nwrites a new receipt.\n\n**Default models** (override per slot via `--slot-a-model`, `--slot-b-model`,\n`--slot-c-model`):\n\n| Slot | Default | Provider |\n|------|---------|----------|\n| A | `openai:gpt-4o` | OpenAI |\n| B | `anthropic:claude-opus-4-7` | Anthropic |\n| C | `google:gemini-1.5-pro` | Google |\n\nThese MUST be frontier models from different providers. Using a single\nprovider's family or budget models defeats the purpose because different\nfamilies have less correlated blind spots. Refresh the list when a new model\ngeneration ships.\n\n**Pass criteria (both must be true):**\n\n1. Every dimension's mean across successful models is at least 7.\n2. No single model scored any dimension below 5.\n\n**Inconclusive:** fewer than 2 of 3 models returned parseable scores. A receipt\nis still written for forensics, but the gate is not authoritative. Exit code 2;\nCI wrappers should treat this as \"did not run cleanly\", not \"failed quality\ngate\".\n\n### Step 4: Cycle until you pass (up to 3 cycles)\n\n```text\nCYCLE 1:\n  Eval -> scores + top 10 improvements\n  IF pass: done, write tests\n  ELSE:\n    Apply top 10 improvements to the actual file\n    Log which improvements applied and what changed\n\nCYCLE 2:\n  Re-eval the fixed output with the same 3 models and same dimensions\n  Compare before\u002Fafter scores per dimension and track delta\n  IF pass: done, write tests\n  ELSE: apply remaining improvements plus new ones\n\nCYCLE 3 (final):\n  Re-eval\n  IF pass: ship\n  ELSE: ship with KNOWN_GAPS section listing:\n    - Which dimensions are still below 7\n    - Which improvements could not be resolved\n    - Why, for example \"would require architectural change\"\n```\n\n### Cycles + cost guardrails\n\n- Default `--cycles 3` in TTY, `--cycles 1` in non-TTY to limit scripted bulk spend in CI loops.\n- The command prints an estimated max-cost-per-cycle from a small pricing constant before each run.\n- Real cost varies with prompt size; treat the estimate as a ceiling for default `--max-tokens 4000`.\n- A `--budget-usd N` hard cap is a v0.27.x follow-up TODO.\n\n### Provider configuration\n\nModels resolve through the `gbrain` AI gateway. Configure once with:\n\n```bash\ngbrain providers test\ngbrain config\n```\n\nOr set env vars: `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`,\n`GOOGLE_GENERATIVE_AI_API_KEY`, `TOGETHER_API_KEY`, etc. The gateway reads\nfrom `~\u002F.gbrain\u002Fconfig.json` plus `process.env`.\n\n### Cost expectations\n\n3 cycles x 3 models = 9 frontier calls max per run. With Opus-class,\nGPT-4o-class, and Gemini-1.5-Pro, expect $1-3 per full run on default\n`--max-tokens 4000`. Receipts include the per-call model identifiers so you can\naudit retroactively.\n\n### Skip cross-modal eval when\n\n- Output is under 200 tokens and trivial.\n- The skill is a thin wrapper around a single API call, where one cycle is enough.\n- The eval gateway is unavailable; record the waiver or known gap explicitly.\n\n## Phase 4: Tests (items 4-6)\n\nAfter eval has proven quality, write tests that lock it in:\n\n- **Unit tests** - every branch of deterministic logic. Mock external calls.\n- **Integration tests** - hit real endpoints. Catch bugs mocks hide.\n- **LLM evals** - quality\u002Fcorrectness for LLM steps. Lighter than cross-modal eval; test specific behaviors.\n\n## Phase 5: Resolver + Check-Resolvable (items 7-9)\n\n1. Add to `skills\u002FRESOLVER.md` with trigger phrases users actually type.\n2. Resolver eval: feed triggers, assert correct routing.\n3. Check-resolvable:\n   - Skill reachable from `skills\u002FRESOLVER.md`, not orphaned.\n   - No MECE overlap with other skills.\n   - No DRY violations; shared logic lives in `lib\u002F`, not copy-pasted.\n   - No ambiguous trigger routing.\n\nFor this plugin, also make sure the plugin README and marketplace\u002Fplugin\nkeywords expose the new skill when it should be discoverable outside resolver\ntests.\n\n## Phase 6: E2E + KB Filing (items 10-11)\n\n- E2E smoke: full pipeline from trigger to side effect.\n- KB filing: add to the relevant KB resolver, filing rule, or `vaultli` index\n  flow if the skill writes knowledge base pages or durable KB artifacts.\n- For file-based KBs, use `\"${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fvaultli\" --json index`\n  and `\"${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fvaultli\" --json validate` after changes that\n  create or update indexed artifacts.\n\n## Phase 7: Verify\n\n```bash\nbun test test\u002F\u003Cskill>.test.ts\ngbrain skillify check skills\u002F\u003Cslug>\u002Fscripts\u002F\u003Cslug>.mjs --json | \\\n  jq '.[] | .items[] | select(.name | contains(\"Cross-modal\"))'\nls ~\u002F.gbrain\u002F.gbrain\u002Feval-receipts\u002F\ngbrain check-resolvable --json | jq .ok\nclaude plugin validate plugins\u002Fknowledge-base\n\"${CLAUDE_PLUGIN_ROOT}\u002Fbin\u002Fvaultli\" --json validate --root \u003Ckb-root>\n```\n\nIf `gbrain` commands are unavailable, run the repo-native equivalents and mark\nthe missing receipt or resolver check as a known gap rather than pretending it\npassed.\n\n## Worked Example: Skillifying a \"summarize-pr\" Feature\n\n```text\nPhase 0: Yes - invoked weekly, 50+ lines, clear trigger \"summarize this PR\"\nPhase 1: Audit -> SKILL.md missing, no tests, no resolver entry. Score: 1\u002F11\nPhase 2: Write SKILL.md + extract script to scripts\u002Fsummarize-pr.ts\nPhase 3: Cross-modal eval cycle 1 ->\n  GPT-4o: goal=6, depth=5, specificity=4 -> \"misses file-level diffs\"\n  Opus 4.7: goal=7, depth=6, specificity=5 -> \"no test plan in summary\"\n  Gemini 1.5 Pro: goal=6, depth=5, specificity=5 -> \"template feels generic\"\n  Aggregate: goal=6.3 FAIL, depth=5.3 FAIL\n  Top improvements: add file-level changes, include test plan, use PR context\n  Apply fixes\n  Cycle 2: goal=8, depth=7.5, specificity=7 -> PASS\nPhase 4: Write 12 unit tests locking in the improved behavior\nPhase 5: Add \"summarize this PR\" trigger to skills\u002FRESOLVER.md\nPhase 6: E2E test: feed a real PR URL -> verify KB page created\nPhase 7: All green. Score: 11\u002F11\n```\n\n## Quality Gates\n\nNot properly skilled until:\n\n- All required items pass: 1-2 and 4-10, with 11 required only when applicable.\n- Cross-modal eval (item 3) has a current receipt or is explicitly waived with rationale.\n- All tests pass: unit, integration, and LLM evals.\n- Resolver entry exists with real trigger phrases.\n- Check-resolvable shows no orphans, overlaps, or DRY violations.\n- KB filing exists if applicable.\n\n## Output Format\n\nSkillify produces three durable artifacts per skill:\n\n1. **The skill tree on disk.** `skills\u002F\u003Cslug>\u002FSKILL.md`,\n   `scripts\u002F\u003Cslug>.mjs`, `routing-eval.jsonl`, plus a\n   `test\u002F\u003Cslug>.test.ts` skeleton. Generated by skillify scaffold tooling when\n   available and refined by the human\u002Fagent into a real implementation.\n2. **A cross-modal eval receipt** at\n   `~\u002F.gbrain\u002F.gbrain\u002Feval-receipts\u002F\u003Cslug>-\u003Csha8>.json`. The sha-8 binds the\n   receipt to the current `SKILL.md` content. `gbrain skillify check` surfaces\n   the status (`found` \u002F `stale` \u002F `missing`) as informational.\n3. **An audit verdict** from `gbrain skillify check`: `properly skilled` |\n   `close - create: \u003Cmissing items>` | `needs skillify - run \u002Fskillify on\n   \u003Ctarget>`. Score is `\u003Cpassed>\u002F\u003Ctotal>`. Required items gate the verdict;\n   item 3 (cross-modal eval) is informational and never blocks PASS.\n\nJSON output from `gbrain skillify check --json` includes the same fields plus\nthe per-item detail string, so agents can route on the structured envelope\nwithout parsing prose.\n\n## Anti-Patterns\n\n- Writing tests before cross-modal eval, which can lock in mediocrity.\n- Using budget models for eval.\n- Using a single provider's family for all 3 slots.\n- Skipping eval \"because the output looks fine\".\n- Eval without a fix cycle.\n- Code with no `SKILL.md`, making it invisible to the resolver.\n- Tests that reimplement production code.\n- Resolver entry with internal jargon instead of real user language.\n- Two skills doing the same thing; merge or remove one.\n- Running cross-modal eval on trivial outputs under 200 tokens.\n",{"name":5,"version":43,"mutating":44,"triggers":45,"description":51,"allowed-tools":52,"disable-model-invocation":39},"1.1.0",true,[46,5,47,48,49,50],"skillify this","is this a skill?","make this proper","add tests and evals for this","check skill completeness","The meta skill. Turn any raw feature into a properly-skilled, tested,\nresolvable unit of agent capability. Cross-modal eval is the recommended\nPhase 3 quality gate: 3 frontier models from different providers critique\nthe output, you iterate to quality, THEN write tests that lock in the\nproven-good behavior.\n",[53,54,55,33],"Read","Write","Edit","main","8d9ce3e8c80ddfea03af44bb5b900afc16b07c19","plugins\u002Fknowledge-base\u002Fskills\u002Fskillify",0,"https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics","https:\u002F\u002Fgithub.com\u002Fweisberg","www.betafactory.com","2026-11-11 22:15:54",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":44},[66,69,72],{"tool":67,"command":68},"npx","npx skills add weisberg\u002Fagile_agentic_analytics --skill skillify",{"tool":70,"command":71},"bunx","bunx skills add weisberg\u002Fagile_agentic_analytics --skill skillify",{"tool":73,"command":74},"pnpm","pnpm dlx skills add weisberg\u002Fagile_agentic_analytics --skill skillify","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Fknowledge-base\u002Fskills\u002Fskillify\u002FSKILL.md",[],[78,86,93,100,114,137],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M764C2BKRGN20MZX133PJ1W0","metric-reconciliation","Use when two reports disagree, a KPI needs reconciliation across sources, or actuals need to be compared with a plan, forecast vintage, or prior methodology. Align population, coverage, calendar, attribution, and observation windows before computing gaps. Identify missing slices and preserve unresolved residuals.","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Flead-analyst\u002Fskills\u002Fmetric-reconciliation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":85},"01M764BEYCZFSH1S50766ZBMZ0","analysis-handoff","Use to make a recurring SQL analysis reproducible, hand it to another analyst, or check whether an analysis bundle changed. Capture the exact query, metric definitions, inputs, source vintages, checks, and rerun steps in a portable folder without requiring a copy of row-level results.","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Flead-analyst\u002Fskills\u002Fanalysis-handoff\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":85},"01M764AGGMGNNBB3F1MCXPBX3T","conversation-ingestion","File a conversation transcript or notes from an interview, research discussion, or support exchange. Preserve the raw material, capture decisions and actions, and update participant and company timelines. Trigger on 'process this conversation', 'ingest this conversation', 'file this transcript', or 'conversation notes to KB'. For standalone media use media-ingest. For source routing use ingest.","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Fknowledge-base\u002Fskills\u002Fconversation-ingestion\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":38},"01M6GKH0CNX0V8JYCFTFT0C8TJ","minimal-skill","Minimal shared skill fixture for marketplace renderer and validator examples.","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fminimal-plugin\u002Fskills\u002Fminimal-skill\u002FSKILL.md",[],[107,108,109,110,111,25,112,113],"minimal skill","minimal","shared","examples","fixture","marketplace","shared skill",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":38},"01M6GKGW83KH0GN15MQGXM4596","roadmap","Use this skill when the user wants a product roadmap, initiative sequencing, Now\u002FNext\u002FLater plan, quarterly roadmap, release theme map, product strategy-to-roadmap translation, or executive roadmap narrative. Trigger on phrases like \"build a roadmap\", \"roadmap these initiatives\", \"what should be now next later\", \"sequence this backlog\", \"quarterly product roadmap\", \"theme-based roadmap\", or \"plan the next two quarters\". Do NOT trigger for drafting or reviewing a single PRD (use prd-writer or prd-review), converting a PRD into an agentic PLAN.md (use prd-to-plan), or scoring\u002Franking a set of options without a time horizon (use prioritization).","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Fproduct-manager\u002Fskills\u002Froadmap\u002FSKILL.md",[],[116,25,121,122,123,124,20,125,126,127,128,129,130,131,33,132,133,134,135,136],"time","backlog","trigger","ranking","strategy","map","now","use","sequencing","translation","agentic","scoring","theme","writer","SET","do",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":38},"01M6GKGQTF57NFBDM5NZ89CV06","prioritization","Use this skill when the user wants to rank, score, triage, or compare product opportunities, features, PRD requirements, backlog items, roadmap candidates, or initiatives using RICE, impact-effort, confidence, reach, value, effort, risk, or tradeoff analysis. Trigger on phrases like \"prioritize these features\", \"rank this backlog\", \"RICE score\", \"impact effort matrix\", \"what should we build first\", \"compare these initiatives\", or \"stack rank product bets\". Do NOT trigger for a time-based roadmap (use roadmap), writing or reviewing one PRD (use prd-writer or prd-review), turning a PRD into an agentic plan (use prd-to-plan), or analyzing experiment results (use ab-testing or experimentation skills).","https:\u002F\u002Fgithub.com\u002Fweisberg\u002Fagile_agentic_analytics\u002Fblob\u002Fmain\u002Fplugins\u002Fproduct-manager\u002Fskills\u002Fprioritization\u002FSKILL.md",[],[139,25,134,136,144,121,122,123,145,20,146,147,128,116,131,33,148,149,150,151],"risk","testing","writing","impact","requirements","analysis","compare","review"]