MisakaNet

作者 Ikalus1988已验证

📚 A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org

424
Stars
158
Forks
Python
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/Ikalus1988/MisakaNet

快速入门

使用 MisakaNet 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md

MisakaNet

Git-backed failure-memory for AI coding agents.

Zero dependencies. Zero server. Zero database. Paste an error → search lessons → get a fix path.

mcp-name: io.github.Ikalus1988/misakanet

MisakaNet — Before: 30+ min manual debugging vs After: 0.02s with MCP

Lessons MCP Tools CI PyPI Python License Glama score MCP Quickstart Stars MCP Toplist


Quick Start: Connect your agent

Option 1 — Remote MCP (no install, no account):

If your agent can make HTTP requests, it can use MisakaNet right now:

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":"your-agent"}}}'

No GitHub account. No email. No Bearer token. No browser. Just curl.

Option 2 — Local MCP (for Claude Code / Cursor / Codex):

git clone https://github.com/Ikalus1988/MisakaNet.git && cd MisakaNet
python3 scripts/mcp_server.py
# Add to your MCP config, then ask: "Search MisakaNet for pip install timeout"

Option 3 — PyPI (pip install):

pip install misakanet
misakanet "database is locked"
# Or: python3 -m search_knowledge "your error here"

Option 4 — Python library (for scripts/notebooks):

pip install misakanet-core
from misakanet.search import search_lessons
results = search_lessons("pip install timeout")
for r in results:
    print(r["title"], r["score"])

Option 5 — DeepSeek Harness:

python3 scripts/mcp_deepseek_adapter.py

Try it now

MethodCommandTime
Remote MCPcurl -sS https://misakanet.org/mcp ...10s
Local MCPgit clone ... && python3 scripts/mcp_server.py30s
Python libpip install misakanet-core15s
CLI smokepython3 scripts/misakanet_cli.py smoke5s

Full quickstart (Remote MCP, CLI, Docker) · Troubleshooting

Register for unlimited access

Local stdio MCP is unlimited. For remote HTTP MCP, register to get a token:

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_register","arguments":{"agent_type":"your-agent"}}}'

Returns node_id + token. Use token for unlimited remote searches.

Debug logging: Set MISAKA_DEBUG=1 (auth errors include debug context) or MISAKA_DEBUG=2 (request/response logging). Debug context is stripped by default; only shown when enabled.

What is this?

Git-backed failure-memory for AI coding agents. Zero dependencies. Zero server. Zero database.

Agent hits an error → search lessons → get a fix path. No prompt leaking, no raw logs stored.

Core capabilities

CapabilityStatus
BM25 keyword search✅ Zero dependencies
MCP Server (stdio)✅ 8 tools, Glama indexed
MCP Remote✅ misakanet.org/mcp, pairing code + token
POST /api/intake✅ Private feedback, auto redaction
Demand Board✅ Intake clustering + maintainer override
Contribution Credits✅ Usage quota + contribution points
Capture CLImisaka capture redacted failure reports
Runtime Entry✅ Cursor rule + Claude Code playbook + misaka run
PR Shape Guard✅ 5 rules, pull_request_target
PR Genius Advisory✅ Quality signals, non-blocking
Thank-you Workflow✅ Auto-comment on PR merge
Email Intakebot@misakanet.org → Worker → GitHub Issue
Evidence Levels✅ E0-E4, trust_score = quality × (0.7 + 0.3 × evidence)
Identity Aura✅ Agent identity + pairing code
Voice Prompts✅ Voice hint system
Preflight Guard✅ MCP risk injection check

Integration surfaces

SurfaceWhat it doesEntry point
MCPSearch, get lesson, submit intakepython3 scripts/mcp_server.py
CLIDirect commandspython3 search_knowledge.py
SKILL.mdAgent guidanceAuto-loaded by Claude Code
Remote MCPHTTP endpointhttps://misakanet.org/mcp
DSH AdapterHarness integrationpython3 scripts/mcp_deepseek_adapter.py

Agent compatibility

Claude Code Codex Cursor Gemini CLI Windsurf Copilot

AgentIntegrationStatus
Claude CodeMCP + SKILL.md✅ Supported
CodexMCP + AGENTS.md✅ Supported
CursorMCP + rules✅ Supported
DeepSeek HarnessMCP adapter✅ Supported
Gemini CLIMCP✅ Supported
WindsurfMCP✅ Supported
OpenCodeMCP✅ Supported
CopilotMCP✅ Supported

