← LeaderboardThe Skill Leaderboard

skillify

Turn a workflow you have done by hand into a tested skill, or edit an existing skill without lowering its score. Does the work on 3 to 10 items first, gets your approval, writes the skill with a done-means list and a triggers-eval.md file, and compares it with a bare prompt before keeping it.

Published by huytieu ↗huytieu/COG-second-brain

Try your first task

A source-grounded starter task has not been verified for this skill yet.

SKILL.md

name: skillifydescription: Turn a workflow you have done by hand into a tested skill, or edit an existing skill without lowering its score. Does the work on 3 to 10 items first, gets your approval, writes the skill with a done-means list and a triggers-eval.md file, and compares it with a bare prompt before keeping it.roles: [all]integrations: []

COG Skillify Skill

Purpose

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.

When to Invoke

  • /skillify
  • "Turn this into a skill", "make this repeatable", "I keep doing this by hand"
  • You asked for the same task twice in a week
  • Before you edit any existing skill (Mode B)

Mode A: New Skill

1. Name the workflow and its outputs

Ask 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.

2. Do it by hand on 3 to 10 items

Run the real task yourself, no skill, on real items from the vault or the user's inbox.

  • Do the first 3 items and show each result in full.
  • Stop and ask what to change. Apply the changes to those 3 items.
  • Continue up to 10 items only if the user wants more evidence. Three approved items are enough.
  • Count the output files before and after each batch. A run that writes nothing is a failure, even with exit code 0.

Do not write the skill yet. Outward-facing steps (send, post, publish, delete) stay as drafts in this phase.

3. Get approval

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.

4. Write the skill

Create .claude/skills/<name>/SKILL.md in the shape of the existing skills: frontmatter with name, description, roles, integrations, then these sections.

  • Goal: one sentence.
  • When to Invoke: the commands and phrases.
  • Steps: the approved workflow, with the user's corrections as rules.
  • Done means: a numbered list of outputs, each one checkable by looking at a file or a count. Example: "1. One note exists at 01-daily/YYYY-MM-DD-topic.md. 2. Every claim carries a source line. 3. The index has a new row."
  • Verify: how to observe the result (open the file, count rows), never the agent's own summary.

Use a deterministic check where one exists. A script beats a judgment.

5. Write triggers-eval.md

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.

6. Compare with a bare prompt

Pick 3 items from step 2. Run each item two ways in a fresh context each time:

  • Bare: one sentence describing the task. The skill is not loaded.
  • Skill: the new skill.

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.

7. Check and report

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.

Mode B: Editing an Existing Skill

Run this before every edit, including small ones.

  1. Open 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.
  2. Read the Done means list. If it is missing, write one from the current Steps and ask the user to approve it.
  3. Score the current version: run the stored task set (or 3 fresh items) and count Done means items met, plus cost. Write this as the baseline row. For a skill that runs on a schedule, this run is required before the edit lands.
  4. Make the edit.
  5. Re-run the same task set and the trigger phrases. Score again.
  6. No-regression rule: if the new Done means score or the trigger score is lower than the baseline, undo the edit and tell the user which item failed. Do not keep a change that scores lower. If the score is the same and the file is more than 20 percent longer, ask why before keeping it.
  7. Append a row to eval-log.md with the date, a one-line change summary, both scores and the cost.

Done Means for This Skill

  1. A new skill folder holds SKILL.md, triggers-eval.md and eval-log.md.
  2. The user approved the by-hand result before the skill was written.
  3. Done means in the new skill is a numbered list of checkable outputs.
  4. triggers-eval.md has at least 5 paraphrased phrases and every row passes.
  5. eval-log.md records a bare-prompt comparison with scores and cost for both arms.
  6. For an edit, the log shows a baseline row and a new row, and the new row is not lower.