/knowledge:icm-architectfrom knowledge
Design a process, idea or body of knowledge into an ICM (Interpretable Context Methodology) workspace, where folder structure is the agent architecture, or restructure an existing folder, repo or vault into one. Use for "make this an ICM", "ICM this", "build me a workspace", "structure this for agents", "map this repo", "audit this folder", "what would a change hit", a second brain, team brain or context map, or turning transcripts and research into material for lectures, scripts or docs.
Ships in knowledge. 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; scripts run unread.
Build workspaces where the folder structure does the orchestration. One agent, reading the right files at the right moment, replaces a multi-agent framework: numbered folders carry sequencing, hierarchy carries context scoping, plain markdown files carry state. A person can open any folder and see what state the system is in, because state is just files. The routing files are the catalog: small and stable, they point at the shelves where the content lives.
Method: Interpretable Context Methodology (Van Clief & McDermott, arXiv:2603.16021, MIT-licensed). It runs in any agent or model that can read files: nothing in a workspace depends on one vendor's tools.
Every ICM starts from these ten. They are defaults: when you know what works and need a nuanced change, break one on purpose and write why in the nearest CONTEXT.md or AGENTS.md.
AGENTS.md at the root answers "where am I, where does everything live, where do I go for task X" and nothing else. Under ~60 lines; it routes and never holds content. A tool that looks for another file name gets a one-line pointer to it, never a second copy (see references/core.md, Naming).01_, 02_, ... where sequence matters.CONTEXT.md: what it reads (inputs), what it does (process), what it writes (outputs), how it is checked. See assets/templates/stage-CONTEXT.md.## Check: a person, a script, or a small model. A check that isn't a person writes check.md beside the output, first line pass or fail: <why>; a fail stops the run there. The stop is the point: a wrong turn caught here is not amplified downstream.grep -rm1 '^# ' . lists any tree._index.md, file maps) are rebuilt by script, never hand-edited._templates/, scripts in _tools/.Some forms bring their own pipeline (System map; Knowledge bundle from sources). Their reference says which steps it replaces.
Every ICM is built from three things:
output/ is the next step's input.AGENTS.md, a CONTEXT.md, a generated index or graph.The forms below are recipes over these. Nest them freely; each level keeps its own small catalog that links down and stops. An Umbrella is one catalog over several pipelines, with their shared shelf at the root. When no form fits, build from the three and name the recipe in the entry file.
1. Extract the structure from dialogue. The structure is already in how the person describes the work: surface theirs, don't impose one. Ask, a few at a time:
Their pauses become stage boundaries. Their "I always check X before Y" become checks. Their "it always has to sound like / follow Z" becomes factory reference material.
2. Pick the form. Read references/forms.md and choose:
| Form | Built from | Reach for it when |
|---|---|---|
| Pipeline | a sequence | the same steps run again, a deliverable each run |
| Record library | a shelf of records with a status line each | the unit is a record that accumulates (person, client, session) |
| Knowledge bundle | shelves of linked notes, often filled by a sequence from sources | the product is the knowledge: how someone thinks, or the ideas an artifact will be built from |
| Context map | shelves of teams, processes and data, linked by consumes: / produces: | the subject is an organization |
| System map | shelves of nouns and verbs plus an impact index, filled by a gated sequence | a tree later agents will edit |
3. Scaffold the smallest structure that carries the work. Copy starters from assets/templates/ and the scripts you need from scripts/ into _tools/. Do not create folders for stages that don't exist yet, empty "misc" buckets, or speculative depth. Three real stages beat seven imagined ones. If the whole job fits in one saved prompt, say so and don't build a workspace at all.
4. Write the contracts. Root AGENTS.md (identity + routing table, from assets/templates/entry.md), plus the one-line pointer for each agent the owner uses that reads another name, always including the one you are running in (references/core.md, Naming); root CONTEXT.md (the pipeline or schema), one CONTEXT.md per working folder, setup/questionnaire.md if the factory needs configuring per user. Inputs are exact backticked paths, split into working (this run) and reference (every run).
5. Validate with the walk test (below).
1. Inventory before touching. List the tree. For each area note what it is, when it was last touched, and what refers to it. Never delete or move in this pass.
2. Find the hidden form. Ask the owner (or infer and confirm): what is the repeating unit here? Where does work enter and leave? The mess usually contains a real pipeline, library, or map that grew without a skeleton: extract it, don't replace it.
3. Classify every file into one of five roles:
AGENTS.md and index files; an existing CLAUDE.md, GEMINI.md or similar becomes a one-line pointer once its content has a home in AGENTS.md or a shelf, at step 6)CONTEXT.md)_shared/)output/ or a record folder)_archive/, never delete), and only once step 4 finds nothing that depends on it4. Find what points at each file before proposing a move. Apparent disuse is not proof. Check links inside the workspace, sibling ../ paths, symlinks, and consumers outside it: other repos, configs, scheduled jobs, agent configs that hardcode a path. Nothing in the tree names the outside consumers, so ask the owner. A file with a live referrer is held, or moved only if every referrer is updated in the same change.
5. Propose before moving. Present the target tree and a migration map (old path, new path, role, referrers found). Get approval against step 4's findings. This is a check in a method built on checks: honor it.
6. Migrate: copy, verify, then remove. Confirm the workspace is tracked or backed up first. Before any copy or rename, check whether the destination already exists case-folded: on Windows and macOS, renaming a file to CONTEXT.md silently overwrites an existing context.md, and a file inventory will not show the collision; surface every hit at the approval gate. Copy to the new home, verify parity (file count and content hash; for zipped office formats, compare the unzipped content), then remove the original, leaving a link where anything referred to it. Write the entry file and contracts, and dedupe toward one home per fact. If the structure will be reused, keep the blank template apart from this filled-in deployment.
7. Validate with the walk test.
Walk it cold, as an agent with no memory:
check.md verdicts?python -I _tools/links.py pass (or, with no Python, does every link you follow resolve)? After a restructure, it shows every link and contract input inside the tree still resolves; consumers outside it are the owner's list from step 4.Then run the form's own checks, in its reference. If a step fails, fix the structure, not by explaining more but by moving or splitting files until the walk works.
3. Run `python _tools/count_rows.py stages/03_tally/output/rows.csv`: the command is the step. A stage may keep examples/, one real input and one good output from a run you liked, listed under Inputs. In a working ICM, fold a stage nobody edits, script a check that never fails, and split a contract that keeps growing.entry.md (copied to the root as AGENTS.md), CONTEXT.md, stage-CONTEXT.md, questionnaire.md. Context map: context-map-node.md, context-map-schema.md. System map: object.md, process.md. Bundle from sources: concept.md, source.md, plan.md, claim.md, bundle-schema.md, keep-out.txt._tools/. links.py checks that links and input paths resolve (--graph also writes the graph); viz.py draws one or more graphs as viz.html; index.py writes _index.md from the notes; quotes.py checks quotes against their sources and keeps keep-out phrases out.LICENSE (opens in a new tab)assets/templates/CONTEXT.md (opens in a new tab)assets/templates/bundle-schema.md (opens in a new tab)assets/templates/claim.md (opens in a new tab)assets/templates/concept.md (opens in a new tab)assets/templates/context-map-node.md (opens in a new tab)assets/templates/context-map-schema.md (opens in a new tab)assets/templates/entry.md (opens in a new tab)assets/templates/keep-out.txt (opens in a new tab)assets/templates/object.md (opens in a new tab)assets/templates/plan.md (opens in a new tab)assets/templates/process.md (opens in a new tab)assets/templates/questionnaire.md (opens in a new tab)assets/templates/source.md (opens in a new tab)assets/templates/stage-CONTEXT.md (opens in a new tab)references/bundle-from-sources.md (opens in a new tab)references/core.md (opens in a new tab)references/forms.md (opens in a new tab)references/system-map.md (opens in a new tab)scripts/index.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/decision-recordCreate a lightweight Architecture Decision Record (ADR) as a numbered Markdown file in a Decisions folder, with context, decision, consequences and alternatives. Use when the user wants to record a technical or product decision, write an ADR, document why something was chosen, or log a choice for later review./getting-startedSet up and check the Knowledge MCP bundle (Open Notebook search, reading and writing). Use when the user installs Knowledge, asks what Knowledge can do, gets a "not_configured", "auth_failed" or "unreachable" error from a knowledge tool, or wants to turn the Open Notebook module on or off./meeting-notesCreate structured meeting notes as a Markdown file with attendees, decisions, action items and follow-up, and optionally save them to an Open Notebook notebook. Use when the user asks to write up a meeting, make meeting notes, record decisions and action items from a call, or turn a transcript into notes.Other plugins' skills for the same job
knowledge@seayniclabs is listed by seayniclabs/plugins — review the source before installing
npx claudepluginhub seayniclabs/plugins --plugin knowledge