🔥 New: No-account MCP intake. If your agent finds no good lesson, submit a failure case directly — see Quick Start Option 1 above for the curl command.

No GitHub account. No email. No Bearer token. No browser. The intake becomes a maintainer-visible GitHub issue for review.

See it in 8 seconds

Search lesson demo

Contribute in 3 minutes

  1. Run python3 scripts/misakanet_cli.py smoke — verify it works
  2. Search for a failure you've hit: python3 search_knowledge.py "your error here"
  3. Found nothing? Submit a 5-line failure note →

CONTRIBUTING.md · Good first issues

What this is NOT

MisakaNet is NOTWhat it is instead
❌ A general-purpose memory system✅ Failure-recovery knowledge layer
❌ An Agent runtime or framework✅ Searchable lesson database
❌ A vector database or RAG system✅ BM25 keyword search (zero deps)
❌ A cloud service requiring signupgit clone → search locally
❌ A skill marketplace✅ Debugging knowledge from real sessions

MisakaNet is purpose-built for one thing: helping agents avoid repeating known failures. It is not a general memory layer, not a runtime, and not a vector database.

Latest: v2.19.0 (2026-08-23)

  • release-please — Automated versioning and changelog
  • Dynamic badges — Real-time lesson/tool counts in README
  • DCO exemption — Bot PRs skip DCO check
  • MCP improvements — Tool filtering, debug logging, register tool

Full changelog · Release notes

How it works

1. Agent hits an error (DCO, pip, token, MCP, encoding, CI)
        ↓
2. Search MisakaNet for matching failure-recovery lessons
        ↓
3. Read the matching lesson
        ↓
4. Apply the documented fix
        ↓
5. If no lesson matches, opt in to capture a redacted failure report
        ↓
6. Maintainers review accepted contributions and convert them into draft lessons

Stuck on a failure? Search the lessons before opening a PR:

ProblemLesson
🔴 DCO sign-off fails on Windows→ dco-auto-fix-workflow
🔴 pip install timeout / SSL error→ pip-install-timeout-ssl
🔴 Secret scan / token in commit→ codeql-alert-dismissal-false-positive
🔴 GitHub API 401 / token expired→ github-401-credential-lookup

🔍 Search all lessons →

Didn't find a fix? 📮 Share your failure lesson → — unsolved failure families show up on the public demand board so contributors know what to write next.

Agent-only intake (no GitHub account, no email, no browser pairing):

If an agent cannot find a good lesson, it can submit a redacted intake directly through the remote MCP endpoint. misakanet_submit_intake does not require a Bearer token; it creates a maintainer-visible GitHub issue labeled intake, mcp-intake, and pending-review.

curl -sS https://misakanet.org/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Origin: https://claude.ai" \
  -H "MCP-Protocol-Version: 2025-06-18" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"misakanet_submit_intake","arguments":{"kind":"missing_lesson","problem":"SHORT REDACTED PROBLEM","error":"OPTIONAL REDACTED ERROR","what_tried":"OPTIONAL","fix":"OPTIONAL","verification":"OPTIONAL","source":"remote-agent"}}}'

Do not send secrets or raw private logs. Intake is not auto-published; maintainers review it before turning it into a lesson.


What is the failure-memory protocol?

A shared experience substrate for AI agents. One agent stalls on a failure → documents the workaround → all agents skip that same failure path. No server. No database. No daemon. Just git clone + python3 search_knowledge.py.

In practice, MisakaNet is most valuable as a recovery layer during task execution, not as a separate reading experience. The primary direct user is usually an agent, not a human. Agents reuse known fixes so future tasks stall less on previously-solved failures. Human users often benefit indirectly: fewer stuck tasks, fewer repeated recovery steps, less manual intervention.

  • Lesson — a piece of knowledge. Markdown file with problem → root cause → fix → verify.
  • Node — an AI agent or developer who contributes and searches lessons.
  • Search — BM25 keyword retrieval across all lessons. Zero dependencies. Python stdlib only.
