icm-architect, a GitHub agent skill, picked up about 2,810 stars in a single day during the week of December 6, 2026. It teaches an AI agent to design a process into a folder-based workspace, or to restructure a messy existing folder into one. The idea behind it is simple: let the folder structure do the orchestration, instead of writing code that passes context between several agents.
The repository, RinDig/icm-architect, is MIT licensed and follows the open Agent Skills format. That means it works in any agent that reads a SKILL.md file. This post explains the method, what the skill does step by step, how to install it for each agent, and where it is the wrong tool.
TL;DR: what readers ask first
| Question | Short answer |
|---|---|
| What is it? | An agent skill that builds or restructures a folder into an ICM workspace |
| What is ICM? | Interpretable Context Methodology, from an arXiv paper dated March 17, 2026 |
| Does it need code or a framework? | No. Plain folders and markdown; optional Python scripts for link checks and graphs |
| Which agents? | Codex, Gemini CLI, Hermes Agent, Claude Code, Cursor, GitHub Copilot, the Claude apps |
| License | MIT |
| Biggest caveat | The paper abstract argues the case; it is not a benchmark against frameworks |
What ICM is, in plain words
The paper (28 pages, 54 references, by Jake Van Clief and David McDermott) starts from a complaint. Agent orchestration usually means building a multi-agent framework that handles context passing, memory, error handling and step coordination in code. That works for complex, concurrent systems. For sequential work where a person reviews each output, the authors say it adds engineering overhead the problem does not need.
Their alternative replaces the framework with the filesystem. In the abstract's words, numbered folders represent stages, plain markdown files carry the prompts and context that tell one agent what role to play at each stage, and local scripts do the mechanical work that does not need AI at all. One agent, "reading the right files at the right moment", does what a multi-agent setup would do. The design borrows from Unix pipelines, modular decomposition, multi-pass compilation and literate programming.
One naming wrinkle: the arXiv abstract calls the method the Model Workspace Protocol, while the title and the repo use Interpretable Context Methodology. They refer to the same work.
What the skill does
The skill's SKILL.md gives the agent two modes.
Build mode starts from a described process. The agent asks a few questions at a time: what is the repeating unit of work, where do you stop to check something, what stays the same each run (voice, rules, schema) and what is new, what does done look like, and who else needs to find things. The skill says your pauses become stage boundaries, your "I always check X before Y" becomes a check, and your "it always has to follow Z" becomes shared reference material.
Restructure mode takes an existing folder, repo or vault. The agent inventories before touching anything, finds the hidden form in the mess, and classifies every file as a catalog, contract, factory, product or dead file. It then finds what points at each file before proposing a move, presents a migration map for approval, and migrates by copy, verify, then remove. The skill even warns about a Windows and macOS trap: renaming a file to CONTEXT.md can silently overwrite an existing context.md.
The three primitives and five forms
Translucent layers around a small green core, picturing how each ICM step loads only the context it needs
Every ICM workspace is built from three primitives:
- Sequence: numbered folders, where each step's output is the next step's input.
- Shelf: a folder of same-shaped files, each copied from one template.
- Catalog: a small file that points down and stores no content, such as
AGENTS.md.
On top of those the skill defines five forms, each a recipe:
| Form | Built from | Use it when |
|---|---|---|
| Pipeline | a sequence | the same steps run again and produce a deliverable |
| Record library | a shelf with a status line per record | records accumulate (people, clients, sessions) |
| Knowledge bundle | linked notes, often filled from sources | the product is the knowledge itself |
| Context map | teams, processes and data linked by consumes and produces | the subject is an organization |
| System map | nouns, verbs and an impact index | a tree that later agents will edit |
The skill says to nest them freely and to keep each level's catalog small. Its advice on scaffolding is blunt: three real stages beat seven imagined ones, and if the job fits in one saved prompt, do not build a workspace at all.
The ten invariants
A document pinned in green beside a folder, standing for the small entry file and per-folder contracts in an ICM workspace
The skill lists ten defaults every ICM starts from. The ones that matter most in daily use:
- One folder, one job. Each folder states its own purpose in a file inside itself.
- A small, stable entry file. The root
AGENTS.mdanswers where am I and where do I go for a task, stays under about 60 lines, and never holds content. A tool that expects another file name gets a one-line pointer, never a second copy. - Numbering encodes order.
01_,02_and so on. - Every working folder has a contract. A
CONTEXT.mdnames inputs, process, outputs and the check. - Factory versus product. Stable reference material (rules, voice, schemas, templates) lives apart from working artifacts, because references constrain the model while inputs are worked on.
- Every step ends at a check. A person, a script or a small model checks the output. A non-person check writes
check.mdwhose first line ispassorfail:, and a fail stops the run. - Load only what the step needs. A step reads its contract, references and inputs, under about 8,000 tokens, never the whole workspace.
The rest cover plain-text linkable files, status on disk instead of in memory, and instantiating work by copying a template. The seventh rule is the one aimed at the core agent problem: context bloat. It prefers preventing a flood of context over compressing it later. Our guide to what CLAUDE.md does as persistent memory covers a related habit from the Claude Code side.
The walk test
A shelf of rounded cards with one card pulled out, picturing the files an agent opens when it walks an ICM workspace cold
The skill's validation step is a cold read, as an agent with no memory. Can you answer where you are and where to go for the current task within the entry file plus two more reads? Does each working folder's contract name its exact input paths, job, output and check? Can you state status from what exists on disk? Does any routing file carry content that belongs on a shelf? Is any fact stored in two places? Does one contract plus its inputs stay under about 8,000 tokens?
If a step fails, the instruction is to fix the structure, not to explain more: move or split files until the walk works. That is a useful habit even without the skill. It tests whether your folder is understandable to someone, or something, that has never seen it.
How to install it
The README gives one location per agent. Keep the folder named icm-architect, because a skill's name must match its folder.
| Agent | Where the folder goes |
|---|---|
| Codex | ~/.agents/skills/ or .agents/skills/ in a repo |
| Gemini CLI | ~/.gemini/skills/ or ~/.agents/skills/, or gemini skills install with the repo URL |
| Hermes Agent | ~/.hermes/skills/, or list ~/.agents/skills under its external skills directories setting |
| Claude Code | ~/.claude/skills/ or .claude/skills/ in a project |
| Claude apps | Zip the folder, with the folder as the zip root, and upload under Customize, Skills |
| Cursor, GitHub Copilot, others | That client's skills folder |
Then say "ICM this", "structure this for agents" or "build me a workspace for X". One copy in ~/.agents/skills/ serves both Codex and Gemini CLI. For background on the format itself, see our complete guide to agent skills and the directory of agent skill sources.
A worked example: a weekly research brief
Say you write a weekly brief from three sources. As a chat habit it lives in your head. As an ICM pipeline it might look like this, following the skill's own conventions:
brief-workspace/
AGENTS.md # entry file, under 60 lines, routes only
CONTEXT.md # the pipeline
_shared/ # factory: voice.md, rules.md, template.md
01_collect/ # CONTEXT.md, input/, output/
02_draft/ # CONTEXT.md, output/
03_check/ # CONTEXT.md, checks quotes, writes check.md
_tools/ # optional scripts copied in
Each stage's CONTEXT.md lists exact input paths, split into working inputs for this run and reference inputs for every run. Stage 03 writes a check.md that begins with pass or fail:. If it fails, nothing ships. The shared voice rules live once in _shared/, so a change there reaches every run.
The optional scripts are plain Python 3 using the standard library: links.py checks that links and input paths resolve, viz.py draws the workspaces as an interactive graph, index.py writes an index from the notes, and quotes.py checks quotes against their sources. An agent without a shell can skip them.
Where it fits, and where it does not
The skill is honest about its limits. Its guardrails say to climb the ladder only when the rung below is genuinely automated and repeating: chat, then a saved prompt or skill, then folders and one agent. A workspace for something done twice is scaffolding, not architecture. It also says ICM loses to framework code on real-time multi-agent collaboration, high-concurrency multi-user serving and automated mid-pipeline branching.
That puts it where most knowledge work sits: sequential, checked and repeatable. Content pipelines, research briefs, client records, onboarding docs, team knowledge maps. It is a poor fit for a live service handling many users at once.
Two practical cautions follow from that:
- A skill is instructions you run with your agent's permissions. Read
SKILL.mdand the scripts before copying them in, as you would any code. Our note on agent skills as a security surface explains why, and a lockfile for skills keeps versions reproducible. - Approval gates matter in restructure mode. The skill builds in a migration-map approval step. Keep it, and back up or commit the folder first, as the skill itself asks.
What is claimed and what is verified
| Claim | Status |
|---|---|
| The skill follows the Agent Skills format and works across Codex, Gemini CLI, Claude Code and others | Stated in the README; the format is shared, but we did not test every client |
| One agent with the right files can replace a multi-agent framework for sequential work | The paper's argument; the abstract gives no benchmark, so treat it as a design claim |
| The repo gained about 2,810 stars in a day | A trending count at the time of writing; stars measure attention, not quality |
| The method is open | The paper is on arXiv and the reference implementation is MIT licensed, per the abstract and the repo |
We read the arXiv abstract page and the repo's README and SKILL.md. We did not run the skill on a real workspace, so claims about how well it restructures a large repo are the project's own.
How it compares with what you may already use
If you already keep an AGENTS.md or a CLAUDE.md, ICM builds on that: the root entry file is the same idea, held to a hard size limit and used only for routing. What ICM adds is a convention for the folders below it, a contract per working folder, and the rule that every step ends at a check. It is closer to a house style for agent workspaces than to a new tool. Our write-up of the gstack skills factory shows a different, more tool-centric way to organize a skills-based workflow, and the premortem skill is an example of a narrow, single-purpose skill by comparison.
For teams, the appeal is that process knowledge ends up in files a person can open, edit and review, with no database or vendor service in between. If you want hands-on practice building and governing agent workflows at work, see our workshops.
Bottom line
icm-architect is worth ten minutes if you repeat a multi-step task with an agent and keep losing context between steps. Install it for your agent, point it at one real workflow, and run the walk test on the result. If one saved prompt does the job, do not build a workspace. If the paper's central claim interests you, measure it on your own task before you trust it.
Related reading
- What are agent skills? A complete guide
- What is CLAUDE.md: persistent memory in Claude Code
- Top 10 agent skills directories
- Agent skills as a security threat: verification
- skills-lock.json for reproducible agent skills
- gstack: Garry Tan's Claude Code skills factory
- Premortem agent skill for risk review
- Interpretable Context Methodology paper on arXiv
Details are accurate as of December 6, 2026. Star counts and repository contents change often.
