/cog-second-brain:skillifyfrom cog-second-brain
Creates or edits Claude Code skills by running real workflows on 3-10 items first, getting approval, then writing the skill with done-means list and triggers-eval.md. Guards against score degradation on edits.
Ships in cog-second-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A skill costs tokens every time it loads. This skill makes each new skill earn its place with evidence: a result you approved, a list of outputs that can be checked, trigger phrases that route to it, and a win over a bare prompt. It also guards edits, so a change cannot make an existing skill worse.
The pattern comes from the skillify meta-skill in gbrain and from the cut-list habit in gstack. The text here is original. Policy and the cut list live in docs/skill-quality.md.
/skillifyAsk for one sentence that says what goes in and what comes out. List the outputs as files, notes or messages. If you cannot list them, the workflow is not ready for a skill.
Run the real task yourself, no skill, on real items from the vault or the user's inbox.
Do not write the skill yet. Outward-facing steps (send, post, publish, delete) stay as drafts in this phase.
Show the final items side by side. Ask one question: "Is this the result you want every time?" Record each correction the user made, because every correction becomes a rule or a done-means line. Without a clear yes, go back to step 2.
Create .claude/skills/<name>/SKILL.md in the shape of the existing skills: frontmatter with name, description, roles, integrations, then these sections.
01-daily/YYYY-MM-DD-topic.md. 2. Every claim carries a source line. 3. The index has a new row."Use a deterministic check where one exists. A script beats a judgment.
Create .claude/skills/<name>/triggers-eval.md from references/triggers-eval-template.md. It needs at least 5 trigger phrases, each worded differently from the description and from the other phrases, plus 2 near-miss phrases that belong to another skill and 1 phrase that needs no skill. Check each phrase by giving a fresh context the skill names and descriptions only, and ask which skill it would pick or whether none fits. Fix the description until every row passes.
Pick 3 items from step 2. Run each item two ways in a fresh context each time:
Run both arms in a scratch folder with outward steps stubbed. A separate reviewer, not the author, scores each result against the Done means list. Record items met out of the list length, and a cost number such as tokens, tool calls or minutes.
If the two scores differ by one item or the costs differ by under 10 percent, run each arm once more.
Keep rule: keep the skill only if it scores higher, or scores the same at lower cost. If it loses, do not save it. Tell the user, and offer a one-line note for the cut list in docs/skill-quality.md. A skill that exists to prevent harm (a guard) stays on its stated reason, and the comparison is optional for it.
Run python3 scripts/check-skill-refs.py --strict if the script exists, and fix any missing reference the new skill added. Create eval-log.md from references/eval-log-template.md and write the first row: the 3 items, the score, the cost, the date. Report the skill path, the score table and the next step. If the user maintains a fork of COG, remind them to register the skill where CONTRIBUTING.md says. Offer to schedule the skill if it should run alone, and schedule it only after a yes.
Run this before every edit, including small ones.
eval-log.md and triggers-eval.md beside the skill. If either is missing, build it now from the current behavior. Do not edit yet.eval-log.md with the date, a one-line change summary, both scores and the cost.SKILL.md, triggers-eval.md and eval-log.md.triggers-eval.md has at least 5 paraphrased phrases and every row passes.eval-log.md records a bare-prompt comparison with scores and cost for both arms.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
skill-creation, workflow-automation, skill-testing, meta-skill
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills: Invalid input, repository: Invalid input: expected string, received object
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
49 skills in this plugin
/auto-researchDeep strategic research engine — decomposes questions into parallel research threads, spawns multiple agents, and synthesizes into actionable strategic analysis/best-of-nSelector stage before a verification gate - generate N candidates in parallel, pick the best with a pivot tournament of pairwise judgements, then gate the winner. For high-variance, non-mutating deliverables only/blog-publishWrite and publish a post to your own static blog end to end: content checklist (embedded links, optional TL;DR), per-post ASCII art, an agent-readable markdown twin, deploy, and social distribution. Use when you say "write a blog post", "publish this to my blog", or "push this post to socials".
Other plugins' skills for the same job