# How Robert C. Martin actually uses coding agents

Clean Code author

**If you take one thing:** `uml-viewer`, colored by CRAP + mutation. instead of reading agent code, he drills through a live UML diagram of the system, colored by CRAP and mutation scores, and tells a companion agent what to change.

- **Agent:** Grok (app) ([source, 2026-10-25](https://x.com/unclebobmartin/status/2114402750851330268))
- **Agent:** Codex (cli) ([source, 2026-10-05](https://x.com/unclebobmartin/status/2107226963458810345))
- **Model:** Grok ([source, 2026-09-18](https://x.com/unclebobmartin/status/2101018229976043885))
- **Review:** Spot-checks, no line-by-line: crapper, dryer and mutator gate the code, other agents review, then a human look at structure and behaviour ([source, 2026-11-05](https://x.com/unclebobmartin/status/2118324933268762729))
- **Harness:** Talks the design through with grokbots by voice, a spec goes to Grok Build, then crapper, dryer and mutator; still no harness ([source, 2026-10-20](https://x.com/unclebobmartin/status/2112602074349223964))
- **Rules file:** .grok/rules/uml-viewer.md (Grok rules); AGENTS.md in older repos ([source, 2026-10-01](https://github.com/unclebob/uml-viewer/blob/0f54dd782525a49d7ba6ab1b7e2d6649a0a59078/.grok/rules/uml-viewer.md#L50))
- **Skills:** ub-mode, crap4clj, using-clj-mutate, speclj-structure-check, crap4go, using-mutate4go ([source, 2026-10-25](https://x.com/unclebobmartin/status/2114388856976069095))

## In their words

> I am transitioning away from using CLI agents for development.  On my last project I transitioned to using grokbots.

> I'm using codex to review the code that grok wrote.  Good results.

> It is eerie just how good @grok is now.  I've stopped using any other model for the time being.

> With reasonable constraints, like crapper, dryer, and mutator, agents can do a good enough job to allow a responsible engineer to spot-check the code rather than do line-by-line reviews.

> I had most of the design discussion with grok orally while driving in the cybertruck.


Archetype (our label): Toolsmith. Newest source: 2026-11-05.
Card: https://prehistoriq.com/stacks/unclebob/ · Data: https://github.com/prehistoriq/stacks/blob/main/data/stacks/unclebob.json
