본문으로 건너뛰기
cccskills
무료GitHub에 공개

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md5.2 KB
  • metadata.json729 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 .claude/agent-estate.local.md exists (is the loop active?)
  2. If not active: exits normally (exit 0)
  3. If done (done: true in frontmatter): removes state file, exits normally (auto-stop)
  4. If active and not done:
    • Detects rate limits (429) → waits 60s
    • Detects API overload (529) → waits 30s
    • Increments cycle counter in the state file
    • Outputs a JSON {"decision": "block", "reason": "..."} to prevent exit
    • Re-injects the prompt for the next cycle

Setup Script (scripts/setup-estate.sh)

Creates the state file at .claude/agent-estate.local.md with YAML frontmatter (active, cycle, started_at, user_prompt) and the full cycle protocol instructions. If already active, outputs current state and continues.

Ledger (.claude/agent-estate.md)

The persistent brain — every Claude session reads and updates it. Contains:

  • Current Status — phase, focus, momentum, cycle count
  • Session Log — what happened each session
  • Worked Things — table of everything done with files touched
  • Future Works — prioritized task queue
  • More Works — ideas, discoveries, nice-to-haves
  • Statistics — cycles, tests, bugs fixed, features shipped
  • Tell The Next Claude — sacred handoff message for cross-context memory

State File (.claude/agent-estate.local.md)

Ephemeral file that signals an active loop. Contains the cycle counter and preserved user prompt. Removing this file (via /agent-estate:stop) is the only way to end the loop.

Commands

CommandDescription
/agent-estate:startActivate the loop in perpetual mode (no end condition)
/agent-estate:start <prompt>Start perpetual mode with a specific task focus
/agent-estate:start --done <prompt>Start in done mode — auto-stops when task is complete
/agent-estate:statusShow current cycle, mode, stats, and the latest handoff message
/agent-estate:stopManually remove the state file to stop the loop

Work Priority Protocol

Built into the agent instructions, in order:

  1. Broken things — failing tests, bugs, errors
  2. Incomplete things — half-finished features, TODOs, FIXMEs
  3. Missing things — no tests, no error handling
  4. Ugly things — code smells, dead code
  5. Slow things — performance issues
  6. New things — features that improve the project
  7. Creative things — surprise the user

Cycle Protocol

Each cycle follows this pattern:

  1. Read .claude/agent-estate.md (the ledger)
  2. Decide what to work on next
  3. Do the work — write code, fix bugs, add features, run tests
  4. Update the ledger with what was done, discovered, and planned
  5. Update statistics, session log, and "Tell The Next Claude" handoff
  6. Immediately start the next cycle (never stop)

Prerequisites

  • jq — required for JSON output in the stop hook
  • Claude Code with plugin support

Installation

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

Tips

  • Long sessions: Claude Max recommended for extended autonomous runs
  • Guiding prompts: Use /agent-estate:start <prompt> for focused work without being restrictive
  • Ledger size: If it exceeds ~300KB, Claude will auto-summarize older cycles
  • Resuming: The ledger persists after stop. Start again and Claude picks up from the handoff
  • Full autonomy: No prompt = Claude explores and decides what's most valuable

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when you need to install the embedded robot agents into either .cursor/agents or .claude/agents, selecting the destination interactively and copying the embedded agent definitions from project assets. This should trigger for requests such as Install embedded agents; Bootstrap .cursor/agents; Bootstrap .claude/agents; Copy robot agents. Part of cursor-rules-java project

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 22일 업데이트

Use when you need to generate an AGENTS.md file for a Java repository — covering project conventions, tech stack, file structure, commands, Git workflow, and contributor boundaries — through a modular, step-based interactive process that adapts to your specific project needs. This should trigger for requests such as Create AGENTS.md; Update AGENTS.md file; Add agent instructions. Part of cursor-rules-java project

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 22일 업데이트

Expert legal research agent for finding and scraping expungement data state by state. Knows authoritative sources, URL patterns, Firecrawl configuration, and 2026 legal landscape. Activate on "find expungement data", "scrape state laws", "legal research", "court URLs", "statute sources", "Clean Slate laws", "automatic expungement research". NOT for interpreting laws (use national-expungement-expert), building UI, or legal advice.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 22일 업데이트

Generated by Gremlin Forge Meta-Agent 🍆👾⚡

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 22일 업데이트

Work autonomously without waiting for hand-holding — complete tasks end-to-end without asking for permission at every step.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 22일 업데이트

abmahnung

무료

Entwurf einer BAG-konformen Abmahnung im Arbeitsrecht – konkrete Schilderung der Pflichtverletzung, klare Verhaltenserwartung, ausdrückliche Sanktionsandrohung. Use when AG eine verhaltensbedingte Sanktion vor einer Kündigung dokumentieren muss oder AN die Wirksamkeit einer empfangenen Abmahnung prüft.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

majiayu000/claude-skill-registry-data272026년 10월 22일 업데이트

majiayu000의 스킬 모두 보기

이 스킬의 문제 신고