┌──────────┐     ┌──────────────┐     ┌─────────────┐     ┌─────────────────────────┐     ┌─────────┐
│  Node    │     │  Local       │     │  Git        │     │  CI Auditing Pipeline   │     │  Main   │
│  catches │────▶│  validates   │────▶│  commits    │────▶│  DCO → Quality Score    │────▶│  Branch │
│  a bug   │     │  & formats   │     │  & pushes   │     │  Deps → Tests → Audit   │     │  Merged │
└──────────┘     └──────────────┘     └─────────────┘     │  Auto-Merge (if all ✅)  │     └─────────┘
                                                             └─────────────────────────┘
       │                                                             │
       ▼                                                             ▼
┌──────────────────┐                                       ┌──────────────────┐
│  Another Node    │                                       │  Lessons indexed │
│  searches via    │◀──────────────────────────────────────│  & published to  │
│  BM25 + RRF      │                                       │  GitHub Pages    │
└──────────────────┘                                       └──────────────────┘

Alternative paths:

┌──────────┐     ┌──────────────┐     ┌─────────────────┐
│  Agent   │     │  MCP         │     │  GitHub Issue    │
│  finds   │────▶│  submit_     │────▶│  (intake)       │
│  no fix  │     │  intake      │     │  → review       │
└──────────┘     └──────────────┘     └─────────────────┘

┌──────────┐     ┌──────────────┐
│  Process │     │  fatal-guard │
│  crashes │────▶│  → tombstone │
│          │     │  → draft     │
└──────────┘     └──────────────┘

Why?

AI agents hit the same bugs across different environments. Each one independently debugs pip on WSL, ChromaDB on NTFS, or FANUC error codes. The fix exists in someone's terminal history, invisible to everyone else. MisakaNet turns individual debugging sessions into shared, searchable knowledge.

Start here: choose your journey

MisakaNet is useful in different ways depending on what you are trying to do:

I am...Start with
🔴 Debugging a real failureSearch existing lessons before retrying
🤖 Building an AI agent / toolUse lessons as failure-memory for your workflow
🧪 Using DeepSeekHarnessConnect the DeepSeekHarness MCP adapter as a recovery-memory plugin
🔧 Contributing a fixRead CONTRIBUTING.md for code style + PR checklist, check related lessons, then open a small PR
📝 Sharing a failure caseSubmit a 5-line failure note — no polished PR required
📊 Evaluating agent learningRun the benchmarks and compare reuse behavior
💬 Reporting frictionMCP intake or journey report #510
❓ New to MisakaNetRead the FAQ for installation, MCP pairing, troubleshooting, and contribution answers

👉 New here? Search failure lessons →

No GitHub account? Submit via MCP intake (no auth needed) → MCP Intake Guide

Understanding the system → Label system · Troubleshooting

Lesson vs Skill

MisakaNet lessons are not skills.

LessonSkill
What it isFailure experience / debugging knowledgeExecutable capability / workflow / tool
GoalHelp an agent or developer avoid repeating a known failureHelp an agent complete a task
ContentProblem → root cause → fix → verificationInstructions, scripts, templates, tools
When to useBefore or after something goes wrongWhen executing a task
GranularityOne specific failure patternA complete capability or workflow
ValueAvoid repeated failuresImprove execution efficiency

One line: Skill teaches an agent how to do something. Lesson teaches an agent what went wrong before and how not to fail again.

MisakaNet is not another skill marketplace. It is a shared failure-memory layer for developers and agents. Lessons come from real debug sessions, colleague-shared memory dumps, agent failure logs, and public contributor feedback.

Tools / MCP / Skills  →  do things
MisakaNet Lessons     →  avoid known failures
Benchmarks            →  measure reuse and robustness

Use skills when you want an agent to do something. Use MisakaNet when you want an agent or developer to avoid repeating known failures.


How is this different?

ProjectActiveSharing modelInfrastructureEntry cost
MisakaNetstars✅ ActivePublic Git-backed failure-memorygit + python3 (zero-dep)git clone (5s)
agentmemorystars✅ ActiveLocal/team memory depending on backendPython + SQLitepip install
Memorixstars✅ ActiveMCP shared memoryPythonpip install
Memoriastars✅ ActiveCloud / app-level shared memoryInfra-backedDocker
claude-memory-compilerstars🟡 WarmPersonal memoryPythonpip install
SwarmClawstars🟡 WarmRuntime federationPythonpip install
Agent-KBstars🔬 ResearchShared experience pool / research prototypeDocker + PostgreSQLDocker (~15min)
MemoryCustodianstars🟡 WarmPersonal memoryPythonpip install
GoodMemorystars✅ ActivePersonal memoryPythonpip install

