perpetuum
Set up, supervise, and control a persistent multi-layer "explore → execute → escalate" agent loop on a project. Use whenever a user asks to keep an agent running on a task across sessions or days — finding bugs, polishing writing, distilling a style, watching feeds, scanning for gaps, or any task whose value grows with how many findings the agent produces. Also use when the user wants to inspect, pause, resume, stop, or send a new instruction to an already-running perpetuum task.
Security Assessment
Detected risks:
About perpetuum
Perpetuum is a framework skill for setting up, supervising, and controlling a persistent three-layer "explore, execute, escalate" agent loop on a project. It targets tasks whose value grows with how many findings an agent can produce over hours or days, such as bug hunting, writing polish, style distillation, feed watching, and gap scanning, and it also manages the lifecycle of an already-running loop: inspect, pause, resume, stop, or nudge with a new instruction. What ships is an adaptable framework rather than fixed source code; the architecture is fixed but the prompts, trigger scripts, and contract files are templates rewritten per task.
The design separates a producer inner agent (Layer 1, fresh context per dispatch, so it cannot rubber-stamp prior behavior) from a judging middle agent (Layer 2, fresh per cycle) that commits, fixes, or escalates, above a persistent scheduler (`trigger.sh`, Layer 3) and an optional human/host monitor layer. This GAN-like discriminator/generator split prevents the self-certifying failure of simpler loops, with durable state kept in files and git rather than a long-lived conversation. The skill is organized as a router into references for setup, status, control, feedback, git-worktree parallelism, trigger authoring, design rationale, and an optional browser dashboard. It runs on top of cc-use and ships worked examples (adversarial testing, article polish, GitHub watcher, observability-gap scanning, style distillation) with plan/inbox/escalation contract files and trigger scripts.
Target users are developers and power users who want an autonomous, long-running agent that keeps producing findings across sessions while remaining inspectable and controllable, escalating genuine decisions to a human. Because it runs a persistent scheduler that autonomously dispatches shell-driven agent work, commits, and can act on GitHub, it grants meaningful autonomy and should be pointed at scoped projects with human escalation in place.
FAQ
What kinds of tasks is perpetuum for?
Long-running tasks whose value grows with the number of findings, such as bug hunting, article and writing polish, style distillation from a target corpus, GitHub issue/PR triage, and observability-gap scanning. It also manages inspecting, pausing, resuming, stopping, or nudging an existing loop.
How does it avoid an agent rubber-stamping its own work?
It separates a producer inner agent with fresh context per dispatch from a judging middle agent that is fresh per cycle. This GAN-like discriminator/generator split, plus a blind fresh-agent comparison for keep/revert decisions, prevents the self-certification problem of simpler single-agent loops.
What does it require to run?
It runs on top of the cc-use skill and uses Bash, Read, Write, Edit, Glob, and Grep, with a persistent trigger.sh scheduler and tmux for the middle-agent session. Durable state lives in files and git; the GitHub watcher example additionally uses the gh CLI, and an optional Python browser dashboard is available.
Is running a persistent autonomous loop safe on my project?
The loop autonomously dispatches shell-driven work and can commit code or act on GitHub across cycles, so it grants real autonomy. It is designed with human escalation, an inbox for instructions, and file/git-based durable memory so decisions stay inspectable; point it at scoped work and keep escalation in place, especially for irreversible actions.
Can I run several loops at once?
Yes. It supports running multiple loops in parallel on the same project via git worktrees, with a dedicated worktree reference for isolating each line of work on its own branch.
All Files
62 filesInstall perpetuum
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
zc277584121/perpetuum