Simple Control Flow for Automatically Steering Agents

4 points by MrFantastik


csomar

One of these control flows in Claude Code, is that the program (cc) will prohibit the model from editing a file if it did not read it yet. My guess is that this improves the quality of the output by a "ton".

One of the flows I want, is to be able to "remind" the AI about something. For example, I use "yarn compile:lib" and "yarn compile:binary" to compile my Rust code. After working for a while, claude will bounce back to using "cargo check ..." as it forgets/neglects previous context.

So the flow will be -> detect "cargo check" usage -> message: no, you should use "yarn compile:lib"