Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add nWave-ai/nWave --skill nw-mikado-methodgit clone --depth 1 https://github.com/nWave-ai/nWaveWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nwave-ai/nwave/nw-mikado-method)<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-mikado-method"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-mikado-method/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-mikado-method"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-mikado-method.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00028 | $0.01168 |
| Opus 5.5 | $0.00011 | $0.00467 |
| Sonnet 5.5 | $0.00006 | $0.00234 |
| Haiku 4.5 | $0.00003 | $0.00117 |
Grade A, and why
nw-mikado-method scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mikado Method
Use for complex refactoring where direct implementation causes cascading failures across multiple classes/modules.
When to Use
- Refactoring goal affects multiple classes/modules | Direct implementation causes cascade of failures
- Dependencies not immediately clear | High risk of breaking existing functionality
Core Process
Cycle: Set Goal > Experiment > Visualize prerequisites > Revert to working state.
Treat compilation/test failures as valuable information -- each failure reveals a prerequisite node in the dependency graph. Revert keeps codebase shippable at all times.
Discovery-Tracking Protocol
Commit immediately after each dependency discovery to preserve exploration history and enable interrupt/resume.
Commit Formats
- Dependency:
Discovery: [Class.Method(params)] requires [Prerequisite] in [File:Line] - False leaf:
Discovery: False leaf - [Node] blocked by [Dependency] - Exploration complete:
Discovery: No new dependencies found - exploration complete for [GoalArea] - Ready:
Ready: True leaves identified - [Count] leaves ready for execution
Exhaustive Exploration Algorithm
Sequence: EXPERIMENT > LEARN > GRAPH > COMMIT GRAPH > REVERT
- Experiment: Attempt naive implementation of stated goal
- Learn: Capture ALL compilation and test failures immediately
- Graph: Create concrete prerequisite nodes with exact specifications
- Commit Graph: Commit discovery with mandatory format
- Revert: Revert ALL code changes to maintain clean state
Termination Criteria
- Every apparent leaf candidate systematically attempted | No new dependencies emerge from leaf attempts
- Tree structure stable across multiple exploration cycles | True leaves confirmed with zero prerequisites
Concrete Node Specification
Nodes require method-level specificity:
- Method signatures:
ClassName.MethodName(parameter types) -> ReturnType - File locations:
src/Services/UserService.cs, line 45 - Access modifiers: public | private | internal | protected
- Refactoring technique: Extract Method | Move Method | etc.
- Atomic transformation: Rename | Extract | Inline | Move | Safe Delete
- Code smell target: Long Method | Feature Envy | etc.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 129 lines · 28 tokens per session scan A 474589da3d25
nw-mikado-method is a skill published in the GitHub repository nWave-ai/nWave (631 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 1,168 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
nw-mikado-method compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nw-mikado-methodnWave-ai/nWave | Skill | 631 | yesterday | MIT | A | 28 | Claude Code |
| behavior-contracta5c-ai/babysitter | Skill | 1.9k | 5d ago | MIT | A | 25 | Claude Code |
| debuggingInsajin/autopus-adk | Skill | 111 | 1mo ago | MIT | A | 16 | Claude Code, Codex |
| team-fixbostonaholic/team | Skill | 11 | yesterday | MIT | A | 30 | Claude Code, Codex |
| hk-rcadeepklarity/harness-kit | Skill | 104 | 3mo ago | MIT | A | 111 | Claude Code |
| debug-flowDVNghiem/FlowDeck | Skill | 42 | 2mo ago | MIT | A | 34 | Claude Code, Codex |
| investigatevictusfate/scaffold | Skill | 7 | 2d ago | MIT | A | 85 | Claude Code, Codex |