/moskills:evolvebookfrom moskills
Creates and maintains per-job guides that improve with each run: captures briefs, blocks repeats, checks results, and records approved examples, never-rules, and mistakes. Use for repetitive dev tasks like articles, landing pages, or NestJS modules.
Ships in moskills. 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; scripts run unread.
Primary goal: Every run of a job follows its evolvebook and adds a Done row, plus any Example, Never rule or Mistake the user approved.
An evolvebook remembers what good looks like, what we already made, and what went wrong. moskills says how we work on any task; an evolvebook says how we do one specific job well.
Setup (once) -> Create (once per job) -> Use (every run) -> Grow / Evolve (on the user's yes)
Use = Pick -> Brief -> Plan -> Repeat check -> Make -> Check -> Close (Done row)
Link / Export: the same book, reachable from other agents
Evolvebook, Brief, Examples, Choices, Toolbox, Never list, Check, Done list, Mistakes list, Home. Use these names for the parts of a book instead of "skill", "template", "frontmatter" or "script".
Every step that counts, compares or writes a table goes through the helper, so the result is the same every time. Never do its job by hand.
EB="sh ${CLAUDE_SKILL_DIR}/scripts/evolvebook.sh"
Claude Code fills in ${CLAUDE_SKILL_DIR}. In other agents use the folder
this file was read from (<skill folder>/scripts/evolvebook.sh), or
moskills evolvebook when the one-line install put moskills on the PATH.
Exit codes: 0 ok, 1 refused or check failed, 3 not configured, 4 no
such book, 5 the plan is missing Choices.
$EB where) and the project
.evolvebooks/. When the Home is inside an Obsidian vault, the rest of the
vault is off-limits: do not list, search or open it.example, never, mistake): it writes the exact format and refuses
secrets. For any other pasted content saved in the book, run
$EB scan <file> and remove what it flags./evolvebook is this skill; what follows it (or ARGUMENTS:) picks the
section. With no arguments, run List.
| User types | Do |
|---|---|
/evolvebook or /evolvebook list | List |
/evolvebook setup | Setup |
/evolvebook new <job> | Create |
/evolvebook use <job>, or a task matches a book | Use |
/evolvebook link | Link |
/evolvebook export <job> | Export |
| "add this as a good example", "never do X again" | Grow |
Any command that returns exit 3: run Setup first, then continue the
original command in the same turn. Never stop at "not configured".
Run $EB list and show its table as is. If it prints "No evolvebooks yet",
add: "Try: /evolvebook new ".
Ask exactly this, as one message, then wait:
Where should your evolvebooks live?
- Default folder
~/.evolvebooks/(recommended if unsure)- A folder inside your Obsidian vault (give the vault path; the subfolder is
Evolvebooks/unless you say otherwise)- Any other folder of markdown files (give the path)
- Only inside projects (
.evolvebooks/in each repo)
Map the answer ("you decide" or no answer means 1):
| Answer | Run |
|---|---|
| 1 | $EB setup --default |
| 2 | $EB setup --obsidian <vault> [--subfolder <name>] |
| 3 | $EB setup --home <path> |
| 4 | $EB setup --project-only |
Show every line it prints (warnings included). If the user ran
/evolvebook setup itself, then ask: "Use your evolvebooks in your other
agents too? (yes/no)" (yes: run Link). If Setup ran because another
command needed it, do not ask: go straight back to that command.
/evolvebook new <job> (3 steps, once)The name is the job in lowercase with dashes (article, landing-page). Do
not ask the user for tools, templates or scripts: the Toolbox starts empty.
Step 1 — one message. Look for candidate examples: inside the Home, the
current project, tasks/lessons.md, and memory if a memory tool is available.
Then send one message:
Creating the <job> evolvebook. I found:
1. <path or title>
2. ...
Three questions (short answers are fine, "you decide" works too):
a. Which of these are good or bad, and why? One line each. Paths, links,
pastes or screenshots are welcome.
b. Anything we must always or never do?
c. Who is it for?
Step 2 — one-screen summary. From the answers:
Guess: from the request.<home>/shared/brand.md exists, read it (never write it). If it
is missing and the job needs a brand, end the summary with one line, not a
separate message: "No brand found. Describe it in 3 words, or skip?" Keep the answer in the book's brief.md as a fixed line
Brand: <words>.Show it as one screen: Purpose, For, Choices, Brief, Never list, Check, Examples. End with: "Reply ok, or tell me what to change."
Step 3 — write. After "ok":
$EB new <job> --purpose "<one line>" --use-when "<when to use it>" --choices "<c1,c2,...>"
(add --project if the user wants it shared in this repo).$EB path <job> gives the folder. Write brief.md, choices.md
(options seen and a default for each choice) and check.md with the
formats already in each file.$EB example <job> --verdict good|bad --title "<t>" --why "<one line>" --where "<path or link>" and each Never
rule with $EB never <job> --never "<what>" --instead "<what>".$EB list, then say: "The evolvebook is ready. Next time you ask for
a , I will use it." If Setup ran during this Create, add: "Want it in
your other agents too? /evolvebook link".$EB list. One match:
say "Using the evolvebook (N examples, M runs)" with N and M from
the list. Several: ask with a numbered list. None: carry on without a book.brief.md in one message, each with
your guess filled in. Then stop and wait for the reply. If the user says
"you decide" (or "ok"), use your guesses, label the brief
Self-authored under delegation, and do not ask again. Skip the Brief only
when the user already said "you decide" in the request.examples.md, never.md and choices.md. Write one value
for every Choice.$EB repeat <name> <choice>=<value> ... with
every Choice, even on the first run. FAIL: change the plan (never the
Done list) and run it again until PASS. Exit 5: a Choice is missing,
add it. Show the PASS line to the user.check.md, then walk through the
human items. Report under Passing / Failing / Unknown (the gatekeeper
format) and list what was not verified.$EB record <name> "<what was made>" <choice>=<value> ... --steps "<manual step>; <manual step>"
(--steps lists what you did by hand that a Toolbox item could do).$EB mistake <name> --title "<short title>" --context "<c>" --mistake "<m>" --rule "<imperative rule>". Reuse the
exact title of an existing entry when it is the same pattern: the helper
raises Seen instead of adding a second entry.$EB example <name> --verdict good --title "<t>" --why "<w>" --where "<path>". "You decide" or no answer: do not add it.$EB suggest <name> and offer every line it prints (see Evolve).| User says | Do |
|---|---|
| "add this as a good (or bad) example" | Pick the book (ask if unclear), then $EB example <name> --verdict good|bad --title "<t>" --why "<one line>" --where "<path or link>". |
| "never do X again" | Show the rule with its "Instead" and ask "Save it like this?". Yes: $EB never <name> --never "<X>" --instead "<Y>" --why "<one line>". |
| A correction during a run | learn records it in this book with $EB mistake <name> .... |
$EB suggest <name> prints what is due. Offer each line as a yes/no question.
Seen: 2. On yes, run
$EB never <name> --never "<what>" --instead "<what>" --from-mistake "<its title>"
(it also marks the mistake promoted, so it is not proposed again).toolbox/ (template, checklist or script) and add a line to
toolbox/README.md: - <step> -> <file>./evolvebook new <job>.Nothing moves without the user's yes.
/evolvebook linkRun $EB link and show every line (linked, ok, skipped): the helper picks the
agent folders. Links, never copies: every run improves the book for every
agent.
/evolvebook export <job>Run $EB export <job>. Tell the user the file path and: "Upload it as project
knowledge in ChatGPT or Claude. At the end of a run there, paste the Done row
and any Mistakes back here."
done.md rows or EVOLVEBOOKS.md by hand; the helper owns them.book/SKILL.md.tpl (opens in a new tab)book/brief.md (opens in a new tab)book/check.md (opens in a new tab)book/choices.md (opens in a new tab)book/done.md (opens in a new tab)book/examples.md (opens in a new tab)book/mistakes.md (opens in a new tab)book/never.md (opens in a new tab)book/toolbox-README.md (opens in a new tab)scripts/evolvebook.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
18 skills in this plugin
/align-intentUse when: requirements, scope, inputs, outputs, success criteria, or non-goals are unclear before coding or starting a new feature./checkpointUse when: recording progress, Git deltas, evidence, blockers, and next actions after meaningful work or before a context change./compress-inputUse when: user asks for compressed communication, lite/full/ultra/wenyan brevity, short answers, low-noise updates, terse commits, terse PR review comments, or direct technical communication./council-loopIterative multi-model review loop across different AI providers that convenes a council of delegate models, collects structured findings, fixes issues minimally, and loops until all reviewers agree on correctness. Use when the user says "council", "council loop", "council-loop", "multi-model review", "review loop", "loop until agree", or asks for consensus code review from multiple providers, even if they do not say council-loop.npx claudepluginhub mouad1/moskills --plugin moskillsOther plugins' skills for the same job