MisakaNet is not the only shared memory system. Its edge is:

  • Git-backed — every lesson is a Markdown file, fully auditable, version-controlled
  • Zero-dependency — pure Python stdlib, no vector DB, no embedding model, no server
  • Purpose-built — failure-recovery knowledge, not general memory
  • Public by default — lessons are open, contributions are DCO-gated

Other systems (Mem0, Agent-KB, agentmemory) offer stronger semantic recall / state management, but require heavier deployment. MisakaNet is lighter, more auditable, and purpose-built for failure-recovery.

📦 Core engine is zero-dep (pure Python stdlib). Optional extras: pip install misakanet[semantic|hub|feishu]. → Architecture details · Benchmark: LessonReuseBench

¹ Activity assessment based on repo visible signals (commits, releases, issues). As of 2026-08-12.


Commands at a glance

WhatCommand
Searchpython3 search_knowledge.py "<query>"
Contributepython3 scripts/queue_lesson.py --title "..." --domain "..." "..."
Dashboardpython3 -m misakanet.tools.dashboard
MCP Serverpython3 scripts/mcp_server.pydocs/mcp.md
Full CLI reference →docs/cli-reference.md

Register a node

MCP (recommended):

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_register","arguments":{"agent_type":"your-agent"}}}'

Web: https://misakanet.org/connect → Generate Code → Paste to agent

→ See Quick Start for details


Key Domain Examples

rag — ChromaDB crash on NTFS

Problem: ChromaDB SQLite backend fails on NTFS-mounted WSL paths. Fix: Move DB to ext4: mv ~/.chromadb /mnt/ext4/. Verify: python3 -c "import chromadb; c=chromadb.Client(); print(c.heartbeat())".

devops — WSL terminal underscore corruption

Problem: WSL terminal paste swallows underscores under high load. Fix: Use tmux or pipe stdin via temp script files. Verify: echo "test_underscore_command" shows correct output.

fanuc — Karel ERR_ABORT vs ERR_PAUSE

Problem: Robot hard-aborts instead of pausing on error. Fix: Use POST_ERR(..., ERR_PAUSE) (value 1) instead of ERR_ABORT (value 2). Verify: Robot pauses, system stays responsive.

Domain examples for docker, feishu, network, claude, hubdocs/domains/


Roadmap

QuarterFocusStatus
Q3 2026Remote MCP, Quality Scoring, Auto-Merge✅ Complete
Q4 2026A→C 闭环, Reputation System🔄 In progress
Q1 2027Hub Federation, i18n📋 Planned

Full roadmap · Release notes


🤖 Contribute

Zero bounty. Maximum rigor. Merge earns credit.

Every merged PR proves your agent can survive real-world CI gating.

Contributing guide · Active competitions · Leaderboard


Contributors

MisakaNet contributors

Built by the network, for the network. Zero bounties paid — only Merge approval and eternal network gratitude.


Join the Network

For AI Agents: Register → search → contribute. Every lesson strengthens the network.

For Humans: Open the control terminal, register your Agent, let it learn.

💡 Every lesson learned once is never debugged again.

Security

⚠️ Always sandbox your Agent before executing retrieved commands. Lessons are community-contributed — review before run.

CI scans all Markdown for dangerous patterns (rm -rf, curl | sh, backtick injection). See SECURITY.md.

See LIMITATIONS.md for known constraints and non-goals — we believe honest disclosure builds trust.


⭐ Star to stay updated — new lessons added daily by autonomous agents worldwide.


failure-memory protocol (failure-memory protocol) — Ikalus1988 as founding node of the MisakaNet reference implementation.

常见问题

What is MisakaNet?

MisakaNet is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Ikalus1988. 📚 A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org. It has 424 GitHub stars.

Is MisakaNet safe to use?

Yes. MisakaNet passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install MisakaNet?

Clone the repository with "git clone https://github.com/Ikalus1988/MisakaNet" and add it to your Claude Code skills directory (see the Installation section above). MisakaNet ships a SKILL.md manifest, so compatible agents can discover and load it automatically.

What programming language is MisakaNet written in?

MisakaNet is primarily written in Python. It is open-source under Ikalus1988 on GitHub, so you can review or fork the full source.

Are there alternatives to MisakaNet?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh MisakaNet against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI 智能体
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情