SKILL.md at the repo root teaches AI models when and how to use MisakaNet for failure recovery. It's designed for Claude Code, Cursor, and other skill-aware environments.
When a model encounters an error, it checks SKILL.md to understand:
- When to search: errors, exceptions, CI failures, tool failures, regressions
- How to search: use
misakanet_searchwith the error message - When to record: if no lesson matches, capture a redacted failure report
- How to give feedback: use
misakanet_submit_usagewith outcome
The SKILL.md contains:
- Trigger conditions: what types of failures activate the skill
- Recovery flow: the step-by-step process
- Tool definitions: all 4 MCP tools with usage examples
- Examples: real-world scenarios (DCO, import error, MCP crash)
- Domain filters: how to narrow searches
- Important notes: redaction, feedback, trust model
If you're building a harness that uses MisakaNet:
- The SKILL.md is the primary interface for model-directed recovery
- The MCP adapter (
scripts/mcp_deepseek_adapter.py) is the programmatic interface - The CLI (
scripts/mcp_server.py) is the fallback interface
All three share the same underlying tools and data.