Canopus — AI skill for Claude Code
Canopus keeps long-running AI coding agents locked on their goal: frozen acceptance envelopes, deterministic circuit breakers for drift and loops, durable task state, and a Claude Code Stop-hook foote.
How to install Canopus
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Hsiang-Tang/canopus and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Canopus does
Canopus keeps long-running AI coding agents locked on their goal: frozen acceptance envelopes, deterministic circuit breakers for drift and loops, durable task state, and a Claude Code Stop-hook footer latch. Stdlib-only, adoptable in 15 minutes.
Alternatives in AI
- Omniget — Udemy & Hotmart course downloader, YouTube downloader (yt-dlp GUI, 1,800+ sites) + desktop app for AI agents 13.9k ★
- Ralph For Claude Code — by Frank Bria - An autonomous AI development framework that enables Claude Code to work iteratively on project 8k ★
- Open Multi Agent — TypeScript multi-agent orchestration engine — one runTeam() call from goal to result 5.8k ★
README
Canopus — keep long-running AI agents locked on their goal
Spacecraft on multi-year missions used a *Canopus star tracker* to lock onto one bright star and hold their orientation. **Canopus** does the same for AI coding agents such as Claude Code and Codex: a small, complete framework for running them with engineering discipline. It turns an ambiguous request into a frozen, acceptance-checkable goal; lets replaceable agents push that goal forward across sessions, engines, and machines; and **stops them deterministically when they drift, loop, or over-engineer** — while every project's data stays in its own repository.
It is plain standard-library Python and Markdown that you can adopt in about 15 minutes.
[`docs/EVIDENCE.md`](docs/EVIDENCE.md) maps every behavior to the test that proves it.
Why it exists
AI agents are productive inside one chat and unreliable across many. The failures are predictable:
| Failure | What Canopus does instead |
|---|---|
| Chat becomes the database; a new session forgets what was accepted | Task state lives in the task's Issue and Task Footer; every session resumes from it |
| Commits, tests, and reviews look like progress | Only closed acceptance items and resolved blockers count as progress |
| Every "reasonable" finding grows the scope | The envelope is frozen; out-of-scope findings are deferred, widening needs re-admission |
| Review/fix loops never end | Finite allowances that never replenish, and a circuit breaker on stagnati |
Related Skills
Task Anchor
Claude Code mod that keeps long sessions on track: remembers the session goal, scores topic drift, and re-anch
Llmix
Production LLM call layer for AI agents and tools: keep OpenAI/Anthropic/AI SDK/LiteLLM, hot-swap models with
Answer Contract
Four rules that stop your AI agent from padding, rambling, and shipping one mediocre answer: Implicit-Need Fil
Model Forward
Restate the model-forward stance — go with Claude, not against it; skills are scaffolding; the durable core is
LLM Dark Patterns
Umbrella for the LLM Dark Patterns Hooks suite — single-purpose Claude Code Stop hooks that suppress sycophanc
Multi Agent Protocol
A four-party collaboration protocol for running AI agent teams on real work — auditable authorization, durable
Related Agents
Transcript Inspector
Specialist agent for diagnosing stop hook failures by reading Claude Code session transcripts. Use when the st
Part 11: Auto-Capture Hook (Stop Manually Writing Memory)
By Terp - Terp AI Labs --- The vault system from Part 9 is powerful, but there's a gap: you have to manually w
Lens Backend
Backend architecture lens of the production readiness audit. Judges what breaks at 10x traffic and what breaks