Skip to content
Michi v2026.05.20
Save the Tokens

michi-session

The session skill executes an implementation milestone. It is the most rigid skill in the toolkit — every step is mandatory, every verification is required, every decision is logged. The discipline is the point. This is where code gets written, tests get run, and milestones get delivered.

  • Implementing a milestone that has a plan doc from /michi-planning
  • Any implementation work that requires the full Michi discipline — verification, decision logging, sustainability checks
  • Both code milestones (features, APIs, bug fixes) and non-code milestones (research deliverables, design documents)

Pre-flight. The agent reads the plan doc (the implementation contract), verifies the correct git branch, checks the environment (services running, tests passing from clean state), and loads project conventions from CLAUDE.md. If no plan doc exists, it stops and directs you to /michi-planning first.

Core loop. The agent executes the plan’s steps using the target-appropriate loop. For code: Implement, Test, Repeat. For non-code: Explore, Synthesize, Checkpoint. Throughout, it logs every decision immediately — classified as implementation-detail (internal, no notification), design-choice (human reviews during debrief), or contract-change (notify human immediately). Discussion items — things the agent can’t decide alone but isn’t blocked on — are logged separately.

The Iron Law: no “done” without running full verification. After all steps are complete, the agent runs the full verification checklist. “I believe it passes” is explicitly forbidden — the agent must run the commands, read the output, and report actual results. For code targets this means self-review, scenario execution, and code review. For non-code targets, self-review against exit criteria.

Sustainability check. Before committing, the agent runs a sustainability pass: refactoring opportunities, test evaluation, scope check, and any emerging discussion items.

Commit and post-milestone. The agent commits with specific files (never git add -A), updates the plan doc with completed steps and deviations, updates STATUS.md, and notifies through the established channel.

  • Implemented milestone — working code with tests, or completed non-code deliverables
  • Updated plan doc — steps checked off, decisions logged, notes captured, discussion items recorded
  • Git commit prefixed with michi(mN): including a summary of what was built
  • Updated STATUS.md reflecting current project state
  • Memory updates to docs/memory.md if warranted — collaboration patterns that would be painful to lose
  • This skill has an explicit list of “red flags” — rationalizations that trigger a stop. “This decision is too minor to log,” “Tests passed during implementation, verification is redundant,” “I’ll update the plan doc later” — the agent is instructed to catch these thoughts and override them.
  • Reactive scope changes are handled differently by mode. In Paired mode (human present), scope can expand when a spike confirms feasibility and the human agrees. In Entrusted mode, prefer creating a new milestone over expanding the current one.
  • The Rule of 3 applies: three rounds without progress on the same problem means stop, reframe, and escalate — not try a fourth time.
  • The natural next step after a session is /michi-debrief, either immediately or in a separate session.

For the full agent instructions, see the SKILL.md source.