Skip to content
Back to skills

Myco

ASecurity

Myco is this project's memory — the sessions that happened, the durable observations (spores) drawn from them, and the plans. It holds why the code is the way it is, which the code itself cannot show. Use it before a design decision, when debugging something non-obvious, when a structure looks arbitrary, when picking up work someone else started, and after learning something worth keeping.

  • 17 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsgodebugginggit

Works with

  • terminal
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 15, 2026

npx -y skills add goondocks-co/myco --skill myco --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Myco?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Myco
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/goondocks-co-myco/badge)](https://www.skillsdirectory.com/skills/goondocks-co-myco)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: myco
description: Myco is this project's memory — the sessions that happened, the durable observations (spores) drawn from them, and the plans. It holds why the code is the way it is, which the code itself cannot show. Use it before a design decision, when debugging something non-obvious, when a structure looks arbitrary, when picking up work someone else started, and after learning something worth keeping.
when_to_use: 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.
---

# Myco

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.

## The one rule that will bite you

Every Myco tool takes a **`project`** argument — a project id, or the repository's git remote.

- A **read** without it uses the project your credential is bound to. Usually right; wrong the moment you are working across repositories.
- A **write** without it is **refused**. This is deliberate: a credential can reach more than one project, and an unnamed write would land wherever the connection happened to point.
- An argument the tool's schema does not declare is refused by name.

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

## Reading

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:**

- Before choosing between two designs — someone may have already rejected one, with reasons.
- When an error message is strange — search the message text.
- When a structure looks arbitrary — it is usually defending against something.
- When you inherit a branch — search the feature name and read the last session on it.

## Writing

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.

## Retiring a spore that is wrong

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.

- **Check before you retire.** Read newer spores, sessions and recorded decisions about the concept. When code is available, read and search it to check the claim. A missing file alone never invalidates knowledge. When in doubt, keep it.
- **Give a reason** citing the later knowledge, dropped-feature decision or contradictory code you checked. Keep lessons that outlive their implementation; a merge may remove a stale path.
- **Prefer superseding** when you can write the correct version: save it, then `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>" }
```

## Recording what you created

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

## What happens without you

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.

## Starting another agent

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](https://www.w3.org/TR/baggage/) 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.

## Skills

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

## When a tool refuses

Refusals are terminal and they name themselves. Read the name before retrying:

- A write refused for a missing project — pass `project`.
- `unknown_tool` for a tool you can see — your credential's surface does not include that operation. Retrying will not change it.
- Not found for a project you named — either it does not exist or your credential cannot see it; the two are deliberately indistinguishable.

Retrying a terminal refusal unchanged is always wrong. Change the call or stop.

## Going deeper

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

Files in this skill

  • SKILL.md4.9 KB
  • references/tools.md3 KB
  • references/writing-spores.md2.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.