@ionivetech/mugiwara 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.opencode/commands/mugiwara-execute.md +11 -0
- package/.opencode/commands/mugiwara-heal.md +11 -0
- package/.opencode/commands/mugiwara-mode.md +6 -0
- package/.opencode/commands/mugiwara-plan.md +15 -0
- package/.opencode/commands/mugiwara-review.md +11 -0
- package/.opencode/commands/mugiwara-security.md +11 -0
- package/.opencode/commands/mugiwara-ship.md +11 -0
- package/.opencode/commands/mugiwara.md +11 -0
- package/.opencode/plugins/mugiwara.mjs +126 -7
- package/README.md +338 -355
- package/content/agents/brook-healing.md +2 -2
- package/content/agents/luffy-orchestrator.md +3 -2
- package/content/agents/robin-reviewer.md +1 -1
- package/content/agents/skeptic-verifier.md +1 -1
- package/content/agents/using-mugiwara.md +5 -1
- package/content/agents/usopp-brainstorm.md +1 -1
- package/content/agents/zoro-execution.md +1 -1
- package/content/skills/mugiwara-agent-security/SKILL.md +5 -0
- package/content/skills/mugiwara-api-and-interface-design/SKILL.md +92 -0
- package/content/skills/mugiwara-backend/SKILL.md +5 -0
- package/content/skills/mugiwara-brainstorm/SKILL.md +5 -0
- package/content/skills/mugiwara-checkpoint/SKILL.md +5 -0
- package/content/skills/mugiwara-context-engineering/SKILL.md +64 -0
- package/content/skills/mugiwara-deprecation/SKILL.md +5 -0
- package/content/skills/mugiwara-doubt-driven-development/SKILL.md +70 -0
- package/content/skills/mugiwara-dynamic-workflow/SKILL.md +5 -0
- package/content/skills/mugiwara-eval/SKILL.md +5 -0
- package/content/skills/mugiwara-execution/SKILL.md +9 -0
- package/content/skills/mugiwara-frontend/SKILL.md +61 -59
- package/content/skills/mugiwara-frontend/references/checklist.md +37 -0
- package/content/skills/mugiwara-gates/SKILL.md +9 -0
- package/content/skills/mugiwara-git/SKILL.md +5 -0
- package/content/skills/mugiwara-git-worktrees/SKILL.md +67 -0
- package/content/skills/mugiwara-healing/SKILL.md +17 -0
- package/content/skills/mugiwara-lessons/SKILL.md +5 -0
- package/content/skills/mugiwara-mode/SKILL.md +18 -4
- package/content/skills/mugiwara-observability/SKILL.md +5 -0
- package/content/skills/mugiwara-orchestration/SKILL.md +32 -1
- package/content/skills/mugiwara-planning/SKILL.md +25 -26
- package/content/skills/mugiwara-pr/SKILL.md +22 -6
- package/content/skills/mugiwara-quality/SKILL.md +15 -0
- package/content/skills/mugiwara-resume/SKILL.md +5 -0
- package/content/skills/mugiwara-review/SKILL.md +5 -0
- package/content/skills/mugiwara-security/SKILL.md +51 -14
- package/content/skills/mugiwara-ship/SKILL.md +29 -1
- package/content/skills/mugiwara-systematic-debugging/SKILL.md +82 -0
- package/content/skills/mugiwara-test-driven-development/SKILL.md +89 -0
- package/content/skills/mugiwara-testcases/SKILL.md +5 -0
- package/content/skills/mugiwara-workflow/SKILL.md +14 -3
- package/content/skills/mugiwara-writing-skills/SKILL.md +65 -0
- package/dist/mugiwara.js +175 -51
- package/docs/adoption-guide.md +3 -3
- package/docs/agents.md +2 -2
- package/docs/claude-setup.md +9 -4
- package/docs/codex-setup.md +3 -1
- package/docs/comparison.md +166 -44
- package/docs/config.md +53 -0
- package/docs/copilot-setup.md +3 -1
- package/docs/cursor-setup.md +3 -1
- package/docs/developer-onboarding.md +17 -13
- package/docs/enforcement.md +38 -0
- package/docs/execution-model.md +33 -0
- package/docs/gemini-setup.md +4 -1
- package/docs/getting-started.md +16 -4
- package/docs/index.md +14 -3
- package/docs/lanes.md +40 -0
- package/docs/modes.md +22 -12
- package/docs/opencode-setup.md +9 -2
- package/docs/pr-summary.md +54 -0
- package/docs/skill-anatomy.md +16 -6
- package/docs/skills.md +17 -5
- package/docs/troubleshooting.md +91 -0
- package/docs/windsurf-setup.md +3 -1
- package/docs/workflow.md +15 -6
- package/evals/cases/adversarial-pressure-fake-pass.json +12 -0
- package/evals/cases/adversarial-pressure-skip-review.json +13 -0
- package/evals/cases/lane-exploratory-vague.json +12 -0
- package/evals/cases/lane-sensitivity-payment.json +12 -0
- package/evals/cases/negative-secrets-typo.json +12 -0
- package/evals/cases/negative-security-docs-change.json +12 -0
- package/evals/cases/positive-refactor-existing-tests.json +11 -0
- package/evals/cases/positive-resume-mid-mission.json +11 -0
- package/evals/cases/routing-auth-feature.json +13 -0
- package/evals/cases/routing-bug-one-file.json +13 -0
- package/evals/cases/routing-typo.json +13 -0
- package/hooks/hooks.json +15 -0
- package/hooks/session-start.ts +8 -0
- package/package.json +3 -1
- package/src/args.ts +2 -1
- package/src/cli.ts +16 -20
- package/src/installer.ts +31 -3
- package/src/mission.ts +25 -0
- package/src/targets/claude.ts +22 -1
- package/src/targets/codex.ts +1 -1
- package/src/targets/copilot.ts +4 -0
- package/src/targets/gemini.ts +1 -1
- package/src/targets/generic.ts +33 -1
- package/src/targets/kilo.ts +1 -0
- package/src/targets/opencode.ts +4 -0
package/README.md
CHANGED
|
@@ -3,104 +3,203 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/@ionivetech/mugiwara)
|
|
4
4
|
[](https://github.com/ionivetech/mugiwara/blob/main/LICENSE)
|
|
5
5
|
|
|
6
|
-
The Straw Hat crew of AI agents and skills
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
|
79
|
-
|
|
80
|
-
| `mugiwara
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
6
|
+
**The Straw Hat crew of AI agents and skills.** A complete software
|
|
7
|
+
development workflow for your coding agent — triage, planning, execution,
|
|
8
|
+
verification, review, and shipping — with the discipline of a senior
|
|
9
|
+
engineering team.
|
|
10
|
+
|
|
11
|
+
Mugiwara is pure markdown. No daemons, no servers, no plugin to babysit. Your
|
|
12
|
+
existing coding agent reads the skills and runs them itself. It works across
|
|
13
|
+
12 coding agents — Claude Code, opencode, Gemini CLI, Codex, Cursor, Copilot,
|
|
14
|
+
Kimi, pi, Windsurf, Cline, Kilo Code, and Antigravity — and installs into
|
|
15
|
+
70+ more as plain skills.
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
TRIAGE PLAN BUILD VERIFY REVIEW SHIP
|
|
19
|
+
┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐
|
|
20
|
+
│ Luffy │ ──▶ │ Nami │ ──▶ │ Zoro │ ──▶ │ Chopper │ ──▶ │ Robin + │ ──▶ │ push + │
|
|
21
|
+
│ 5-way │ │ waves + │ │ TDD per │ │ Sanji + │ │ Jinbe │ │ ready PR │
|
|
22
|
+
│ triage │ │ tasks │ │ task │ │ Franky │ │ review+ │ │ summary │
|
|
23
|
+
└──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘
|
|
24
|
+
↰ exploratory → Usopp brainstorms fail → Brook heals ↺ Wave 4
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Why mugiwara
|
|
28
|
+
|
|
29
|
+
- **It just starts.** Give a non-trivial request — "add dark mode to the
|
|
30
|
+
settings page" — and the crew runs the pipeline in your main conversation,
|
|
31
|
+
with a compact checkpoint report at every stage. Nothing hides behind a
|
|
32
|
+
subagent click; you can interrupt any time.
|
|
33
|
+
- **The work is sized before it runs.** A one-file typo runs zero waves. An
|
|
34
|
+
architecture change runs all nine. Luffy routes each mission to a lane, so a
|
|
35
|
+
tiny fix never pays the price of a big feature — and a sensitive change never
|
|
36
|
+
sneaks through the lean path.
|
|
37
|
+
- **Evidence over claims.** No wave passes on a spoken "it works." The owning
|
|
38
|
+
agent runs the checks and shows output. Every skill also knows when it does
|
|
39
|
+
*not* apply — and says so, out loud.
|
|
40
|
+
- **It remembers.** Mission state lives in `.mugiwara/` — plans, results, a
|
|
41
|
+
failure ledger, and a lessons file. Lose context mid-mission and the crew
|
|
42
|
+
rebuilds from disk instead of restarting.
|
|
43
|
+
- **You stay in control.** The crew pushes the branch and hands you a
|
|
44
|
+
ready-to-paste PR summary. It never creates a PR, merges, or deploys on its
|
|
45
|
+
own. Three autonomy levels — guided, semi, auto — decide how much it does
|
|
46
|
+
without asking.
|
|
47
|
+
|
|
48
|
+
## Quick start
|
|
49
|
+
|
|
50
|
+
Install into your harness in one command, then just ask:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# Claude Code
|
|
54
|
+
/plugin marketplace add ionivetech/mugiwara && /plugin install mugiwara
|
|
55
|
+
|
|
56
|
+
# opencode
|
|
57
|
+
{ "plugin": ["@ionivetech/mugiwara"] } # add to opencode.json
|
|
58
|
+
|
|
59
|
+
# or via CLI for any target
|
|
60
|
+
npx @ionivetech/mugiwara@latest --project ./my-app --target all --yes
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
> add dark mode to the settings page
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
The crew announces itself at session start and routes the request. See
|
|
68
|
+
[docs/getting-started.md](docs/getting-started.md) for the full walkthrough.
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## The crew — 15 agents
|
|
73
|
+
|
|
74
|
+
Each agent is a focused specialist. The main thread embodies each role inline
|
|
75
|
+
using its skill; you can also summon any member directly by name. "Dispatch"
|
|
76
|
+
means *route the mission to this role* — crew members never dispatch each other.
|
|
77
|
+
|
|
78
|
+
| Agent | Crew member | Role | Summon for |
|
|
79
|
+
|-------|-------------|------|------------|
|
|
80
|
+
| `using-mugiwara` | Front Door | Router — classifies and routes, never implements | any new mission |
|
|
81
|
+
| `luffy-orchestrator` | Luffy | Captain — 5-way triage, lane sizing, check-ins, closure | mission start, escalations |
|
|
82
|
+
| `usopp-brainstorm` | Usopp | Critical friend — interrogates ideas, researches, no rubber-stamps | vague ideas, direction, options |
|
|
83
|
+
| `nami-planner` | Nami | Planner — interview-first, full-context scan, scaled plans | turning an idea into a plan |
|
|
84
|
+
| `zoro-execution` | Zoro | Executor — todo list first, inline tasks, parallel worker batches, evidence per task | executing an approved plan |
|
|
85
|
+
| `chopper-checkpoint` | Chopper | Auditor — re-verifies every acceptance criterion, writes the failure ledger, never fixes | auditing a wave's results |
|
|
86
|
+
| `sanji-quality` | Sanji | Quality — discovers real tooling, format / lint / test | after checkpoint passes |
|
|
87
|
+
| `franky-gates` | Franky | Gates — coverage, build, Definition of Done, binary verdicts | after quality checks |
|
|
88
|
+
| `robin-reviewer` | Robin | Reviewer — doubt-driven diff review, breaking-change map first | after gates pass |
|
|
89
|
+
| `jinbe-security` | Jinbe | Security — STRIDE, OWASP, secrets, injection, auth, dependencies | security audit of a diff |
|
|
90
|
+
| `brook-healing` | Brook | Healer — reads the ledger, root-cause fixes, proves each fix, ≤3 cycles | any wave produced failures |
|
|
91
|
+
| `skeptic-verifier` | Skeptic | Adversarial verifier — doubts every output, never validates | high-stakes verdicts, plans, reviews |
|
|
92
|
+
| `eval-runner` | Eval Runner | Harness tester — task suites, rubric comparison, pass/fail | verifying mugiwara itself works |
|
|
93
|
+
| `resume-coordinator` | Resume Coordinator | Resumer — rebuilds from `.mugiwara/`, continues never restarts | context loss, new session mid-mission |
|
|
94
|
+
| `memory-keeper` | Memory Keeper | Institutional memory — surfaces past lessons, captures new ones | mission start + closure |
|
|
95
|
+
|
|
96
|
+
Say a name and the role embodies itself:
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
> Chopper, audit the last wave against the plan
|
|
100
|
+
> Nami, plan this out
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Luffy still records the route and its reason, and direct calls do not skip
|
|
104
|
+
check-ins. See [docs/agents.md](docs/agents.md).
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## The techniques — 32 skills
|
|
109
|
+
|
|
110
|
+
Skills are the actual product: portable markdown playbooks that tell the agent
|
|
111
|
+
*how* to do each phase well. Agents are the personas; skills are the
|
|
112
|
+
knowledge. Every skill declares **when to use it** and **when to skip it**.
|
|
113
|
+
|
|
114
|
+
### The pipeline
|
|
115
|
+
|
|
116
|
+
| Skill | Used when |
|
|
117
|
+
|-------|-----------|
|
|
118
|
+
| `mugiwara-workflow` | starting any non-trivial mission — the harness entry point |
|
|
119
|
+
| `mugiwara-orchestration` | triaging a new mission, coordinating waves, closing out |
|
|
120
|
+
| `mugiwara-brainstorm` | exploring a vague idea or architecture choice before planning |
|
|
121
|
+
| `mugiwara-planning` | turning an approved idea or spec into an execution plan |
|
|
122
|
+
| `mugiwara-execution` | executing an approved wave-structured plan |
|
|
123
|
+
| `mugiwara-checkpoint` | auditing a wave's results against the plan, criterion by criterion |
|
|
124
|
+
| `mugiwara-healing` | earlier waves produced failures — test, gate, review, or security findings |
|
|
125
|
+
| `mugiwara-resume` | a mission was interrupted, context lost, or a new session starts mid-mission |
|
|
126
|
+
| `mugiwara-mode` | reading or changing the autonomy level (guided / semi / auto) |
|
|
127
|
+
|
|
128
|
+
### Engineering practice
|
|
129
|
+
|
|
130
|
+
| Skill | Used when |
|
|
131
|
+
|-------|-----------|
|
|
132
|
+
| `mugiwara-test-driven-development` | writing code during execution — RED-GREEN-REFACTOR |
|
|
133
|
+
| `mugiwara-testcases` | a mission declares user-provided test cases or acceptance criteria |
|
|
134
|
+
| `mugiwara-systematic-debugging` | a bug, crash, or unexplained regression needs root-cause discipline |
|
|
135
|
+
| `mugiwara-api-and-interface-design` | designing or reviewing an API, interface, or inter-service contract |
|
|
136
|
+
| `mugiwara-doubt-driven-development` | an in-flight decision is cheap to verify now but costly to reverse later |
|
|
137
|
+
| `mugiwara-context-engineering` | working in a large codebase, long session, or near the context limit |
|
|
138
|
+
| `mugiwara-git` | committing, splitting commits, or debugging via git history |
|
|
139
|
+
| `mugiwara-git-worktrees` | running parallel branches without polluting the working tree |
|
|
140
|
+
| `mugiwara-deprecation` | retiring code or steering users onto a replacement |
|
|
141
|
+
| `mugiwara-frontend` | any frontend implementation or redesign — anti-slop, WCAG 2.1 AA |
|
|
142
|
+
| `mugiwara-backend` | implementing or reviewing backend/server code |
|
|
143
|
+
| `mugiwara-agent-security` | reviewing the agent layer itself — injection, poisoning, excessive agency |
|
|
144
|
+
|
|
145
|
+
### Verification & review
|
|
146
|
+
|
|
147
|
+
| Skill | Used when |
|
|
148
|
+
|-------|-----------|
|
|
149
|
+
| `mugiwara-quality` | running format / lint / test after checkpoint passes |
|
|
150
|
+
| `mugiwara-gates` | enforcing coverage, build, and Definition of Done |
|
|
151
|
+
| `mugiwara-review` | reviewing the diff adversarially after gates pass |
|
|
152
|
+
| `mugiwara-security` | running the security audit of a diff or system |
|
|
153
|
+
| `mugiwara-ship` | running the pre-launch gate before anything reaches users |
|
|
154
|
+
|
|
155
|
+
### Team & meta
|
|
156
|
+
|
|
157
|
+
| Skill | Used when |
|
|
158
|
+
|-------|-----------|
|
|
159
|
+
| `mugiwara-pr` | pushing the branch and preparing the PR material at closure |
|
|
160
|
+
| `mugiwara-lessons` | reading/writing the cross-mission lessons ledger |
|
|
161
|
+
| `mugiwara-observability` | tracing how the crew ran a mission |
|
|
162
|
+
| `mugiwara-dynamic-workflow` | a mission has many subtasks, needs comparison, or risks agent bias |
|
|
163
|
+
| `mugiwara-eval` | verifying a mugiwara skill or agent actually works |
|
|
164
|
+
| `mugiwara-writing-skills` | authoring or revising a mugiwara skill |
|
|
165
|
+
|
|
166
|
+
Every install ships the full set — no project-type selection. The harness
|
|
167
|
+
routes each task to the right skill, and a skill with nothing to do says so and
|
|
168
|
+
steps aside. See [docs/skills.md](docs/skills.md) for the anatomy and
|
|
169
|
+
[docs/skill-anatomy.md](docs/skill-anatomy.md) for the format spec.
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## How mugiwara works
|
|
174
|
+
|
|
175
|
+
### Auto-activation
|
|
176
|
+
|
|
177
|
+
At session start the crew is announced. Give a non-trivial request and the
|
|
178
|
+
pipeline runs by itself — no command to remember. `/using-mugiwara` remains an
|
|
179
|
+
optional router if you want to hand-route a mission.
|
|
180
|
+
|
|
181
|
+
### Sizing: the lanes
|
|
182
|
+
|
|
183
|
+
At Wave 0, Luffy sizes the request and picks a lane. The lane decides how many
|
|
184
|
+
waves run:
|
|
185
|
+
|
|
186
|
+
| Lane | Picks when | Waves |
|
|
187
|
+
|------|-----------|-------|
|
|
188
|
+
| **0 · Direct** | typo, rename, one file under 20 lines | none |
|
|
189
|
+
| **1 · Lean** | bug in 1-2 files, under 50 lines | execute → quality |
|
|
190
|
+
| **2 · Standard** | feature, 3-8 files | plan → execute → checkpoint → review |
|
|
191
|
+
| **3 · Full** | architecture, migration, auth/payment, API | all 9 waves |
|
|
192
|
+
| **4 · Spike** | exploratory, needs direction | brainstorm → re-triage |
|
|
193
|
+
|
|
194
|
+
The lane escalates when the work outgrows the estimate (the diff balloons, a
|
|
195
|
+
sensitive path appears, failures repeat) — but never shrinks on its own.
|
|
196
|
+
Under-process costs more than over-process.
|
|
197
|
+
|
|
198
|
+
### The wave pipeline
|
|
99
199
|
|
|
100
200
|
```mermaid
|
|
101
201
|
flowchart TD
|
|
102
|
-
U[User request] -->
|
|
103
|
-
FD --> G{Luffy triage}
|
|
202
|
+
U[User request] --> G{Luffy triage}
|
|
104
203
|
G -- exploratory --> B[Usopp brainstorm]
|
|
105
204
|
G -- clear work --> N[Nami plan]
|
|
106
205
|
B --> N
|
|
@@ -112,355 +211,239 @@ flowchart TD
|
|
|
112
211
|
RJ -- pass --> LC[Luffy closure]
|
|
113
212
|
RJ -- fail --> BH[Brook heal]
|
|
114
213
|
BH --> CP
|
|
115
|
-
LC --> CL[
|
|
214
|
+
LC --> CL[push + ready PR summary]
|
|
116
215
|
```
|
|
117
216
|
|
|
118
|
-
The same pipeline as a portable table (renders anywhere markdown does):
|
|
119
|
-
|
|
120
217
|
| Wave | Owner | Skill | Output |
|
|
121
218
|
|------|-------|-------|--------|
|
|
122
|
-
| 0 Triage | Luffy | `mugiwara-orchestration` |
|
|
219
|
+
| 0 Triage | Luffy | `mugiwara-orchestration` | route + lane + reason |
|
|
123
220
|
| 1 Brainstorm | Usopp | `mugiwara-brainstorm` | refined direction, options, recommendation |
|
|
124
|
-
| 2 Planning | Nami | `mugiwara-planning` | plan doc: waves, tasks, acceptance
|
|
221
|
+
| 2 Planning | Nami | `mugiwara-planning` | plan doc: waves, tasks, dependency edges, acceptance |
|
|
125
222
|
| 3 Execution | Zoro | `mugiwara-execution` | implemented tasks with evidence |
|
|
126
223
|
| 4 Checkpoint | Chopper | `mugiwara-checkpoint` | audit report + failure ledger |
|
|
127
|
-
| 5 Quality | Sanji | `mugiwara-quality` | formatter/linter/test results |
|
|
224
|
+
| 5 Quality | Sanji | `mugiwara-quality` | formatter / linter / test results |
|
|
128
225
|
| 6 Gates | Franky | `mugiwara-gates` | coverage + build verdict |
|
|
129
|
-
| 7 Review | Robin ∥ Jinbe | `mugiwara-review` + `mugiwara-security` | severity-tagged findings
|
|
130
|
-
| 8 Healing | Brook | `mugiwara-healing` | fixes; loops
|
|
131
|
-
| 9 Closure | Luffy | `mugiwara-orchestration` | push + ready PR
|
|
226
|
+
| 7 Review | Robin ∥ Jinbe | `mugiwara-review` + `mugiwara-security` | severity-tagged findings |
|
|
227
|
+
| 8 Healing | Brook | `mugiwara-healing` | fixes; loops to Wave 4, max 3 cycles |
|
|
228
|
+
| 9 Closure | Luffy | `mugiwara-orchestration` | summary + push + ready PR summary |
|
|
229
|
+
|
|
230
|
+
**You see progress, not a firehose.** Each wave opens with a banner
|
|
231
|
+
(`## Wave N — <crew> (<skill>)`), closes with a compact checkpoint report (what
|
|
232
|
+
ran / result / evidence pointer), and pauses when something fails or gets
|
|
233
|
+
risky. Subagents appear only where they genuinely help: parallel task batches
|
|
234
|
+
and independent re-verification.
|
|
132
235
|
|
|
133
|
-
###
|
|
236
|
+
### What a mission looks like
|
|
134
237
|
|
|
135
|
-
|
|
136
|
-
(project, overrides global `~/.mugiwara/config`):
|
|
238
|
+
Small and specific:
|
|
137
239
|
|
|
138
240
|
```
|
|
139
|
-
|
|
140
|
-
branch=feature/{type}-{issue}-{slug}
|
|
141
|
-
commit=conventional
|
|
241
|
+
> fix the date formatting bug in src/utils/format.ts
|
|
142
242
|
```
|
|
143
243
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
| **semi** | present plan for user GO | auto | self-answer + log | log, no pause |
|
|
148
|
-
| **auto** | gated auto-GO | auto | self-answer + log | log, no pause |
|
|
149
|
-
|
|
150
|
-
- **guided** — the default, for when you want to steer everything. You approve
|
|
151
|
-
the plan, decide branch and commit style, answer ambiguities, and get asked at
|
|
152
|
-
every gate.
|
|
153
|
-
- **semi** — the crew self-manages branch, commits, and ambiguities (logging
|
|
154
|
-
each decision), but you still give the plan an explicit GO.
|
|
155
|
-
- **auto** — hands-off, with one safety line: the plan proceeds past approval
|
|
156
|
-
only with zero blocking ambiguities AND zero high-risk tasks (deploy /
|
|
157
|
-
migration / DB / public API / state-mutating). Otherwise it stops for you.
|
|
158
|
-
|
|
159
|
-
Two invariants hold in **every** mode:
|
|
160
|
-
|
|
161
|
-
- **Consent.** State-mutating tests against non-isolated/shared state (real DB
|
|
162
|
-
writes, network, browsers) always require your explicit consent. Provably
|
|
163
|
-
isolated mutation (in-memory / temp / testcontainer-backed) is auto-safe.
|
|
164
|
-
- **Terminal.** Every mode ends at push + ready PR + verdict file handed to
|
|
165
|
-
you — the crew never merges, never deploys, never auto-reacts to review
|
|
166
|
-
comments or CI.
|
|
244
|
+
Luffy routes it to **Lane 1** and the crew runs two waves — Zoro reproduces and
|
|
245
|
+
fixes, then Sanji formats and tests — all visible as checkpoint reports. No
|
|
246
|
+
nine-wave ceremony for a one-file bug.
|
|
167
247
|
|
|
168
|
-
|
|
169
|
-
the change applies from the next wave, never mid-wave. Missing config on read =
|
|
170
|
-
`guided`. See `mugiwara-mode` for the full contract.
|
|
248
|
+
Big and sensitive:
|
|
171
249
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
250
|
+
```
|
|
251
|
+
> add role-based access control to the API
|
|
252
|
+
```
|
|
175
253
|
|
|
176
|
-
|
|
254
|
+
That touches auth, so Luffy routes it to **Lane 3**. Nami plans the migration
|
|
255
|
+
waves, Zoro executes test-first, Chopper re-verifies every criterion, Sanji and
|
|
256
|
+
Franky gate it, Robin and Jinbe review, Brook heals anything that fails, and
|
|
257
|
+
Luffy closes with a ready PR summary. Every wave reports inline.
|
|
177
258
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
wave. ("Subagents lie. No evidence = not complete.")
|
|
181
|
-
- **The plan is the source of truth.** From Wave 2 on, `.mugiwara/plans/<date>-<mission>.md` holds the clean execution plan; the decision log (`logs/`) holds the who-and-why trace. No wave is skipped without the reason recorded there.
|
|
259
|
+
That is the point of mugiwara: **the process scales to the work, and you can
|
|
260
|
+
see all of it.**
|
|
182
261
|
|
|
183
|
-
### The
|
|
262
|
+
### The workspace
|
|
184
263
|
|
|
185
264
|
Every mission works inside `.mugiwara/` at the repo root:
|
|
186
265
|
|
|
187
266
|
```
|
|
188
267
|
.mugiwara/
|
|
189
|
-
├── config #
|
|
190
|
-
├── spec/ # brainstorm output
|
|
191
|
-
├── plans/ # plan docs — clean, Nami-only,
|
|
192
|
-
├── results/ # wave results: audits, test output, gate verdicts
|
|
268
|
+
├── config # mode + writing standards (gitignored)
|
|
269
|
+
├── spec/ # brainstorm output
|
|
270
|
+
├── plans/ # plan docs — clean, Nami-only, source of truth from Wave 2
|
|
271
|
+
├── results/ # wave results: audits, test output, gate verdicts
|
|
193
272
|
├── review/ # review + security findings
|
|
194
|
-
├── issues/ # blocker + failure ledger
|
|
195
|
-
|
|
273
|
+
├── issues/ # blocker + failure ledger
|
|
274
|
+
├── refs/ # full skill/agent bodies for glob-loading harnesses
|
|
275
|
+
└── logs/ # decision + check-in log per mission (deleted at cleanup)
|
|
196
276
|
```
|
|
197
277
|
|
|
198
|
-
|
|
199
|
-
Luffy gateway; from Wave 2 the mission runs as a wave pipeline owned by one crew
|
|
200
|
-
member per wave. **The main thread runs every wave inline** — it embodies each
|
|
201
|
-
crew role using that member's skill, so the whole pipeline plays out in your
|
|
202
|
-
main conversation and you watch it as it happens. Subagents are used only where
|
|
203
|
-
they genuinely help: independent `[PARALLEL]` task batches and background
|
|
204
|
-
checks. No work is hidden behind a subagent expand-click.
|
|
278
|
+
Two rules hold it together:
|
|
205
279
|
|
|
206
|
-
**
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
280
|
+
1. **Evidence over claims.** No wave passes on assertion — the owning agent
|
|
281
|
+
runs the checks and shows output.
|
|
282
|
+
2. **The plan is the source of truth.** From Wave 2 on, the plan doc holds the
|
|
283
|
+
clean execution plan; the decision log holds the who-and-why trace. A
|
|
284
|
+
skipped wave is recorded, never silent.
|
|
210
285
|
|
|
211
|
-
|
|
212
|
-
files (consumed results, review, issues, and per-mission decision logs). The
|
|
213
|
-
plan doc and the closure report stay.
|
|
286
|
+
### Manual stages
|
|
214
287
|
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
## Install
|
|
288
|
+
Prefer to drive the stages yourself? Every stage has a slash command that loads
|
|
289
|
+
the skill, runs the role inline, and bridges state from `.mugiwara/`:
|
|
219
290
|
|
|
220
|
-
|
|
291
|
+
| Command | Runs | Reads state from |
|
|
292
|
+
|---------|------|------------------|
|
|
293
|
+
| `/mugiwara-plan` | Nami | `.mugiwara/spec/` |
|
|
294
|
+
| `/mugiwara-execute` | Zoro | `.mugiwara/plans/` |
|
|
295
|
+
| `/mugiwara-review` | Robin | `.mugiwara/results/` + diff |
|
|
296
|
+
| `/mugiwara-security` | Jinbe | `.mugiwara/results/` + diff |
|
|
297
|
+
| `/mugiwara-heal` | Brook | `.mugiwara/issues/` |
|
|
298
|
+
| `/mugiwara-ship` | Luffy | plan + results |
|
|
221
299
|
|
|
222
|
-
|
|
223
|
-
Pick your harness:
|
|
300
|
+
Jump in at any stage — plan today, execute tomorrow.
|
|
224
301
|
|
|
225
|
-
|
|
302
|
+
---
|
|
226
303
|
|
|
227
|
-
|
|
228
|
-
/plugin marketplace add ionivetech/mugiwara
|
|
229
|
-
/plugin install mugiwara
|
|
230
|
-
```
|
|
304
|
+
## Modes & autonomy
|
|
231
305
|
|
|
232
|
-
|
|
306
|
+
Three autonomy levels, set in `.mugiwara/config`:
|
|
233
307
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
308
|
+
| Level | Plan GO | Branch/commit | Ambiguities | Check-ins |
|
|
309
|
+
|-------|---------|---------------|-------------|-----------|
|
|
310
|
+
| **guided** | ask the user | ask the user | ask the user | ask the user |
|
|
311
|
+
| **semi** | present plan for user GO | auto | self-answer + log | log, no pause |
|
|
312
|
+
| **auto** | gated auto-GO | auto | self-answer + log | log, no pause |
|
|
238
313
|
|
|
239
|
-
**
|
|
314
|
+
- **guided** — the default. You approve the plan, decide branch and commits,
|
|
315
|
+
answer ambiguities, and open the PR yourself.
|
|
316
|
+
- **semi** — the crew self-manages branch, commits, and ambiguities (logging
|
|
317
|
+
each decision), but the plan still needs your explicit GO.
|
|
318
|
+
- **auto** — hands-off, with one safety line: the plan proceeds only with zero
|
|
319
|
+
blocking ambiguities AND zero high-risk tasks (deploy / migration / DB /
|
|
320
|
+
public API / state-mutating).
|
|
240
321
|
|
|
241
|
-
|
|
242
|
-
{ "plugin": ["@ionivetech/mugiwara"] }
|
|
243
|
-
```
|
|
322
|
+
Two invariants hold in every mode:
|
|
244
323
|
|
|
245
|
-
|
|
324
|
+
- **Consent.** State-mutating tests against shared state (real DB writes,
|
|
325
|
+
network, browsers) always require your explicit consent. Provably isolated
|
|
326
|
+
mutation is auto-safe.
|
|
327
|
+
- **Terminal.** Every mode ends at push + ready PR summary + verdict file. The
|
|
328
|
+
crew never creates a PR, merges, deploys, or auto-reacts to review comments.
|
|
246
329
|
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
```
|
|
330
|
+
Flip mid-mission with `mugiwara mode <guided|semi|auto>`. The PR description is
|
|
331
|
+
prepared for you — see [docs/pr-summary.md](docs/pr-summary.md).
|
|
250
332
|
|
|
251
|
-
|
|
333
|
+
---
|
|
252
334
|
|
|
253
|
-
|
|
254
|
-
codex plugin marketplace add ionivetech/mugiwara
|
|
255
|
-
codex plugin add mugiwara@mugiwara
|
|
256
|
-
```
|
|
335
|
+
## Configuration
|
|
257
336
|
|
|
258
|
-
|
|
337
|
+
`.mugiwara/config` (project) overrides `~/.mugiwara/config` (global). Plain
|
|
338
|
+
`key=value` lines, `#` comments allowed.
|
|
259
339
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
```bash
|
|
267
|
-
gemini extensions install https://github.com/ionivetech/mugiwara
|
|
268
|
-
```
|
|
340
|
+
| Key | Values | Default | Meaning |
|
|
341
|
+
|-----|--------|---------|---------|
|
|
342
|
+
| `mode` | guided / semi / auto | guided | How much the crew does without asking |
|
|
343
|
+
| `branch` | pattern | `feature/{type}-{issue}-{slug}` | Branch naming |
|
|
344
|
+
| `commit` | conventional / gitmoji / plain | conventional | Commit message style |
|
|
345
|
+
| `base` | branch name | `main` | The PR target in the prepared summary |
|
|
269
346
|
|
|
270
|
-
|
|
347
|
+
Commit styles: `conventional` (`feat: ...`, `fix(scope): ...`), `gitmoji`
|
|
348
|
+
(`✨ feat: ...`), or `plain` (`Fix export csv encoding`). See
|
|
349
|
+
[docs/config.md](docs/config.md).
|
|
271
350
|
|
|
272
|
-
|
|
273
|
-
/plugins install https://github.com/ionivetech/mugiwara
|
|
274
|
-
```
|
|
351
|
+
---
|
|
275
352
|
|
|
276
|
-
|
|
353
|
+
## Install
|
|
277
354
|
|
|
278
|
-
|
|
279
|
-
pi install git:github.com/ionivetech/mugiwara
|
|
280
|
-
```
|
|
355
|
+
### Via your coding agent
|
|
281
356
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
357
|
+
| Harness | Install |
|
|
358
|
+
|---------|---------|
|
|
359
|
+
| Claude Code | `/plugin marketplace add ionivetech/mugiwara` then `/plugin install mugiwara` |
|
|
360
|
+
| opencode | add `{ "plugin": ["@ionivetech/mugiwara"] }` to `opencode.json` |
|
|
361
|
+
| GitHub Copilot | `copilot plugin marketplace add ionivetech/mugiwara` then `copilot plugin install mugiwara` |
|
|
362
|
+
| Gemini CLI | `gemini extensions install https://github.com/ionivetech/mugiwara` |
|
|
363
|
+
| Codex | `codex plugin marketplace add ionivetech/mugiwara` then `codex plugin add mugiwara@mugiwara` |
|
|
364
|
+
| Cursor | `/add-plugin mugiwara` |
|
|
365
|
+
| Kimi Code | `/plugins install https://github.com/ionivetech/mugiwara` |
|
|
366
|
+
| pi | `pi install git:github.com/ionivetech/mugiwara` |
|
|
286
367
|
|
|
287
|
-
### Via
|
|
368
|
+
### Via the CLI
|
|
288
369
|
|
|
289
|
-
Requires **Node.js >= 20.11**.
|
|
290
|
-
source.
|
|
370
|
+
Requires **Node.js >= 20.11**.
|
|
291
371
|
|
|
292
372
|
```bash
|
|
293
|
-
#
|
|
373
|
+
# run without installing (wizard)
|
|
294
374
|
npx @ionivetech/mugiwara@latest
|
|
295
375
|
|
|
296
|
-
# non-interactive: global Claude Code install
|
|
376
|
+
# non-interactive: global Claude Code install
|
|
297
377
|
npx @ionivetech/mugiwara@latest --global --target claude --yes
|
|
298
378
|
|
|
299
|
-
#
|
|
379
|
+
# project install for several harnesses
|
|
300
380
|
npx @ionivetech/mugiwara@latest --project ./my-app --target opencode,copilot --yes
|
|
301
381
|
|
|
302
|
-
#
|
|
382
|
+
# global install, run `mugiwara` anywhere
|
|
303
383
|
npm install -g @ionivetech/mugiwara
|
|
304
384
|
```
|
|
305
385
|
|
|
306
386
|
```bash
|
|
307
|
-
#
|
|
387
|
+
# macOS / Linux one-liner
|
|
308
388
|
curl -fsSL https://raw.githubusercontent.com/ionivetech/mugiwara/main/scripts/install.sh | bash
|
|
309
|
-
```
|
|
310
389
|
|
|
311
|
-
|
|
312
|
-
# PowerShell — Windows one-liner
|
|
390
|
+
# Windows
|
|
313
391
|
irm https://raw.githubusercontent.com/ionivetech/mugiwara/main/scripts/install.ps1 | iex
|
|
314
392
|
```
|
|
315
393
|
|
|
316
|
-
|
|
317
|
-
same CLI (`npx -y @ionivetech/mugiwara@latest`), forwarding any flags you pass.
|
|
394
|
+
### Skills only, any agent
|
|
318
395
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
Codex, Gemini CLI, and 70+ other agents via [skills.sh](https://skills.sh):
|
|
396
|
+
All 32 skills ship in the standard [agentskills.io](https://agentskills.io)
|
|
397
|
+
layout, so you can install just the skills into 70+ agents via
|
|
398
|
+
[skills.sh](https://skills.sh):
|
|
323
399
|
|
|
324
400
|
```bash
|
|
325
401
|
npx skills add ionivetech/mugiwara
|
|
326
402
|
```
|
|
327
403
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
lists the installable set.
|
|
331
|
-
|
|
332
|
-
### Requirements
|
|
333
|
-
|
|
334
|
-
| Dependency | Required for | Version |
|
|
335
|
-
|------------|--------------|---------|
|
|
336
|
-
| Node.js | running the CLI and the built artifact | >= 20.11 |
|
|
337
|
-
| Bun | building from source, running tests | optional |
|
|
404
|
+
Update — `mugiwara update` or re-run your harness's install command. Uninstall
|
|
405
|
+
— `mugiwara uninstall` removes exactly what the manifest recorded.
|
|
338
406
|
|
|
339
|
-
|
|
407
|
+
---
|
|
340
408
|
|
|
341
|
-
|
|
342
|
-
$ npx @ionivetech/mugiwara@latest --global --target claude --yes
|
|
343
|
-
mugiwara — installing crew for: claude
|
|
344
|
-
✓ claude 15 agents, 25 skills → ~/.claude/skills + ~/.claude/agents
|
|
345
|
-
✓ manifest wrote ~/.mugiwara/manifest.json
|
|
346
|
-
✓ done 24 files written
|
|
347
|
-
|
|
348
|
-
$ # now just ask your Claude Code session
|
|
349
|
-
> add dark mode to the settings page
|
|
350
|
-
|
|
351
|
-
Wave 0 Luffy triage → route: plan (requirements mostly clear)
|
|
352
|
-
Wave 2 Nami plan → .mugiwara/plans/2026-08-10-dark-mode.md (3 waves)
|
|
353
|
-
Wave 3 Zoro execute→ 3 tasks, evidence shown per task
|
|
354
|
-
Wave 4 Chopper audit → FAIL: toggle does not persist (ledger written)
|
|
355
|
-
Wave 8 Brook heal → fixed persistence + tests, looped back → PASS
|
|
356
|
-
Wave 9 Luffy closure→ report appended to plan, intermediate files cleaned
|
|
357
|
-
```
|
|
358
|
-
|
|
359
|
-
You never drive the sequence — you answer Nami's clarifying questions up front
|
|
360
|
-
and review Brook's rollback note if a fix is risky.
|
|
361
|
-
|
|
362
|
-
## Commands and flags
|
|
363
|
-
|
|
364
|
-
### Commands
|
|
409
|
+
## CLI reference
|
|
365
410
|
|
|
366
411
|
| Command | Effect |
|
|
367
412
|
|---------|--------|
|
|
368
413
|
| `mugiwara install` | Install the crew (default; wizard when flags are missing) |
|
|
369
|
-
| `mugiwara update` | Replace installed files, backing up differences
|
|
414
|
+
| `mugiwara update` | Replace installed files, backing up differences first |
|
|
370
415
|
| `mugiwara uninstall` | Remove exactly what the install manifest recorded |
|
|
371
416
|
| `mugiwara list` | Show installations (project + global manifests) |
|
|
372
|
-
| `mugiwara
|
|
373
|
-
| `mugiwara --help` |
|
|
374
|
-
| `mugiwara --version` | Print the package version |
|
|
375
|
-
|
|
376
|
-
### Flags
|
|
417
|
+
| `mugiwara reset` | Wipe mission state (`--keep-logs` preserves the lessons ledger) |
|
|
418
|
+
| `mugiwara --help` / `--version` | Help / version |
|
|
377
419
|
|
|
378
420
|
| Flag | Meaning |
|
|
379
421
|
|------|---------|
|
|
380
|
-
| `--global` | Install user-wide
|
|
381
|
-
| `--project <dir>` | Install into a project directory
|
|
382
|
-
| `--target <ids\|all>` | Comma-separated target IDs, or `all
|
|
383
|
-
| `--yes`, `-y` | Non-interactive
|
|
384
|
-
| `--force` | Overwrite files
|
|
385
|
-
| `--dry-run` | Print
|
|
422
|
+
| `--global` | Install user-wide |
|
|
423
|
+
| `--project <dir>` | Install into a project directory |
|
|
424
|
+
| `--target <ids\|all>` | Comma-separated target IDs, or `all` |
|
|
425
|
+
| `--yes`, `-y` | Non-interactive |
|
|
426
|
+
| `--force` | Overwrite differing files (with backup) |
|
|
427
|
+
| `--dry-run` | Print actions without writing |
|
|
428
|
+
| `--keep-logs` | With `reset`: keep `.mugiwara/logs` (lessons ledger) |
|
|
386
429
|
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
430
|
+
Every install writes `.mugiwara/manifest.json` recording the version, scope,
|
|
431
|
+
targets, and exact written files — which is what `update` and `uninstall` use
|
|
432
|
+
to operate safely.
|
|
390
433
|
|
|
391
|
-
|
|
392
|
-
npx @ionivetech/mugiwara@latest --global --target all --yes --dry-run
|
|
434
|
+
---
|
|
393
435
|
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
436
|
+
## Comparing
|
|
437
|
+
|
|
438
|
+
Mugiwara is a skills pack with a named crew and a gated pipeline. For an honest
|
|
439
|
+
side-by-side against superpowers, agent-skills, frameworks, and mega-prompts —
|
|
440
|
+
including a measured benchmark — see [docs/comparison.md](docs/comparison.md).
|
|
441
|
+
|
|
442
|
+
## Docs & roadmap
|
|
397
443
|
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
global). The manifest records the version, scope, targets, and the exact
|
|
402
|
-
list of written files — which is what `update` and `uninstall` use to operate
|
|
403
|
-
safely.
|
|
404
|
-
|
|
405
|
-
## Targets
|
|
406
|
-
|
|
407
|
-
All nine supported targets. **Native** targets get first-class skills and
|
|
408
|
-
agents; the rest get markdown rule files the tool picks up from a conventions
|
|
409
|
-
directory. Targets marked *project only* are skipped (with a note) when you
|
|
410
|
-
install with `--global`.
|
|
411
|
-
|
|
412
|
-
| Target | Scope | Installs as |
|
|
413
|
-
|--------|-------|-------------|
|
|
414
|
-
| Claude Code | global + project | Native skills (`SKILL.md`) + agents in `.claude/skills` / `.claude/agents` (`~/.claude` globally) |
|
|
415
|
-
| opencode | global + project | Native skills + agents in `.opencode/skills` / `.opencode/agents` (`~/.config/opencode` globally) |
|
|
416
|
-
| GitHub Copilot | global + project | Skills as `.instructions.md` files + agents in `instructions/` / `agents/` (`.github` project, `~/.copilot` global) |
|
|
417
|
-
| Gemini CLI | project only | Markdown rules in `.gemini/mugiwara/` + `GEMINI.md` pointer |
|
|
418
|
-
| Codex | project only | Markdown rules in `.codex/mugiwara/` + `AGENTS.md` pointer |
|
|
419
|
-
| Windsurf | project only | Rules files in `.devin/rules` |
|
|
420
|
-
| Cline | project only | Rules files in `.clinerules` |
|
|
421
|
-
| Kilo Code | project only | Rules files in `.kilo/rules` + `kilo.jsonc` pointer |
|
|
422
|
-
| Antigravity | project only | Rules files in `.agents/rules` |
|
|
423
|
-
|
|
424
|
-
For rule-based targets, skills land as `mugiwara-*.md` and agents as
|
|
425
|
-
`agent-<name>.md`. Targets with a bootstrap file (`Gemini`, `Codex`, `Kilo`)
|
|
426
|
-
create it if it doesn't exist and otherwise tell you the line to add, so your
|
|
427
|
-
tool points at the crew.
|
|
428
|
-
|
|
429
|
-
## Plugin manifests
|
|
430
|
-
|
|
431
|
-
Beyond the Claude Code marketplace, mugiwara ships native plugin manifests at
|
|
432
|
-
the repo root so each harness's own installer can pick it up:
|
|
433
|
-
|
|
434
|
-
| Manifest | Harness |
|
|
435
|
-
|----------|---------|
|
|
436
|
-
| `.claude-plugin/` | Claude Code + GitHub Copilot CLI (marketplace) |
|
|
437
|
-
| `.opencode/plugins/mugiwara.mjs` | opencode (`plugin` array in `opencode.json`) |
|
|
438
|
-
| `gemini-extension.json` + `GEMINI.md` | Gemini CLI |
|
|
439
|
-
| `.codex-plugin/plugin.json` | Codex |
|
|
440
|
-
| `.cursor-plugin/plugin.json` | Cursor |
|
|
441
|
-
| `.kimi-plugin/plugin.json` | Kimi Code |
|
|
442
|
-
| `package.json` `"pi"` | pi |
|
|
443
|
-
|
|
444
|
-
All manifests are skills-only and mirror `content/` as the source of truth —
|
|
445
|
-
no hooks, no runtime. The opencode plugin also registers the 15 agents as
|
|
446
|
-
subagents. Version numbers in the manifests sync from `package.json` via
|
|
447
|
-
`bun run sync-version` (runs automatically on publish).
|
|
448
|
-
|
|
449
|
-
> **Copilot caveat.** Copilot CLI reads the Claude marketplace for skills, but
|
|
450
|
-
> the agents are **Claude-native `.md` files** — they do not auto-discover in
|
|
451
|
-
> Copilot. Skills install and function; agents are best consumed through the
|
|
452
|
-
> regular CLI install path (which writes Copilot-native `.instructions.md`
|
|
453
|
-
> skills and `.md` agents).
|
|
454
|
-
|
|
455
|
-
## Contributing
|
|
456
|
-
|
|
457
|
-
Open an issue or pull request on GitHub.
|
|
458
|
-
|
|
459
|
-
## Resources
|
|
460
|
-
|
|
461
|
-
- Docs: [docs/index.md](docs/index.md) — adoption guide, per-harness installs, crew & skill references
|
|
462
|
-
- GitHub: <https://github.com/ionivetech/mugiwara>
|
|
463
|
-
- npm: <https://www.npmjs.com/package/@ionivetech/mugiwara>
|
|
444
|
+
- [Docs index](docs/index.md) — adoption guide, installs, crew & skill references
|
|
445
|
+
- [Troubleshooting](docs/troubleshooting.md) — common problems and fixes
|
|
446
|
+
- [Roadmap](ROADMAP.md) — what is planned next
|
|
464
447
|
|
|
465
448
|
## License
|
|
466
449
|
|