PiCM Factory: build and maintain ICM workflows in Pi or Claude Code
Hey folks, I built PiCM Factory to help turn a repeatable process into an ICM workflow, then keep it useful as the process changes. It’s an independent tool inspired by Jake Van Clief and David McDermott’s Interpretable Context Methodology, this community, and icm-architect. It works in both Pi and Claude Code.
Say you publish a newsletter. You could start with: “Build me a workflow that turns research notes into a brief I can approve, then drafts the newsletter from that approved brief.” PiCM asks how you actually work and proposes a folder structure. Each stage says what goes in, what comes out, and where you review it. The writer gets the brief you approved, not whatever it remembers from the research conversation.
There are five commands:
  • `New` builds a workflow from a description. It supports ordered stages like the newsletter example, reusable specialist folders with their own rules and examples, and team workflows where one role hands work to another.
  • `Adopt` starts with folders, prompts, and reference material you already use. It figures out what’s working and proposes what’s missing without forcing everything into a new layout.
  • `Maintain` checks whether the workflow still does what you intended. Choose a broader Strict pass, a lighter Balanced pass, or trace one symptom: “Why did the final draft drift from the approved brief?” It checks the instructions and handoffs, then proposes repairs.
  • `Optimize` asks a different question: Could this workflow work better? It looks for duplicated instructions, unnecessary context, repeated tool calls, and steps that cause rework. It can recommend tooling, but its own edits stay in the docs.
  • `Help` explains setup, commands, settings, and examples without changing anything.
One feature worth trying: maintain and optimize can learn from actual runs. Use the workflow docs alone, include the current session, or ask it to review recent sessions from that workspace. “Use the past five sessions and look for where I keep correcting the draft” gives it better evidence than asking it to improve a prompt in the abstract.
You stay in control: PiCM shows you what it proposes and waits for your go-ahead before editing. You can keep a pass read-only and exclude private material. Both hosts can record when you last finished maintenance. Pi also offers optional startup reminders you can dismiss or snooze for a day or a week. Finish a pass manually and the regular interval starts again from there.
Coding repositories are supported too. It can help an agent find the right source, tests, and local instructions in an existing repo or monorepo without loading the whole thing.
To try it: install PiCM Factory, then run /picm-new in Pi or /picm-factory:new in Claude Code. If you already have a workflow folder, start with /picm-adopt or /picm-factory:adopt instead.
I’d love to hear how it handles a workflow you’re already running. Please give it a shot and if it does something it shouldn't or you want something added please submit an issue.
4
3 comments
Ivan Piesh
3
PiCM Factory: build and maintain ICM workflows in Pi or Claude Code
Clief Notes
skool.com/cliefnotes
What we give away free beats most paid courses. 40+ lessons, growing.
Leaderboard (30-day)
Powered by