Constraintloop — Development skill for Claude Code
Evidence-driven completion contracts and bounded convergence loops for coding agents.
How to install Constraintloop
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mauhpr/constraintloop and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Constraintloop does
Evidence-driven completion contracts and bounded convergence loops for coding agents.
Alternatives in Development
- PaperSpine — PaperSpine is a motivation-driven skill for learning from strong academic papers, building a paper’s central a 5k ★
- TokenEconomizer — Experience-Driven Black-Box Cost Control for Coding Agents 3.4k ★
- Domain Driven Design — Apply DDD patterns and bounded contexts 663 ★
README
ConstraintLoop
[](https://github.com/mauhpr/constraintloop/actions/workflows/ci.yml) [](https://codecov.io/gh/mauhpr/constraintloop) [](https://pypi.org/project/constraintloop/) [](https://pypi.org/project/constraintloop/) [](https://opensource.org/licenses/MIT)
ConstraintLoop is an evidence-based completion gate for AI coding agents. Instead of relying on a human to inspect every generated line, it requires the agent's work to pass an explicit, versioned contract of tests, static checks, metrics, artifacts, and independent model rubrics.
The central distinction is deliberate:
- Deterministic constraints produce reproducible evidence: exit codes, parsed metrics, and validated artifacts. Required deterministic failures block autonomous completion. A human may explicitly waive an exact local evidence snapshot with a non-empty reason; CI ignores every waiver and remains blocking.
- Non-deterministic constraints apply a written rubric through OpenAI, Anthropic, or any command that speaks ConstraintLoop's JSON protocol. They are advisory by default. A required rubric must run at least twice and declare a majority quorum.
ConstraintLoop supports Claude Code, Codex, and Gemini CLI through their hook lifecycles. CI is the final authority: it ignores local caches and human waivers.
Bounded convergence loops are implemented. The design keeps ConstraintLoop in control of evidence, budgets, and stopping while native Claude or Codex loops perform at most one requested repair per transition. See [docs/convergence-loops.md](docs/convergence-loops.md).
Completion loops can also require the current coding ses
Related Skills
Agent Ops
Evidence-driven engineering loops and safety guardrails for Codex, Claude Code, and OpenCode.
Weaponized Curiosity
Portable Agent Skill for evidence-driven research, experimentation, and bounded optimization
Autonomous Loops
Patterns and architectures for autonomous coding-agent loops — from simple sequential pipelines to RFC-driven
Evidence Contracts
Drop-in contract that makes a coding agent prove its work instead of claiming it: every claim of state carries
Jev Gates
Three gates for any coding agent: a deterministic approval gate before irreversible actions, a completion gate
Subagent Orchestration
Use subagents for bounded delegation, not for vague “go think more” loops.
Related Agents
Debate Tribunal
Multi-agent structured debate protocol where 3-5 persona-driven debaters argue positions through claim-evidenc
Swe Dev Loop Systems Architect
Designs and audits coding-agent loops, debugging and migration workflows, CI/release loops, autonomous-science
Auditor Agent
Self-improving auditor. Reads persona evaluation traces and proposes bounded, evidence-driven optimizations to