agentleFS
GvHildebrandGvHildebrand/claude-code-skills/skills/icm-project/SKILL.md

icm-project

Skill0 starsChanged 43 days agoMITView on GitHub

Scaffold a new project using the Interpretable Context Methodology (ICM) — the filesystem-as-agent-architecture folder structure from Van Clief & McDermott (arXiv:2603.16021), where numbered stage folders are the pipeline, the folder hierarchy scopes context, and plain markdown files carry the prompts and state. Use this skill whenever the user wants to generate, scaffold, or set up a project "with that folder structure", an ICM workspace, a staged / stage-based / pipeline project, a numbered-stages agent workspace, or any multi-stage markdown-driven workflow with CONTEXT.md files and a five-layer context hierarchy — even if they don't say "ICM" by name. Also triggers on "new project like the paper", "stage workspace", "context methodology project", and "Unix-pipeline project structure".

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the user already stated these, use them.

    line 72
  2. Very specific:

    Add --force only if the user explicitly wants to overwrite an existing workspace.

    line 99
  3. Very specific:

    Don't pre-fill the stage instructions yourself unless the user asks — the point of ICM is that a human authors and reviews each stage's …

    line 114

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ICM Project Scaffolder

What this is

The Interpretable Context Methodology (ICM) replaces multi-agent framework orchestration with a plain folder structure. The insight: the filesystem is the architecture. There's no framework code to write — instead,

  • stage sequencing is the folder numbering (01_, 02_, 03_ …),
  • context scoping is the folder hierarchy (each stage loads only what it needs), and
  • state management is the files on disk (one stage's output/ is the next stage's input, and a human can read and edit it in between).

It runs like a Unix pipeline of markdown: each stage does one job, is human-reviewable, and hands a clean artifact to the next. This skill generates that structure so the user can start filling it in immediately.

For the full methodology (the five context layers, the reasoning behind the conventions), read references/methodology.md — do this if the user asks why the structure is shaped this way or wants to go deeper than scaffolding.

The structure it produces

<project>/
├── CLAUDE.md                    # Layer 0 — workspace identity
├── CONTEXT.md                   # Layer 1 — routing across stages
├── stages/
│   ├── 01_<stage>/
│   │   ├── CONTEXT.md           # Layer 2 — this stage's contract (Inputs/Process/Outputs)
│   │   ├── references/          # Layer 3 — stable reference material
│   │   └── output/              # Layer 4 — working artifacts (handoff point)
│   ├── 02_<stage>/ …
│   └── 03_<stage>/ …
└── _config/
    ├── shared/                  # references used by more than one stage
    └── setup/
        └── questionnaire.md     # fill in once, before the first run

How to run it

The whole job is: figure out the project name and the stages, then run the scaffold script. The script is deterministic and idempotent (it skips files that already exist unless --force is passed), so it's safe to re-run.

1. Gather two things

  • Project name → becomes the root folder (spaces are fine; it gets slugified to snake_case).
  • Stages → an ordered, comma-separated list of the pipeline steps. They're auto-numbered in the order given (01_, 02_, …).

If the user already stated these, use them. If they said "just make me one" or didn't specify stages, don't stall — use the paper's example pipeline (research, script, production) and tell them you did, so they can adjust. Only ask a clarifying question if the project's purpose is genuinely unclear and it would change the stages (e.g. a landing-page build vs. a podcast pipeline have very different stages).

Good stages describe one job each and flow in sequence. A few starting points by project type — adapt, don't treat as fixed:

  • Content/media pipeline → research, script, production
  • Web build → discovery, wireframe, copy, build, qa
  • Research report → gather, analyze, draft, review
  • Data pipeline → ingest, clean, model, report

2. Run the script

python3 <skill-dir>/scripts/scaffold.py \
  --name "Project Name" \
  --stages "research, script, production" \
  --dir "."
  • --dir is where the workspace folder gets created; default is the current directory. If the user named a target path, pass it.
  • --stages is optional; omit it for the default research, script, production.
  • Add --force only if the user explicitly wants to overwrite an existing workspace.

The script prints the tree it wrote and which files were new vs. skipped.

3. Report back

Show the user the tree the script produced and tell them the two immediate next steps:

  1. Fill in _config/setup/questionnaire.md (the project brief every stage draws on).
  2. Open the first stage's CONTEXT.md and replace the _Process_ placeholder with the real instructions for that stage.

Don't pre-fill the stage instructions yourself unless the user asks — the point of ICM is that a human authors and reviews each stage's contract. Offer to help write the first stage's CONTEXT.md if they'd like.

Notes

  • Every seeded file is a template with a placeholder, not empty. Each one states its layer and what belongs in it, so the user (or a future agent) can pick it up cold.
  • Re-running is safe. To add a stage later, re-run with the new stage list; existing files are skipped. Renumber rather than using 01b-style suffixes so ordering stays obvious.
  • _config/ is not a stage — the underscore prefix marks it as system/config so it sorts and reads separately from the numbered pipeline.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.