dememax

Agent Cycle — Security skill for Claude Code

Security community

Tooling for a reviewer–implementer pair of AI coding agents (today Claude Code driving Codex in VS Code): fail-closed guards queue each turn into the implementer's visible chat and audit its escalatio.

How to install Agent Cycle

This entry records only its repository, not the path inside it, so there is no exact command to give. Open dememax/agent-cycle and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Cycle does

Tooling for a reviewer–implementer pair of AI coding agents (today Claude Code driving Codex in VS Code): fail-closed guards queue each turn into the implementer's visible chat and audit its escalations; repository snapshots and review by reproduction back them up. Project-agnostic: one chat and one state directory per project.

Alternatives in Security

  • Pal — Multi-model AI integration — chat, debugging, code review, planning, security audit 11.3k ★
  • ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
  • Maestro Odyssey — Long-running iterative cycle — one entry, seven modes (debug improve planex review security defensive ui) 530 ★

README

agent-cycle

Tooling for a reviewer-implementer pair of AI coding agents, whose guards fail closed. One agent drives and reviews; the other implements, one test-first RED/GREEN pair at a time; a person decides everything that is theirs. The driver queues each turn into the implementer's visible chat, audits the commands the implementer escalated, snapshots the repositories, and reviews the commits by reproducing them. Nothing either agent reports is accepted on its word.

Today the driver is Claude Code and the implementer is Codex, in its VS Code chat. The process is project-agnostic: each project has its own implementer chat and its own state directory. The first project served is [check_rst](https://github.com/dememax/check_rst); the second is this repository itself.

Start here

A cold reader can reconstruct the supervised procedure without an earlier agent conversation:

  1. Begin with the cold bootstrap.
  2. Materialize the appropriate brief from the versioned templates rather than copying an earlier turn.
  3. Use cold-reader-manifest.toml to find the authority for each scenario step.

The complete documentation starts at [docs/index.rst](docs/index.rst).

Status

  • Release: version 0.1.1; the second work package and token tools TOKENS-1–TOKENS-4 are complete.
  • In use: stage "S0+": the driver queues every turn itself, and nobody relays messages.
  • Tests: python3.14 -m pytest characterizes the tools' refusal paths with generated logs and a fake Codex CLI only.
  • Current repository: version-2 profiles drive ordered validation; the queue anchors the accepted Codex CLI version; and the cold-reader manifest, brief templates and decision ledger make the operating procedure reproducible from versioned files.
  • Delivered tooling: the audit and repository