If you looked at GitHub Trending today, you probably saw RinDig/icm-architect surge past 6,600 stars (+2,800 in 24 hours).
The core idea behind Interpretable Context Methodology (ICM) (Jake Van Clief & David McDermott, arXiv:2603.16021, MIT-licensed) hits a nerve every Claude Code, Cursor, Codex, and Gemini CLI developer has felt this year:
Stop writing orchestration code for sequential AI workflows. Make the folder structure the architecture.
Instead of stuffing a 300-line CLAUDE.md, three stale specs, and raw browser dumps into a 30,000-token monolithic prompt — or wiring up a brittle multi-agent framework — ICM enforces ten clean invariants:
- One folder, one job.
- A compact root router (
AGENTS.md<= 60 lines) — and if another tool readsCLAUDE.md, make it a 1-line pointer, never a second drifting copy. - Numbered folders encode order (
01_extract-design/,02_implement-ui/,03_visual-qa/). - Every stage has a
CONTEXT.mdcontract defining## Inputs,Do NOT load:,## Process,## Outputs, and## Check. - Factory vs. Product separation — stable rules live in
_shared/; ephemeral run artifacts live inside each stage'soutput/. - Every stage ends at a check gate (human, script, or small model writing
check.mdstarting withpassorfail: <why>). - Under 8,000 tokens per stage. Prevent context rot; don't try to compress it after the fact.
- Plain text, relative links, YAML frontmatter.
- Status lives on disk.
- Instantiate by copying from
_templates/.
The Friction We Kept Running Into
When we tried adopting ICM across our own frontend, QA, and data pipelines, two practical questions came up immediately:
- Before running an agent skill over a real repo, it's hard to visualize what a 10-invariant ICM tree actually looks like — or how much context window it saves compared to a monolithic prompt.
- For existing messy repositories, how do you quickly check which of the 10 invariants you're violating (bloated
CLAUDE.md> 60 lines, duplicateAGENTS.md+CLAUDE.md, missingCONTEXT.mdcontracts, catch-allmisc/orfinal_v2sprawl)?
So we built a 100% client-side, zero-upload visual architect & repo auditor:
👉 ICM Workspace Architect & Context-Budget Builder (Free, Zero Upload)
What It Does Locally in Your Browser (Zero Server Calls)
- Visual Stage Pipeline Editor + 5 Presets:
- UI & Design-System Pipeline (
01_extract-design→02_implement-ui→03_visual-qa→04_ship-release) - Data & Table Research Pipeline (
01_capture-tables→02_sanitize-pii→03_analyze-metrics→04_executive-brief) - Full-Stack Feature Build & QA
- Knowledge Bundle (Sources → Claims → Concepts → Script)
- Blank Custom Pipeline
- UI & Design-System Pipeline (
- Live Context-Budget Comparator: Compares monolithic prompt stuffing against your worst-case single ICM stage against the 8,000-token ceiling — in our UI pipeline preset, peak per-stage context drops ~84% (from ~31.7k tokens to ~4.9k tokens).
- Real-Time 10-Invariant Scorecard: Flags immediately if
AGENTS.mdcrosses 60 lines or any stage breaches 8,000 tokens. - Pure-JS Client-Side
.zipExport (CRC32 STORE): Downloads a ready-to-unzip workspace containingAGENTS.md, a 1-lineCLAUDE.mdpointer, numberedCONTEXT.mdcontracts,_shared/,_templates/, and a zero-dependency Node.js validator (_tools/icm-walk-test.mjs). - Mode 2 — Repo Restructure Auditor: Paste the output of
tree -L 3and your currentCLAUDE.mdline count to get a 0–100 ICM Readiness Score and a copy-paste migration prompt.
Verifying Any Workspace in 1 Command
Every downloaded ZIP bundles _tools/icm-walk-test.mjs (zero npm packages required):
unzip ui-design-icm.zip cd ui-design-icm node _tools/icm-walk-test.mjs It deterministically verifies:
- Root entry file exists and stays
<= 60lines (Invariant #2) - Companion
CLAUDE.mdis a thin pointer rather than a duplicate (Invariant #2) - Numbered stages (
01_*..0N_*) are strictly sequential (Invariant #3) - Every stage contains
CONTEXT.mdwith## Inputs,## Process,## Outputs,## Check, and aDo NOT load:boundary (Invariants #4, #6, #7) -
_shared/and_templates/exist for Factory/Product separation (Invariants #5, #10)
Keeping Stage 01_ingest/ Under 8,000 Tokens
One subtle lesson from running ICM in production: folder isolation fails if your Stage 1 input file is already 18,000 tokens of raw HTML, unredacted logs, or CSS boilerplate.
That's why our presets pair naturally with Kinto Labs' other zero-upload local micro-tools and MV3 browser extensions (activeTab, scripting, storage only — zero tracking):
- Need clean UI tokens for
01_extract-design? → FreeDESIGN.mdGenerator & SpecPeek (Firefox) - Need pixel-drift feedback for
03_visual-qa? → FreeVISUAL_DIFF.mdPixel Diff Tool & AlignDock (Firefox) - Need PII/secret-free logs for
01_ingest? → Free AI Prompt & Log Secret Sanitizer & BlurDock (Firefox) - Need compact tables for
01_capture-tables? → Free LLM Table Optimizer (TOON / Markdown-KV) & SheetDock (Firefox)
Full credit to Jake Van Clief & David McDermott for publishing the MIT-licensed ICM methodology (arXiv:2603.16021 / RinDig/icm-architect). Try the visual builder or run your current repo tree through the auditor at kintolabs.com/tools/icm-workspace-builder/ — curious how low your existing CLAUDE.md scores!

