agent-estate
Perpetual autonomous work loop for Claude Code — no end condition, no memory regression, no context overfill. Maintains a persistent ledger across all sessions.
npx skills add majiayu000/claude-skill-registry --skill agent-estate --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Agent Estate Perpetual autonomous work loop plugin for Claude Code. Turns Claude into an agent that works cycle after cycle, maintaining a persistent ledger across all sessions, never stopping until explicitly told to. ## Overview Agent Estate creates an infinite work loop by intercepting Claude's stop events via a shell hook. Each time Claude tries to exit, the hook blocks the exit, increments the cycle counter, and re-injects the prompt — creating a true perpetual agent. ## Architecture ``` agent-estate/ ├── .claude-plugin/plugin.json # Plugin manifest (name, version, author) ├── commands/ │ ├── start.md # /agent-estate:start — activates the loop │ ├── stop.md # /agent-estate:stop — removes state file to allow exit │ └── status.md # /agent-estate:status — shows cycle count, ledger summary ├── hooks/ │ ├── hooks.json # Registers stop-hook.sh on the "Stop" event │ └── stop-hook.sh # Core engine: blocks exit, increments cycle, re-injects prompt ├── scripts/ │ └── setup-estate.sh # Creates .claude/agent-estate.local.md state file ├── LICENSE └── README.md ``` ## Key Components ### Stop Hook (`hooks/stop-hook.sh`) The core engine. Runs on every Claude "Stop" event: 1. Checks if `.cl
- Overview
- Architecture
- Key Components
- Stop Hook (hooks/stop-hook.sh)
- Setup Script (scripts/setup-estate.sh)
- Ledger (.claude/agent-estate.md)
- State File (.claude/agent-estate.local.md)
- Commands
- Work Priority Protocol
- Cycle Protocol
- Prerequisites
- Installation
- Tips
git clone https://github.com/MercuriusDream/agent-estate.git mkdir -p ~/.claude/plugins/local ln -s "$(pwd)/agent-estate" ~/.claude/plugins/local/agent-estate chmod +x agent-estate/scripts/setup-estate.sh chmod +x agent-estate/hooks/stop-hook.sh
What does the agent-estate skill do?
Perpetual autonomous work loop for Claude Code — no end condition, no memory regression, no context overfill. Maintains a persistent ledger across all sessions.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill agent-estate --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
