MisakaNet: Instructions file for Claude Code

CLAUDE.md

MisakaNet CLAUDE.md is an instructions file for Claude Code from Ikalus1988/MisakaNet. It costs 488 tokens per session, scanned A, original, Apache-2.0.

Instructions for MisakaNet Failure Memory, a searchable collection of documented software debugging lessons. It tells agents to search for a known failure, read its lesson, and submit new gaps through an MCP connection.

In plain words
What is it for?
Use it when investigating errors, particularly documented patterns involving DCO, tokens, pip, MCP, or text encoding.
Why use it?
It reduces repeated debugging by checking whether someone has already documented the same error. If no lesson exists, the failure can be submitted for later use.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

This is Ikalus1988/MisakaNet's own configuration. It tells Claude Code how to work on MisakaNet itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything MisakaNet configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Ikalus1988/MisakaNet. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Ikalus1988/MisakaNet/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/Ikalus1988/MisakaNet

Made for: Claude Code.

Wrote 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.

agentmods badge for MisakaNet CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ikalus1988/misakanet/claude-md/github.svg)](https://agentmods.dev/instructions/ikalus1988/misakanet/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ikalus1988/misakanet/claude-md"><img src="https://agentmods.dev/badge/instructions/ikalus1988/misakanet/claude-md/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.

agentmods 80×15 button for MisakaNet CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ikalus1988/misakanet/claude-md"><img src="https://agentmods.dev/badge/instructions/ikalus1988/misakanet/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 488 This file is loaded in full into every session.
When invoked 488 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00488 $0.00488
Opus 5.5 $0.00195 $0.00195
Sonnet 5.5 $0.00098 $0.00098
Haiku 4.5 $0.00049 $0.00049

Measured 4d ago against content hash ac0f8b6b04ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

MisakaNet CLAUDE.md scanned grade A with 1 finding 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 4d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sS https://misakanet.org/mcp \
CLAUDE.md · 48 lines

What it actually says

MisakaNet Failure Memory

When debugging, search MisakaNet before attempting fixes from general knowledge.

Quick Start

# Search for a failure
python3 search_knowledge.py "your error message"

# Get a specific lesson
python3 scripts/misakanet_cli.py smoke

Submit via MCP (No GitHub needed)

curl -sS https://misakanet.org/mcp \
  -H "Content-Type: application/json" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"misakanet_submit_intake","arguments":{"problem":"YOUR PROBLEM","source":"claude-code"}}}'

Core Rules

  1. Search first — check if a lesson exists before fixing
  2. Read the lesson — apply only the documented fix
  3. Submit gaps — if no lesson found, submit via MCP intake
  4. Never skip — for known patterns (DCO, token, pip, MCP, encoding)

MCP Tools

The hosted endpoint serves 8 tools; the local stdio server (pip install misakanet) serves 11. The three the local server adds are misakanet_submit_usage, misakanet_usage_status and misakanet_memory_context. docs/mcp.md holds both rows tool-by-tool, and tests/test_mcp_tool_count_ssot.py fails when a surface and this repository's prose disagree.

Tool Purpose
misakanet_search Search lessons
misakanet_get_lesson Get lesson content
misakanet_me_events Evidence that a lesson was actually reused
misakanet_me_inbox Poll an intake for an answer or a conversion receipt
misakanet_submit_intake Submit failure case or question (no auth needed)
misakanet_preflight Risk check before a high-risk operation
misakanet_register Anonymous node token (unlocks writing, not reading)
misakanet_write_lesson Structured lesson submission (Bearer required)
Changes

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.

  1. 4d ago Changed · +10 lines · +189 tokens per session ac0f8b6b04ef
  2. 2mo ago First seen · 38 lines · 299 tokens per session scan A 149875d11811

Subscribe to this mod's changes

MisakaNet CLAUDE.md is an instructions file published in the GitHub repository Ikalus1988/MisakaNet (554 stars, last pushed today), licensed Apache-2.0. It adds 488 tokens to every session, about $0.0020 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

MisakaNet CLAUDE.md compared with instructions from other repositories

MisakaNet CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
MisakaNet CLAUDE.mdIkalus1988/MisakaNetInstructions file554todayApache-2.0A488Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode