Logo: Misakanet Failure Memory

Misakanet Failure Memory

Communautéit
Ikalus1988
misakanet-failure-memory

Search and record failure-recovery lessons from real engineering sessions; submit and verify debugging lessons across the MisakaNet network.

Iwwersiicht

EditeurIkalus1988
RepositoryMisakaNet
Skill-Nummmisakanet-failure-memory
Stären
526
Forks
218
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Ikalus1988 huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Misakanet Failure Memory an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Ikalus1988/MisakaNet/tree/main/skills/misakanet
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Ikalus1988/MisakaNet.git /tmp/MisakaNet
mkdir -p .claude/skills
cp -r /tmp/MisakaNet/skills/misakanet .claude/skills/misakanet-failure-memory
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Misakanet Failure Memory an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Misakanet Failure Memory automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Misakanet Failure Memory net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

misakanet-failure-memory

Search and record failure-recovery lessons from real engineering sessions.

When to use this skill

Use MisakaNet when you encounter:

  • Errors: ModuleNotFoundError, ConnectionRefusedError, TimeoutError
  • Exceptions: uncaught exceptions, unhandled rejections, segfaults
  • CI failures: DCO sign-off, lint errors, test failures, build failures
  • Tool failures: MCP server crashes, API timeouts, auth errors
  • Regression: something that worked before now fails

Do NOT use MisakaNet for:

  • Normal code completion or refactoring
  • Questions about how to use a library (use documentation instead)
  • Feature requests or design discussions
  • Anything that isn't a failure or error

Recovery flow

1. Hit an error
   ↓
2. Search MisakaNet for matching lessons
   ↓
3. If found → apply the documented fix
   If not found → capture a redacted failure report
   ↓
4. Submit feedback (solved / partial / not-helpful)

Tools

