| instructions | If you are a Claude Code agent, install the machine as a plugin -> `/plugin marketplace add yesitsfebreeze/machine` then `/plugin install machine@machine`, then run `/oil` to write the project layer. |
|---|
A portable, project-agnostic Claude Code setup — agents, skills, hooks, and memory that travel between repos and specialize themselves to each one.
The machine is a Claude Code plugin you install into any repository. It gives
your agent a full operating system: a roster of specialist subagents, an on-demand
skill toolbelt, a quality gate, a review panel, and a compounding memory — none of
it tied to a particular codebase. Installing namespaces every component under
machine: (machine:gate, machine:coder, …).
When you run /oil, it reads the repo and writes a thin project layer that
teaches the portable machine your stack, your laws, and your vocabulary. The same
plugin behaves like a Rust expert in one repo and a frontend expert in the next.
the machine plugin the portable payload ← installed + updated via /plugin
/.machine/ the project layer ← never shipped; /oil writes it per repo
The split is the whole idea: one portable machine, one per-repo brain.
The machine's marketplace.json lists the machine plugin. Add it and install:
/plugin marketplace add yesitsfebreeze/machine
/plugin install machine@machine
Companion plugins each have their own marketplace:
/plugin marketplace add yesitsfebreeze/kern
/plugin install kern@kern
/plugin marketplace add yesitsfebreeze/git-fs
/plugin install git-fs@git-fs
- 🤖 Bare-bones agent core. Four agents stay loaded: the eager-generalist
default, thedrilldriver, andmanager-tdd/manager-dddfor greenfield and legacy implementation. The generalist drives everything else. - 🧰 Small skill core. Seven skills load by default:
coderandcleanfor building and polishing;gatefor the quality gate;personasfor review;codex-reviewfor second-AI checks;drill— the single entry point that drives work and runs session/bootstrap bring-up; andoilfor the project layer. - 📦 The
mine/addon kit. The rest of the toolbelt — theexpert-*andbuilder-*agents,manager-spec/-strategy/-git/-docs/ etc.,tool-ast-grep,workflow-*,foundation-*,ref-*,specialists,improve,parallel,perf-gate,learn,caveman,board, and more — lives inmine/at the repo root. Nothing there is loaded until you slot it in;/oilcan scan it and suggest the pieces that fit a given repo. - 🧠 Compounding memory (
kern). A per-directory memory daemon, reached over MCP, that remembers why past decisions were made and surfaces them before you re-decide. Knowledge is ingested on the fly and recalled at session start. - 🕸️ Fleet coordination (
mesh). kern's coordination sibling: a per-directory MCP daemon that gives a fleet of parallel agents a live roster, atomic cross-process claims/locks (with leases, queues, and self-healing on agent death), and durable point-to-point/broadcast/topic mail with per-agent read cursors. Same install idiom and on-disk shape askern. - 🎭 Persona review panel. A data-driven panel (defined in
/.machine/personas/) spawns one reviewer per lens in parallel, then synthesizes a ship verdict — tuned to each repo's real risk surface. - 🎼 Orchestrator mode. Spawn background subagents for agreed units of work, persist one durable state file per agent, validate each result through the gate and the persona panel, and surface a "needs your approval" footer — all without blocking the conversation.
- ✅ Language-agnostic quality gate.
/gatedetects the stack and runs format, lint, tests, and build in one pass — pass/fail before any commit. - ⚙️ Hooks and modes. Session-start context injection (drill bring-up), a live status line, and a post-task persona-review nudge — wired through the active Node hooks.
- 🔁 Clean lifecycle. Install and update are the plugin system's job
(
/plugin install//plugin update);/oilre-indexes the project layer whenever the repo changes shape.
- Install the plugin. Add the marketplace and install:
/plugin marketplace add yesitsfebreeze/machine /plugin install machine@machine - Bring up. Run
/drill. On a fresh repo its bring-up makes one idempotent pass: it bootstraps every dependency (kern,mesh, thegit-fsplugin, the MCP prerequisites), wires the status line and API keys, then oils the project layer (/oil) — writing/.machine/from your actual code (identity, stack, glossary, persona panel) — and then drives. (just bootstrapruns the same deps install from a terminal.) - Work. The default generalist drives the work — slotting specialists from
mine/when a domain needs one — recalls prior decisions fromkern, gates quality before commits, and offers the review panel after non-trivial changes.
Pull machine updates with
/plugin update machine. Re-run/drillbring-up (orjust bootstrap) to reinstall deps or re-wire config, or/oilalone to re-index/.machine/after the project changes shape.
Bundled MCP servers. The plugin ships four servers via
plugin.jsonmcpServers(so they travel to any repo where the plugin is installed):hub(fleet coordination — roster, atomic claims, durable mail; singleton HTTP daemon),context7(current library docs — setCONTEXT7_API_KEY),pdf-reader(PDF extraction vianpx @sylphx/pdf-reader-mcp), andcontext-mode(keep large output out of context via thectx_*tools — runs vianpx, needs Node >=22.5.0).Companion plugins (installed separately — each ships its own runtime + hooks):
kern(per-directory memory daemon) andgit-fs(per-session virtual git filesystem).One-shot setup. From a checkout of this repo,
just bootstrap(orbash scripts/bootstrap.sh) installs and verifies every dependency above in one idempotent pass —kern,mesh, thegit-fsplugin, and the MCP prerequisites.
- The default agent is an eager generalist. Whole-toolbelt, bias-to-verify; it
prefers ground truth over guessing and drives most work itself, slotting a
specialist from
mine/when a domain decision needs one. - Machine law is always on. Root-cause fixes over patches, one clean
implementation per change, single source of truth, glossary discipline, and
durable memory in
kern. - Project law lives in
/.machine/.agent.md(identity + hard rules),project.md(stack, key paths),glossary.csv, andpersonas/— all written by/oil, never shipped with the portable payload. - Knowledge loads on demand. Skills pull their deep context only when a
decision calls for it, keeping every turn token-cheap. The
mine/kit goes one step further — its agents and skills are not loaded at all until slotted in.
Every capability the machine ships, by category.
| Agent | What it does |
|---|---|
default |
Eager-generalist driver. Whole toolbelt, bias-to-verify; drives most work itself and routes domain decisions to specialists. |
drill |
The session driver / orchestrator. Grills a request into a valid plan, dispatches plan + implementation subagents on isolated branches, gates and reviews results, proposes merges. |
manager-tdd |
Test-driven (RED-GREEN-REFACTOR) implementation for greenfield work. |
manager-ddd |
Domain-driven (ANALYZE-PRESERVE-IMPROVE) implementation for legacy code with characterization tests. |
builder-agent |
Authors new subagent definitions. |
builder-skill |
Authors new skills (YAML frontmatter + knowledge organization). |
builder-plugin |
Authors Claude Code plugins and marketplace structure. |
| Skill | What it does |
|---|---|
drill |
Single entry point — drives work, runs session/bootstrap bring-up, manages the agent roster. |
coder |
Architect-mode for non-trivial features/refactors/fixes (KISS/DRY/YAGNI, phased planning, adversarial self-review). |
clean |
Cleanup pass — zero duplication, minimum file count, single responsibility, gate-green between steps. |
gate |
Language-agnostic quality gate: format, lint, tests, build in one pass-fail report. |
personas |
Runs the project's adversarial review panel in parallel, synthesizes a ship verdict. |
codex-review |
Advisory second-AI review via the Codex CLI at plan + implementation checkpoints. |
oil |
Re-indexes /.machine/ to specialize the machine to this repo, then fires /mine. |
mine |
Surveys the mine/ addon kit, matches best-fit tools to the repo, slots and registers them. |
improve |
Rates every file 1-10, rolls ratings into a folder tree, improves worst→best. |
promote |
Turns crystallized brainstorm findings into board tickets. |
questioneer |
Single chat that aggregates and resolves questions raised by parallel agents. |
report |
Files a machine self-diagnostic report into /.machine/reports/ (write-side). |
resolve |
Consumes the report backlog — fixes the top report at root cause, verifies green (act-side; repo-local). |
caveman |
Ultra-compressed comm mode (~75% token cut; lite/full/ultra levels). |
cheat |
Cheatsheet lookup via cht.sh (interactive fzf picker + direct mode). |
mcp-plugin |
Authors an install-anywhere Claude Code plugin that bundles an MCP server. |
| Server | Tools / purpose |
|---|---|
mesh |
Fleet coordination — live roster, atomic cross-process claims/leases/queues, durable mail. Verbs: register, roster, claim, claims, release, post, inbox, read. |
board |
Kanban board — projects, columns, cards, comments. Verbs: board_get, project_list/resolve, column_create/delete, card_create/update/move/delete, comment_add/list. |
context7 |
Current versioned library/framework docs (resolve-library-id, query-docs). Needs CONTEXT7_API_KEY. |
pdf-reader |
PDF inspect, search, render, OCR, region extraction (read_pdf, inspect_pdf, search_pdf, render_page, ocr_pages, extract_regions, analyze_regions). |
context-mode |
Keeps large output out of context via ctx_* tools (execute, batch, search, index, stats). Needs Node ≥22.5.0. |
| Plugin | Purpose |
|---|---|
kern |
Per-directory memory daemon — auto-captures decisions, recalls them per prompt and at session start. MCP verbs: query, ingest, forget, anchor, link, degrade, descriptor, health, pulse, gc. |
git-fs |
Per-session copy-on-write virtual git filesystem — N agents, 1 repo, 0 collisions; edits are commits, Stop-hook merges to main. |
split |
Function-level code index — splits source into per-function bodies for token-efficient navigation, bidirectional edit sync. |
| Hook | Event | What it does |
|---|---|---|
ignite.mjs |
SessionStart | Injects machine-mode context, writes /.machine/ENV.md, rebuilds the drill footer from the prior roster. |
personas.mjs |
Stop | Post-task persona-review nudge. |
subagent-report.mjs |
SubagentStop | Surfaces a finished subagent's report to the driver. |
statusline.mjs |
Status line | Live status line rendering. |
stop-input.mjs |
— | Stop-input handling. |
| Style | Purpose |
|---|---|
machine |
The default machine comm mode. |
einstein |
Alternate comm mode. |
- Specialist agents:
expert-backend,expert-frontend,expert-debug,expert-devops,expert-performance,expert-refactoring,expert-security,expert-testing. - Manager agents:
manager-spec,manager-strategy,manager-git,manager-docs,manager-project,manager-quality. - Other agents:
evaluator-active,plan-auditor,researcher, plus thebuilder-*set. - Skills:
tool-ast-grep,workflow-testing,workflow-thinking,foundation-cc/-core/-quality,ref-git-workflow,ref-owasp-checklist,ref-testing-pyramid,specialists,improve,parallel,perf-gate,learn,caveman,board,helper,codex-peer-review. - Hooks:
helper-suggest.mjs,helper-trigger.mjs.
- Job lifecycle. Concept → Plan → Implement → Test → Persona analysis → Evaluate → Fix → Present, with gates between stages and parallel jobs isolated on
git-fsbranches. - Brainstorm mode. Exploratory prompts stay conversational (no file writes) until the idea crystallizes into a dispatchable task.
- Machine law. Root-cause over patch, one clean implementation per change, single source of truth, glossary discipline, durable memory in kern, serialized writes to shared
main. - Project layer.
/oilwrites/.machine/(identity, stack, glossary, persona panel) so the same portable payload specializes to each repo. - One-shot bootstrap.
just bootstrap(orbash scripts/bootstrap.sh) installs and verifies every dependency in one idempotent pass.
.claude-plugin/ plugin + marketplace manifests (plugin.json, marketplace.json)
.claude/ the portable machine (the plugin payload)
├── agents/ 4 core agents — resolved by `name:` frontmatter
├── skills/ 8 core skills — one dir each, `name:` matches the dir
├── hooks/ Node ESM hooks + hooks.json plugin manifest
├── rules/ coding standards (project-scope; not shipped by the plugin)
├── output-styles/ comm modes (machine, einstein)
└── settings.json self-host hook wiring, env, default agent
mine/ the addon kit (curated; not loaded — slot in via /oil)
├── agents/ extracted specialist agents
├── skills/ extracted skills
└── hooks/ extracted hook scripts
/.machine/ the project layer (written per repo by /oil)
├── agent.md this repo's identity + hard rules
├── project.md stack, key paths, vision
├── glossary.csv the repo's vocabulary
├── personas/ the review panel
└── sessions/ drill roster / ledger (ephemeral)
Built for Claude Code. Portable. Project-agnostic. Specializes itself.
11 12 13 21 22 23 ▶31 32 33 14 15 16 24 25 26 34◀35 36 17 28 19 27 28 39 37 38 39
41 42 43 51 52 53 61 62 63 44 45 46 54 55 56 64 65 66 47 48 49 57 58 59 67 68 69
71 72 73 81 82 83 91 92 93 74 75 76 84 85 86 94 95 96 77 78 79 57 58 89 97 98 99