Claude Code usage

Loop Engineering

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost.

11,687 stars 1,576 forksUsage & cost trackers Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add cobusgreyling/loop-engineering

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/cobusgreyling/loop-engineering.git

From the README

Loop Engineering
Stop prompting. Design the loop. Get a score.

Start in 5 minutes ·
  Quickstart ·
  What do you want to do? ·
  Refactor path ·
  中文 ·
  Pattern picker

--tool defaults to claude if you omit it. Swap for grok, codex, or opencode. Week one is report-only.

You design a system that discovers work, hands it to agents, verifies results, and persists state — instead of typing the next prompt yourself.

New here? Quickstart · Refactor a project · Thin GitHub Action loop (no STATE.md required)

What do you want to do?

This is a pattern library for operating agents around a codebase. It is not a “rewrite the module” button.

Full jobs table: docs/jobs.md.

Patterns

Interactive picker: showcase. Index: patterns/registry.yaml.

Getting started

Empty repo → first STATE.md walkthrough: scripts/empty-to-state-demo.sh.

Roll out L1 report → L2 assisted → L3 unattended only after the verifier has been right for a week. See loop-design-checklist.

Loop Ready now weights recent runs harder than files on disk. A 30-day-old STATE.md is not L3.

Examples by tool

Claude Code (including the plugin) · Grok · Codex · OpenClaw · Opencode · GitHub Actions

Operating & safety

Failure modes · Anti-patterns · Safety · Operating loops · Stories (wins and failures)

Loop engineering amplifies judgment. Token costs can explode. Unattended loops make unattended mistakes. Read what the loop ships.

Help wanted

Docs and small PRs: first response within 48 hours.

- Add your project to adopters
- Share a story (failures first-class)
- Live good first issue list
- Show your loop · Ask anything

See CONTRIBUTING.md.

CLI packages and companion repos (optional — not required for week one)

Unified front door: npx @cobusgreyling/loop (init · doctor · status · audit · cost). Older…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
3 November 2026
Topics
agentic-aiai-agentsai-codinganthropicautomationclaudeclaude-codecodexcoding-agentsdevops-automationdevtoolsgithub-actions

FAQ

What is Loop Engineering?

Practical patterns, starters & CLI tools for loop engineering with AI coding agents. Design systems that prompt and orchestrate agents (inspired by Addy Osmani and Boris Cherny). Includes loop-audit, loop-init, loop-cost. It is a usage for Claude Code, from cobusgreyling/loop-engineering on GitHub.

How do I install Loop Engineering?

Run /plugin marketplace add cobusgreyling/loop-engineering inside Claude Code, then follow the setup in the README.

Is Loop Engineering popular?

cobusgreyling/loop-engineering has 11,687 GitHub stars and 1,576 forks. It was last updated on 3 November 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.