claude-phase-loop

Bridges Claude Code to the repo-local phase-loop runner for status, resume, and bounded run flows.

2|1|Updated Jun 25, 2026
One-click install
npx skills add https://github.com/Consiliency/agent-harness --skill claude-phase-loop-consiliency
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: claude-phase-loop
Source: https://github.com/Consiliency/agent-harness/tree/main/skills-src/claude/claude-phase-loop
Command: npx skills add https://github.com/Consiliency/agent-harness --skill claude-phase-loop-consiliency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Operators using Claude Code need a consistent, safe way to inspect and drive the repo-local phase-loop orchestration runner without reimplementing its phase selection, reconciliation, or event-writing logic, and without risking unbounded autonomous runs. ## Core Features & Use Cases - Loop State Inspection: Report reconciled loop state, heartbeats, and terminal summaries via status, state --json, and monitor --once --json commands against the shared .phase-loop/ state surface. - Bounded Execution: Run or dry-run the phase loop with enforced bounds, clamping interactive runs to --max-phases 1 so Claude sessions never launch unbounded TUI runs. - Recovery and Repair: Print TUI recovery handoffs, reconcile durable state on resume, and audit or repair the installed bridge skill with sync-skills --check or --apply. - Use Case: After another harness drove the loop overnight, ask Claude for a handoff and status check; the bridge reads .phase-loop/state.json and tui-handoff.md, reports any frozen blocker such as branch_sync_conflict, and resumes with a bounded single-phase run. ## Quick Start Ask Claude to show the current phase-loop status and handoff using the claude-phase-loop bridge before resuming the run.

Frequently Asked Questions about claude-phase-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check phase-loop status from Claude Code?▼

Use the claude-phase-loop bridge with the status input, which maps to `phase-loop status` or `codex-phase-loop status`. For exact machine state, request `phase-loop state --json` or `monitor --once --json` to read the reconciled loop state.

How do I resume a phase-loop run after another harness drove it?▼

Start from the handoff or `monitor --once --json` output before resuming, since the local TUI may be stale. Then use the resume input to reconcile durable state and write the current snapshot from the canonical `.phase-loop/` directory.

Can Claude Code run the phase loop autonomously without bounds?▼

No. The bridge clamps interactive run requests to `--max-phases 1` by default and reports that it keeps runs bounded. Autonomous live dispatch is proof-blocked until the authenticated non-interactive planning smoke completes inside the runner timeout.

What does a branch_sync_conflict blocker mean in phase-loop?▼

It means the roadmap is committed only on your local branch and not pushed to the base, so the branch-governance preflight refuses the dispatch cleanly. Push the roadmap to the base branch, or pass `--allow-branchgov` to switch anyway.

How do I fix a drifted or missing claude-phase-loop bridge skill?▼

Run `phase-loop sync-skills --check` to audit the installed bridge, and use `--apply` only when you explicitly want repair. The advisory bridge record reports `missing_root`, `missing_skill`, or `drifted` states that indicate repair is needed before manual reentry.