Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
What is this?
Less
More
Clief Notes
56.8k
5.0
Free
25 contributions to Clief Notes
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.
2 likes • 1h
@Gabriel Azoulay It will report it's findings and offer fixes before it writes anything. I've purposely built it that way so the agent doesn't go doing what it's not supposed to. The idea is for you and the agent to align on the modifications before you let it work. This is still in its early days but I've sussed out most of the issues so far. If you catch any let me know.
To MCP or not to MCP...
Did some digging as I was curious about the security implications with respect to utilizing MCP. Made some interesting findings! What are your personal takes? Is it `MCP to the moon!` or do you guys think users should be pumping the brakes?
To MCP or not to MCP...
2 likes • Sep 22
If I can do it with CLI, I’d much prefer it. It’s way faster and more token efficient. However, when dealing with hiding authorization from the user it can be advantageous. For instance, at work I host an MCP server for all to use that directly hooks up to a Google Sheet to pull data from. That server needs credentials that I don’t want others to have. This is the perfect use case for an MCP server. Give people functionality without giving them credentials. I can gate the data and authorization as I see fit.
Which Hareness are you using ?
Hi i am interested on the Harness layer that you are using
Poll
23 members have voted
0 likes • Sep 17
@Eytan Levy Pi is awesome as a barebones agent/harness. It comes with no fluff like Claude Code. The idea behind Pi is to make it yours so you build on top of it (have it build for you). It’s got a really good extension system that lets you modify and tweak just about anything. I saw people build games like Tetris into the harness. If you’re looking for something more batteries included you can check out a very cool fork of it called Oh My Pi which is a very opinionated build out with lots of functionality and tools. I highly suggest at least checking out either of them.https://github.com/can1357/oh-my-pi
Have you moved ICM into a multi-AI models framework?
It seems like one of the big advantages of ICM is that it can be used with any model. How are you leveraging this? If you are using multi-models what systems are you using and how are you deciding what is being fed to which model? I'm asking because I'm very interested in Qwen and trying to figure out how to incorporate that as a local AI.
1 like • Sep 14
I can’t comment directly on ICM implementation but I have adding new multi-model techniques in my day job as a software developer. I maintain our AI infrastructure and we use Litellm as our AI gateway to all our models provided through Google Vertex, AWS Bedrock, and Azure Foundry. The gateway now has features to set up auto-routing for models based on prompt complexity using their built in heuristics engine. It’s been working surprisingly well. For instance I’ve set up `gpt-auto` which scales GPT 5.6 models accordingly. A simple request goes to Luna. More complex goes to Terra. Reasoning goes to Sol. I know that OpenRouter has some of the same offerings. Another thing I’ve added to my arsenal is a Pi Extension called `pi-advisor` which will allow a lower tiered main executor model query a higher tiered advisor model if it gets stuck or if it start diverting from its main task. It guides and steers the main model (which could be Luna) so it stays on track. The outcomes are way better and there’s more guarantee of desired output. You can see it here https://github.com/philipbrembeck/pi-advisor. I know not everyone uses Litellm and Pi coding agent here but the concepts are important to understand and to be able to adapt to your workflows because this is the future of agentic engineering wether it be ICM based or not.
0 likes • Sep 17
@Jordan Shaw I’ve messed with Hermes a little. Super powerful and I could see it being a very good harness for ICM. Since I’m strictly concerned with coding I stick with Pi as it’s very slim and you can completely shape it to your needs. I very much try to minimize token consumption so it’s a perfect harness for that.
How can I use Codex and my ICM from anywhere?
I want to access Codex and my ICM workspace from my phone or another computer without relying on my Mac being on. My ICM includes personal, marketing, and mortgage work. I use Google Drive for personal and marketing files, and OneDrive for mortgage files, so I want to keep those separate. Would a Hostinger Linux VPS work, or do I need a cloud Windows PC or hosted Mac? I’d appreciate advice from anyone who’s set up Codex to work this way
How can I use Codex and my ICM from anywhere?
2 likes • Sep 16
@Erick Martinez I was wondering because CLI makes it much easier to accomplish this in a remote VPS like Hostinger using SSH. If you want the GUI style from the plugin in VS Code you’ll probably have to host a GUI based OS and use a different method of remoting in with VNC. Personally, I would just keep your Mac on and remote into it using something like Jump Desktop or No Machine. There are other solutions as well. You won’t be paying for hosting fees if you do it that way. That’s what I do. I have an always on Mac Mini and just remote into it. I use Herdr CLI Multiplexer for Pi Coding Agent sessions and remote into the machine via SSH on my phone. Once in I just type “herdr” into the command line and viola, I’m in with as many agent sessions as I want. If I want a UI experience I just use Jump Desktop to remote into from my phone. Easy peasy. No hosting.
1 like • Sep 16
Also, if you want to do it the way I do it you will need Tailscale to set up a VPN connection from your host and remote devices.
1-10 of 25
Ivan Piesh
3
19 points to level up
@ivan-piesh-5440
I'm a dev engineer that is passionate about staying relevant in today's insane, fast paced world of AI

Online now
Joined Apr 10, 2026
Powered by