agentleFS
HighwayofLifeHighwayofLife/agent-kaizen/skills/start/SKILL.md

start

Skill1 starsChanged 32 days agoMITView on GitHub

Set up the self-improvement loop in this project: an efficiency ledger, a baseline of what loads every turn, and which skills to run next.

155 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use project-stage-detect, setup-engine and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    project-stage-detect

    Automatically analyze project state, detect stage, identify gaps, and recommend next steps based on existing artifacts.

    Also in 19 projects that use this

  • CoralGameSkill

    setup-engine

    Configure the project's game engine and version. Pins the engine in CLAUDE.md, detects knowledge gaps, and populates engine reference docs via WebSearch when the version is beyond the LLM's training data.

    Also in 14 projects that use this

  • lilangMaxSkill

    create-stories

    Break a single epic into implementable story files. Reads the epic, its GDD, governing ADRs, and control manifest. Each story embeds its GDD requirement TR-ID, ADR guidance, acceptance criteria, story type, and test evidence path. Run after /create-epics for each epic.

    Also in 13 projects that use this

  • lilangMaxSkill

    story-done

    End-of-story completion review. Reads the story file, verifies each acceptance criterion against the implementation, checks for GDD/ADR deviations, prompts code review, updates story status to Complete, and surfaces the next ready story from the sprint.

    Also in 13 projects that use this

  • +3 more from CoralGame
  • +5 more from lilangMax

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 140 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Not in Claude Code?: Read docs/hosts.md in the plugin root first.

    line 11
  2. Very specific:

    Create docs/kaizen/LEDGER.md with a table: date | change | why (which audit finding) | expected effect | measured effect | keep/revert | …

    line 28
  3. Distinctive:

    Add a short header explaining that every efficiency change gets a row, and that the "measured effect" column is filled in by the next …

    line 31
  4. Very specific:

    Create docs/kaizen/README.md describing the loop in five lines: measure (audit) → propose → implement one change at a time → re-measure → …

    line 33
  5. Very specific:

    Add docs/kaizen/audit-*.md, docs/kaizen/token-audit-*.md, docs/kaizen/cycle-*.md, docs/kaizen/review-*.md and …

    line 40
  6. Distinctive:

    Don't commit; I'll review first.

    line 45

“Common” is measured: kept by at least 6 in 10 of the 140 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Start the loop

Plugin root: ${CLAUDE_PLUGIN_ROOT}. If that is still a ${...} placeholder, use the folder that contains skills/ (this file is skills/<name>/SKILL.md), and substitute that path, in quotes, wherever this skill uses CLAUDE_PLUGIN_ROOT. Not in Claude Code? Read docs/hosts.md in the plugin root first. Skip steps that only work in Claude Code, and follow its propose-only rule before changing any host configuration.

Set up the files that turn one-off tune-ups into a loop that keeps improving: an improvements ledger and a baseline.

Changes: creates docs/kaizen/ and writes schedule and scheduledAutonomy to docs/kaizen/config.json when you answer; auto also adds the project to the global autoProjects.

Autonomy: follow ${CLAUDE_PLUGIN_ROOT}/docs/autonomy.md. The mode comes from the skill argument (propose, safe, auto or yolo), else docs/kaizen/config.json, else agent-kaizen.json in your Claude config dir ($CLAUDE_CONFIG_DIR or ~/.claude), else propose. In safe and auto, read every "wait for my OK" below as: apply it yourself if the mode allows (backup, verify, roll back on failure, ledger row), otherwise list it as a proposal. Hard stops always ask. At most maxChangesPerRun changes (default 3). End with a summary of what was applied, skipped and rolled back.

Task

I want to set up a self-improving workflow for this project: we regularly measure how Claude Code (and Codex, if I use it) spends time, tokens and money here, make targeted changes, and check whether each change paid off.

Set up the scaffolding and ask about scheduled settings below. In safe or auto mode, back up every existing file you touch (for example .gitignore) and write a manifest that lists the files you create, including docs/kaizen/config.json, as docs/autonomy.md requires, so /agent-kaizen:undo works:

  1. Create docs/kaizen/LEDGER.md with a table: date | change | why (which audit finding) | expected effect | measured effect | keep/revert | metric command | review date Every new row needs a metric command in backticks (write a literal pipe as \|; never run it automatically) and a review date in YYYY-MM-DD: the day the metric will be read, normally the next audit, at most 30 days out. For an existing six-column ledger, add the two header cells and separator cells in the same Edit as the first new row; leave older rows untouched. Add a short header explaining that every efficiency change gets a row, and that the "measured effect" column is filled in by the next audit, not by guessing.
  2. Create docs/kaizen/README.md describing the loop in five lines: measure (audit) → propose → implement one change at a time → re-measure → keep or revert.
  3. Tell me which of these exist, with their size in lines and a rough token count (characters / 4): CLAUDE.md, AGENTS.md, files they import, <Claude config dir>/CLAUDE.md, <Claude config dir>/settings.json hooks, <Claude config dir>/agents/.md, .claude/agents/.md, <Codex home>/AGENTS.md, <Codex home>/config.toml. The Claude config dir is $CLAUDE_CONFIG_DIR or ~/.claude; the Codex home is $CODEX_HOME or ~/.codex. Write that list to docs/kaizen/baseline-config.md.
  4. Add docs/kaizen/audit-*.md, docs/kaizen/token-audit-*.md, docs/kaizen/cycle-*.md, docs/kaizen/review-*.md and docs/kaizen/project-report-*.md to .gitignore (audit reports contain paths and prompt fragments; the ledger and README stay tracked).
  5. Ask whether to include this project in the weekly review (schedule=active or schedule=off; default active), then whether the weekly run may apply changes here (scheduledAutonomy=auto or scheduledAutonomy=propose; default propose). Wait for each answer. docs/kaizen/config.json may be committed, so auto applies to teammates' schedules too, but only on machines where the project is in the global autoProjects list; the config set --for command below writes that opt-in for this machine. A personal choice belongs in the global setting via /agent-kaizen:schedule. Write both answers explicitly, even when they match the defaults, because global settings may override unwritten keys: python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-scheduled config set --for . schedule=<v> scheduledAutonomy=<v>. A project path with spaces or shell metacharacters cannot use scheduled auto mode. If the Claude config dir's bin/ has no scheduled runner, suggest /agent-kaizen:schedule.
  6. Explain that docs/kaizen/ enrolls the project in the audit. An optional outcome log follows ${CLAUDE_PLUGIN_ROOT}/docs/outcome-log.md. Offer python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-link --check, then after OK and with a kaizen-backup, offer python3 ${CLAUDE_PLUGIN_ROOT}/scripts/kaizen-link --apply to link the plugin scripts in <Claude config dir>/bin (copy mode when the plugin is in a plugin cache).
  7. Suggest which of the skills I should run next, based on what you found. Don't commit; I'll review first.

Done when

two small docs plus a baseline of what your agents load on every turn.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.