ICM Handbookthird-party guide
workspace icm-architect/ 01_collect/ 02_draft/ 03_check/ _shared/ _tools/

A worked example: the weekly brief pipeline

Most explanations of ICM show a tree diagram and stop. The diagram is the easy part. What decides whether a workspace survives contact with a real agent is whether the files inside the folders say enough for a stranger to run them.

So here is a complete pipeline, file by file: a weekly brief that collects from a fixed set of sources, drafts 300 to 400 words, and then checks every claim against the collected material. It is small on purpose — a pipeline you can run end to end in one sitting is the only kind worth building first.

The tree

weekly-brief/
├── CONTEXT.md
├── catalog.md
├── 01_collect/
│   ├── task.md
│   ├── check.md
│   ├── input.md
│   └── shelf/
│       ├── source-01.md
│       └── source-02.md
├── 02_draft/
│   ├── task.md
│   ├── check.md
│   └── brief.md
├── 03_check/
│   ├── task.md
│   ├── check.md
│   └── report.md
└── _shared/
    └── style.md

Three numbered folders, one shelf, one shared folder. _shared/ gets the underscore so it sorts last and never looks like a step.

CONTEXT.md — the rules that apply everywhere

# Context

## What this workspace produces
A weekly brief for one reader: 300-400 words, plain prose, no bullet lists.

## Sources
Only files inside 01_collect/shelf/ count as evidence.
Never use a fact that is not in a shelf file.

## Voice
Short sentences. No adjectives about importance.
Banned: "leverage", "landscape", "game-changer", "it is worth noting".

## Universal check
The workspace is done when 03_check/report.md starts with pass:

Every line is a decision. The word limit, the source restriction, the banned words, and the definition of done are all written where every step can read them. Anything that only applies to one step stays out of this file.

01_collect/task.md

# Collect

Read input.md. For each source named there, write one file to shelf/.

Each shelf file uses exactly these headings:
## source
## published
## claims
## quote

Rules:
- One file per source, numbered source-01.md, source-02.md.
- Max 400 words per shelf file.
- If a source cannot be fetched, write the file anyway with claims: none, so the gap is visible.

Do not summarise opinions. Extract claims that can be checked.

The line about writing a file even when a source fails is the one that keeps the run honest later. A missing file looks like it was never needed; an empty file with claims: none looks like what it is — a gap.

01_collect/check.md

pass: shelf/ has one file per source named in input.md, every file has all four headings, every file is under 400 words
fail: any source is missing without a claims: none file, or any heading is absent

One line each. No interpretation, no "consider whether". If a check can be argued with, the agent will argue with it.

02_draft/task.md

# Draft

Read every file in 01_collect/shelf/. Write brief.md: 300-400 words, plain prose.

Every sentence that states a fact must be traceable to a shelf file. If two shelf files
conflict, say so in one sentence rather than choosing.

Do not add context from your own knowledge. Do not use the banned words in CONTEXT.md.

Token budget: 8,000.

03_check/task.md

# Check

Read brief.md and every shelf file. For each factual sentence in brief.md, name the shelf
file that supports it. Write report.md.

report.md format:
  first line: pass: or fail:
  then a table: sentence | supporting file | supported (yes/no)

If any sentence is unsupported, the first line is fail: — do not fix the sentence, report it.

That last instruction matters more than it looks. A checking step that also repairs the draft is no longer a check; it is a second draft with a clipboard.

What a run looks like

In a run we did with this exact tree, the agent read CONTEXT.md, then 01_collect/task.md, then the two shelf files, and stopped — it did not open 02_draft/ until the collect check passed. That is the behaviour you are looking for: one folder at a time, in order, with a verdict between each.

The first run failed, which was the useful part. 01_collect/check.md returned fail: because one source had been saved without the ## published heading. Because the check was a single line the agent could not fudge, the fix was obvious and took a minute: the task file gained a line telling it to write published: unknown rather than skipping the heading.

The second run passed collection, and 03_check/report.md came back with fail: on one sentence — a claim about a number that appeared in neither shelf file. That sentence was in the draft because the model knew something true about the topic. True and unsupported are different things, and this is exactly the failure mode a check step exists to catch.

Why this shape and not another

A three-step pipeline is a pipeline in the five shapes, and it is the right first shape for one reason: the cost of getting it wrong is one afternoon. A record library or a context map asks you to commit to a structure before you have felt how an agent actually reads your files.

Build this, run it twice, and you will know more about what your real workspaces need than any amount of reading about them.

Copy it

Recreate the tree above, or start from the pipeline template which has the same folders with the placeholders intact. When you have built one, run the walk test on each step folder before you run the whole pipeline — it takes two minutes and catches the missing headings before the agent does.

Next: how to install it in Claude Code, Codex and Gemini CLI →