01
It starts by itself
you want a loop. Runs in Claude Code, then GitHub Actions.
- ↻ you want a loop
manual: design a control loop
A scheduled loop driving your codebase.
Install the Design Control Loop skill and make it a habit: follow https://gethabit.dev/skills/humanlayer/design-control-loop.md
2K installs5K starsMIT licenceSource on GitHub ↗

Design Control Loop
by humanlayer · 2K installs
The skill
Design control loop is a skill for engineering teams that interviews you to design an agentic control loop for your codebase, with sensor, controller and actuator, then builds it as local scripts plus a scheduled agent workflow.
Only when you ask.
The habit
A scheduled loop driving your codebase.
↻ Runs by itselfyou want a loop
When does it start? How does it check its work? What does it remember?
Stops after one loop design and one dry-run PR per run.
Read CI, package files, validation scripts and existing skills before asking.
Interview the user on set point, sensor, controller, actuator and disturbances, and write the design down.
Write .claude/skills/<skill-name>/SKILL.md with golden patterns and a response template.
Land sensor and controller as scripts and run all three pieces by hand.
Build the workflow from references/workflow-template.yml as sensor, controller, actuator steps.
Add the memory file and optional /iterate support with references/agent-iteration.ts.
Limit to one open PR per loop, validate the YAML and dry-run with a temporary push trigger.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Design Control Loop skill helps.
No. Every component is tailored to your repo and tools.
Through the memory file and /iterate comments on its PRs.
Copy the prompt at the top into your agent. It installs the skill from humanlayer/skills and sets up the habit. Or run npx skills add humanlayer/skills --skill design-control-loop.
Yes. It is published under MIT. Habit is free too.
Install the Design Control Loop skill and make it a habit: follow https://gethabit.dev/skills/humanlayer/design-control-loop.md
All humanlayer skills →More code skills →
Works in
Made by humanlayer, published under MIT. Habit links to the original and never changes it. Is this your skill?