← ClaudeAtlas

self-improving-agent-looplisted

Architect a long-running agent system that measurably gets better instead of accumulating confident guesses — specialist micro-agents woken by events, a shared playbook, observed (not self-reported) outcomes as the training signal, and a critic that deletes unsupported claims. Use when building any autonomous or scheduled agent, a multi-agent system, a monitoring/growth agent, a "learns from feedback" feature, or when an existing agent's advice has drifted into plausible nonsense. Also use when deciding between one generalist agent and several specialists. Carries the attribution mechanism, the honesty mechanism, and the control-plane pattern that avoids exposing a laptop to the internet.
hellokianben-collab/vishal-agarwal-context · ★ 0 · AI & Automation · score 60
Install: claude install-skill hellokianben-collab/vishal-agarwal-context
# Building an agent loop that actually improves Distilled from a working system that monitors three social platforms, proposes changes, and grades its own past advice against measured outcomes. **The default failure mode of every long-running agent:** it produces advice, nobody records whether the advice worked, the knowledge base fills with plausible claims, and within a month every recommendation is confidently wrong. Everything below is defence against that. --- ## 1. Specialists that sleep, not one generalist One agent per job. Each is **woken only by the event it owns** and does nothing the rest of the time. | Agent | Woken by | Owns | |---|---|---| | Design | an asset needs judging/replacing | the visual artifact, scored against the account's own baseline | | Copy | the words are the problem | titles, hooks, first 15 seconds | | Analyst | daily | one briefing: what changed, why, **one** instruction | | Platform (per surface) | that surface's metrics move | platform-specific behaviour | | Strategy | weekly, or on a trigger | what to make next | | Critic | weekly | grading the others, deleting unsupported claims | Why specialists win here: - **Cost.** Every agent's context is paid for on every run. A generalist that reads everything is expensive *and* vague. - **Scoring.** A narrow agent can be scored on a specific measured number. A generalist cannot. - **Currency.** Each specialist can have its own small research beat keeping it up to date, without polluting