Claude Code Harness adds autonomous Plan-Work-Review cycles
A new wrapper for Claude Code and other AI assistants introduces a Go-native engine to speed up execution and a structured autonomous development loop.
The repository provides a dedicated development wrapper that implements an autonomous Plan→Work→Review cycle for AI assistants. It integrates with Claude Code, Codex CLI, Cursor, and Grok to automate the transition from specification to implementation and verification, reducing the need for manual re-explanation of tasks.
Go-native engine and safety guardrails
The tool replaces Node.js hooks with a Go-native guardrail engine, reducing execution latency from 40–60 ms to approximately 10 ms. This engine enforces 13 protective rules that automatically block dangerous operations, such as rm -rf, forced pushes to the main branch, and the reading of secrets.
The system uses a runtime floor to manage permissions for billing, external sends, and production deployments. While some rules are configurable per project, the assistant is prohibited from rewriting protected settings to bypass these checks.
Autonomous development workflow
Harness manages project state through spec.md for specifications and Plans.md for task tracking. The workflow is divided into specific skills: /harness-plan generates the initial scope and completion criteria, while /harness-work all executes all approved tasks, including necessary checks and corrections.
To ensure quality, /harness-review triggers a separate review process from the implementation phase. Serious findings during this stage block the completion of the task. For larger jobs, the /breezing command divides work between agents, and /harness-loop allows for repeated iterations, defaulting to eight cycles.
Integration and installation
The tool is supported for Claude Code, Codex CLI, Cursor, and Grok. For users of Claude Code, installation is performed via the marketplace using the following commands:
/plugin marketplace add Chachamaru127/claude-code-harness
/plugin install harness@claude-code-harness-marketplace
/harness-setupFor other tools, the repository provides specific setup scripts. Users can clone the repository and run the corresponding script, such as scripts/setup-cursor.sh or scripts/setup-grok.sh. This allows developers to manage code review strategies and task execution more consistently across different AI environments.
Context and state management
To prevent context loss during long tasks, the system utilizes a pre-packaging hook. If a session is interrupted, the /harness-work --resume latest command recovers the recorded plan, changes, and check results from the .claude/state/ directory.
The tool is released under the MIT license and does not provide its own spending cap, as it relies on the underlying Claude Code limits and model provider fees. Project data remains in the local project folder, though the assistant still sends content to the provider according to its own data handling policies.
Sources
Related news
- Open SourceGodogen: Autonomous Game Generation With Claude Code and CodexOpen-source project Godogen builds complete games from a description — architecture, assets, code, and a visual proof loop that fixes rendering bugs automatically.·same source: github.com
- Performance Optimizationllm.asm runs Qwen3-0.6B in a 24 KB bare-metal OS written in pure assemblyA developer built a bootable operating system from scratch in x86-64 NASM that loads Qwen3-0.6B and outperforms llama.cpp by up to 54% on the same hardware.·by shared tag
Comments
Weekly digest
The best of vibe coding, AI agents and open source — once a week, no spam.