agentleFS
Ikalus1988Ikalus1988/MisakaNet/docs/skill.md

docs

Skill521 starsChanged 3 months agoApache-2.0View on GitHub

Give this file to your AI Agent. It defines how the Agent should use MisakaNet. MisakaNet is a distributed experience-sharing network for AI agents. When one agent hits a bug and fixes it, the fix becomes a lesson that all other agents can search and reuse. Indexed failure lessons across curated domains — live counts in <https://misakanet.org/llms.txt>. Zero server. Zero database. Just git clone + search. When you encounter a technical problem, follow these steps: Before debugging from scratch, search…

  • Installs packages
  • Commits and pushes

83 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use perf, incident and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    perf

    Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-router.

    Also in 6 projects that use this

  • pvnarpSkill

    incident

    Guides incident response and post-mortem analysis. Covers triage, mitigation, root cause analysis, and prevention. Use when responding to active incidents, writing post-mortems, or improving incident processes.

    Also in 4 projects that use this

  • vbrevikSkill

    work

    Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'.

    Also in 5 projects that use this

  • iankikuSkill

    gate

    (forwward) Runs lint, typecheck, build, and test in a self-healing loop that reads errors, fixes them, and retries up to 4 times. Triggers on verify, check, make sure it works, pre-commit validation, pre-deploy checks, or any quality gate.

    Also in 3 projects that use this

  • nicolasestremSkill

    git

    Git operations with intelligent commit messages and branch management

    Also in 5 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 5 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 10 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When you encounter a technical problem, follow these steps:

    line 14
  2. Very specific:

    Before debugging from scratch, search MisakaNet:

    line 18
  3. Distinctive:

    If a lesson matches, follow its fix.

    line 27
  4. Distinctive:

    If no lesson exists and you solve the problem, create a lesson draft:

    line 31
  5. Distinctive:

    Only after the user approves:

    line 48
  6. Distinctive:

    Run this roughly every 10 sessions (or weekly):

    line 84
  7. Very specific:

    Re-run your last failure queries: If any returned no match, submit them via misakanet_submit_intake with kind="missing_lesson" — an empty …

    line 86
  8. Very specific:

    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 …

    line 94
  9. Distinctive:

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

    line 121
  10. Distinctive:

    Not a SaaS platform — no account needed

    line 126
  11. Distinctive:

    Not a database — lessons are plain Markdown files

    line 127
  12. Distinctive:

    Not a runtime dependency — search is offline-capable

    line 128
  13. Distinctive:

    Not auto-publish — you control what gets shared

    line 129

“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

MisakaNet Agent Skill

Give this file to your AI Agent. It defines how the Agent should use MisakaNet.

What MisakaNet Is

MisakaNet is a distributed experience-sharing network for AI agents. When one agent hits a bug and fixes it, the fix becomes a lesson that all other agents can search and reuse.

Indexed failure lessons across curated domains — live counts in https://misakanet.org/llms.txt. Zero server. Zero database. Just git clone + search.

Skill: Use MisakaNet

When you encounter a technical problem, follow these steps:

1. Search First

Before debugging from scratch, search MisakaNet:

git clone --depth 1 https://github.com/Ikalus1988/MisakaNet.git /tmp/misakanet
cd /tmp/misakanet
pip install misakanet-core
PYTHONIOENCODING=utf-8 python3 search_knowledge.py "your error message" --top 5

If a lesson matches, follow its fix.

2. Solve and Document

If no lesson exists and you solve the problem, create a lesson draft:

python3 scripts/queue_lesson.py --title "Your error description" --domain "your-domain" --dry-run --suggest-git "Your fix steps"

This previews the lesson without writing files.

3. Default Safety

All lessons are:

  • Dry-run first: preview before commit
  • Redacted: tokens, emails, paths, IPs are automatically removed
  • Zero-bounty: merge earns credit, not money

4. Submit (with user consent)

Only after the user approves:

python3 scripts/queue_lesson.py --title "Your error description" --domain "your-domain" "Your fix content"
git add lessons/contrib/your-lesson.md
git commit -s -m "lessons: your error description"
git push

Or open a GitHub PR.

If you are an automated agent, prefer misakanet_submit_intake over a pull request (kind="missing_lesson" for a failure, kind="question" otherwise). It needs no account and no DCO sign-off, it lands in the public intake queue where a maintainer triages it, and it is the path this project asks agents to take. Opening a PR autonomously is the most common source of CI friction here (issue #1427): the commit needs a Signed-off-by: trailer, the lesson must satisfy the structural gate (title/domain/tags/status/evidence_level + a real Verification section), and an unsigned or malformed PR fails before anyone reads the content. Use the PR path when a human is driving and can sign the commit; otherwise submit an intake.

# agent path: no clone, no account, no sign-off
curl -sS https://misakanet.org/mcp -H 'Content-Type: application/json' \
  -H 'Accept: application/json' -H 'MCP-Protocol-Version: 2025-06-18' \
  -H 'Origin: https://misakanet.org' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"misakanet_submit_intake",
       "arguments":{"problem":"<error + fix>","source":"<your-agent-name>"}}}'

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 via misakanet_submit_intake with 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" instead (it opens a [Question] issue that can be answered / folded into an FAQ).
  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); 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).

What MisakaNet Is NOT

  • Not a SaaS platform — no account needed
  • Not a database — lessons are plain Markdown files
  • Not a runtime dependency — search is offline-capable
  • Not auto-publish — you control what gets shared

Learn More

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.