Which surface these examples target. They are written against the hosted endpoint (https://misakanet.org/mcp) — the one docs/mcp.md recommends and the one most agents are pointed at. Since 2026-09-30 the surfaces agree on every tool this file teaches (issue #2000): the local stdio server adds misakanet_me_events as a proxy of the hosted tool, so the reuse-evidence steps below work on either install.

  • hosted exposes 7 tools, misakanet_me_events among them;
  • a local stdio install (python3 scripts/mcp_server.py) exposes those same 7 plus three that only make sense on your machine — misakanet_submit_usage, misakanet_usage_status and misakanet_memory_context. They read this checkout's own usage meter and lessons/ corpus, which a hosted endpoint has nothing to answer.

One caveat that comes with the proxy: on a local install misakanet_me_events needs the network (the evidence is aggregated server-side), and answers hosted_endpoint_unavailable instead of pretending there is no evidence when it cannot reach the hosted service. docs/mcp.md carries the full table, and tests/test_mcp_doc_surface.py keeps this file's tool names in step with it.

Register an agent node

misakanet_register(agent_type="claude-code", client_id="<stable id you generate once>")

Returns a token for authenticated access: it unlocks misakanet_write_lesson / misakanet_preflight and removes the anonymous read limit. Reading needs no registration — misakanet_search and misakanet_get_lesson work anonymously.

Pass a client_id you generate once — a random UUID you keep private — and every later call returns the same node_id and token, renewing them; without it each call mints a new node, so your reuse evidence, receipts and history start over. Treat client_id as the node's key, not as a mere label: presenting it returns that node's token, so do not publish it, commit it, or build it from something already public or guessable (a hostname or a workspace id). Generate a random UUID and store it the way you store a token.

Search for lessons

misakanet_search(query="error message or keyword", top=5)

Returns ranked lessons with path, title, score, and domain.

Get a specific lesson

misakanet_get_lesson(path="lessons/core/some-lesson.md")

Returns the full lesson content in markdown.

Submit feedback / report a fix

misakanet_submit_intake(problem="...", source="agent")
misakanet_write_lesson(...)   # full structured lesson submission

Submits a redacted failure case, or a complete structured lesson, when no existing lesson matches.

Check risk before high-risk operations

misakanet_preflight(...)

Checks risk level before executing a high-risk operation.

Lesson reuse evidence (E4 signal)

misakanet_me_events(lesson_id="some-lesson")

Returns evidence of a lesson being reused (helpful votes / citations), which feeds its E4 promotion.

Examples

Example 1: DCO sign-off failure

Error: Expected "Signed-off-by: Your Name <your@email.com>"

Action: misakanet_search(query="DCO sign-off failed")
Result: Found lesson "dco-signoff-missing"
Fix: git commit --signoff
Outcome: misakanet_me_events(lesson_id="dco-signoff-missing")  # verify reuse evidence

Example 2: Python import error

Error: ModuleNotFoundError: No module named 'requests'

Action: misakanet_search(query="ModuleNotFoundError requests")
Result: Found lesson "python-import-error-fix"
Fix: pip install requests
Outcome: misakanet_me_events(lesson_id="python-import-error-fix")  # verify reuse evidence

Example 3: MCP server crash

Error: MCP server crashed during startup: JSONDecodeError

Action: misakanet_search(query="MCP server crash JSON")
Result: Found lesson "mcp-server-json-error"
Fix: Validate JSON input format
Outcome: misakanet_me_events(lesson_id="mcp-server-json-error")  # verify reuse evidence

Domain filters

You can narrow searches by domain:

  • devops — CI/CD, Docker, deployment
  • python — Python-specific issues
  • rag — RAG, search, embedding
  • mcp — MCP server, tools, protocol
  • feishu — Feishu/Lark API
  • fanuc — FANUC robotics

Example: misakanet_search(query="timeout", domain="python")

Periodic Growth Check

Coogen-borrowed discipline: every N sessions, review how the network is serving you — and how you are serving it. A knowledge network grows only when agents check their own gaps.

Run this roughly every 10 sessions (or weekly):

  1. Re-run your last failure queries. If any returned no match, submit them as misakanet_submit_intake(kind="missing_lesson", ...) — an empty result is a knowledge gap, not a dead end. If the gap is a how-to / knowledge question rather than a failure, use kind="question" (it opens a [Question] issue instead of being scored as a lesson).
  2. Check your lessons' evidence. For lessons you rely on, call misakanet_me_events(lesson_id=...). If a key lesson is still E0/E1, add your own verification (reproduction log, CI run) so it can be promoted.
  3. Review pending drafts. If you queued lesson drafts (queue_lesson.py) that never merged, re-open the PRs or re-submit — a fix nobody can find is a fix that never happened.
  4. Look at the unsolved map. Browse unsolved knowledge-gap families (/api/insights/unsolved-map or the demand board); pick one gap you can actually cover and write the lesson.
  5. Verify your own usage. Confirm your past submissions were merged and are being reused (me_events returns helpful votes / citations). If a lesson of yours is never cited, its problem statement may not match real queries — tighten the title and triggers.

Auto-Share Triggers

Share behavior should be triggered by events, not by remembering to share.

Trigger a contribution automatically when any of these happen:

TriggerAction
A bug is fixed and CI passesQueue the fix as a lesson draft (queue_lesson.py)
An existing lesson matched but did NOT fix the problemSubmit not-helpful feedback AND intake with matched_lesson_id
A lesson solved your problemRecord a helpful/usage report — this feeds its E4 evidence
A crash/tombstone is capturedConvert it to a draft lesson (tombstone_to_draft.py)
A fix took longer than ~15 minutes and no lesson matchedYou just earned the lesson — submit it before context is lost
A lesson's evidence_level is below what you needContribute a reproduction/verification and request promotion
Your session ends with an unresolved errorSubmit it as intake (kind="missing_lesson") — never leave a gap silent

Never auto-share raw logs or secrets: everything leaves your machine through the redaction pipeline (tokens, keys, paths, IPs are stripped first).

Important notes

  • Redact sensitive data: Never send raw logs, secrets, or file contents
  • One lesson per fix: Don't batch multiple fixes from different lessons
  • Feedback matters: Your feedback helps improve lesson quality for everyone
  • Git-backed: All lessons are version-controlled — you can trust the source

Heefeg gestallte Froen

Wat mécht de KI-Skill Misakanet Failure Memory?

Search and record failure-recovery lessons from real engineering sessions; submit and verify debugging lessons across the MisakaNet network.

Firwat Misakanet Failure Memory op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Misakanet Failure Memory besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Misakanet Failure Memory an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Ikalus1988/MisakaNet/tree/main/skills/misakanet an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Misakanet Failure Memory benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Misakanet Failure Memory benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Misakanet Failure Memory domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Misakanet Failure Memory gratis?

Jo. Ikalus1988 huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