/myco:mycofrom myco
Persists project memory across sessions: stores observations (spores), session records, and plans that capture why decisions were made. Use before design decisions, when debugging non-obvious issues, or after learning something worth keeping.
Ships in myco. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The codebase shows what exists. Myco shows why: the approach chosen over the alternatives, the thing that broke, the constraint that is not visible in the file you are reading.
Every Myco tool takes a project argument — a project id, or the repository's git remote.
myco_cortex with op: "instructions" answers this project's standing guidance and its project id. That id is the value to pass as project. If you were given Myco context at session start, the id is already in it.
Search first, then fetch what you want in full by its id. Search previews are one line per hit; they are for choosing, not for reading.
myco_search { "query": "why the outbox drains on a lease" }
myco_spores { "op": "get", "id": "<id from the search hit>" }
myco_sessions { "op": "get", "id": "<session id>" }
myco_plans { "op": "get", "id": "<plan id>" }
Use it before you decide, not after. A search that takes one call can save an afternoon spent rediscovering why an approach was abandoned.
When to search, concretely:
Save a spore when you learn something a future session would want and could not derive from the code.
myco_spores { "op": "save", "type": "gotcha", "project": "<project id>",
"session_id": "<session id>", "content": "<finding and evidence>",
"agent_line": "When delivery stalls, check the outbox lease before retrying." }
Good spores are specific and durable. A gotcha names the trap and the tell that reveals it. A decision names what was chosen, what was rejected, and why. Neither is a status update: "finished the parser" helps nobody in three months.
Search before you save. If a spore already covers the ground, save its replacement first, then supersede the old spore using the new id:
myco_spores { "op": "save", "type": "gotcha", "project": "<project id>",
"session_id": "<session id>", "content": "<replacement finding>",
"agent_line": "When delivery stalls, check the outbox lease before retrying." }
myco_spores { "op": "supersede", "old_spore_id": "<old id>",
"new_spore_id": "<id returned by save>", "project": "<project id>",
"session_id": "<session id>" }
Plans use myco_plans with op: "save", project and the current session_id. Create with content and exactly one of source_path (file-backed) or plan_key (non-file-backed). Update by id to preserve identity; omit content for a status-only transition.
Retire knowledge when it is contradicted, replaced, or its feature was dropped by a recorded decision. A spore that is merely off-topic for your task is left alone: it may be right, just not relevant now.
supersede the old spore with the new id, as above. Use obsolete when nothing replaces it.myco_spores { "op": "obsolete", "id": "<spore id>", "project": "<project id>",
"session_id": "<session id>", "reason": "<what you checked>" }
When you create a pull request, issue, tag, release or deploy in this session, record it once with its own id and URL. The session page then lists it beside the commits Myco observed.
myco_outcomes { "op": "report", "project": "<project id>", "session_id": "<your Session:: id>",
"kind": "pr", "artifact_id": "1931",
"url": "https://github.com/<owner>/<repo>/pull/1931" }
kind is pr, issue, tag, release or deploy. The URL must be https. Reporting the same artifact again changes nothing. The same artifact under a different URL is refused: a report is never rewritten. Without MCP, make the same call through the CLI, which always needs its credential source named. On a machine enrolled as a member, run myco tool call myco_outcomes --credential registry --json --input '{"op":"report","project":"<project id>","session_id":"<session id>","kind":"pr","artifact_id":"1931","url":"https://github.com/<owner>/<repo>/pull/1931"}'. In CI, set MYCO_SERVER_URL, MYCO_MEMBER_TOKEN and MYCO_PROJECT and run it with --credential env.
Where the myco binary is installed and its hooks are wired, sessions are captured and context is served at session start and on each prompt. You do not call anything for that.
Where only the plugin is installed there is no capture, and the tools above are the whole surface. That is a working configuration, not a broken one — but if you expect this project's sessions to be recorded and they are not, the myco-setup skill installs the rest.
When you start another agent session, put your own session id from the Session:: line in its BAGGAGE environment variable as gen_ai.conversation.id=<your session id>. Keep other baggage members and replace any existing member with that key. Percent-encode the id where the W3C Baggage format requires it. Myco then shows the new session as your child.
Sub-agents that run inside your own session need nothing; they are already part of it.
myco_skills lists the skills that ship with Myco and what each one is for. It is the way to see what is available without leaving the session. It does not return a body: get names where the body sits on this machine, and your host's own skill mechanism is what loads it.
Refusals are terminal and they name themselves. Read the name before retrying:
project.unknown_tool for a tool you can see — your credential's surface does not include that operation. Retrying will not change it.Retrying a terminal refusal unchanged is always wrong. Change the call or stop.
references/tools.md — every tool, its operations and its arguments.references/writing-spores.md — what makes an observation worth keeping, with examples of both kinds.What SKILL.md sets; muted values are Claude Code's defaults
Reach for Myco when the question is "why", not "what" — why this approach, what was tried before, what broke, what a subsystem is defending against. Also when the user says vault, spore, session, plan, prior decision, team knowledge or institutional memory; when you are about to repeat work another session may have done; and when you have just found a gotcha or made a decision worth saving.
npx claudepluginhub goondocks-co/myco --plugin myco9 skills in this plugin
/myco-handoffCarry a session's working intention to another session or another agent. PREPARE compresses why we are here, what we are doing, the gotchas, the dead ends and the decisions already closed into a digest of at most 1500 tokens, saved on a Myco plan. RECEIVE takes that plan id, rehydrates the context, marks the referenced plans in progress, loads the suggested skills and resumes the work./myco-okfCreate or maintain an OKF-conformant project wiki — a portable, git-committed markdown knowledge base that lives in the repository rather than in Myco. Turns what Myco holds, the spores and sessions and plans, into human-readable documentation that ships with the code. Any agent can run the procedure; it needs nothing beyond the ordinary Myco tools./Other plugins' skills for the same job