proactive-agent: Patterns for proactive work and context-loss recovery
Proactive Agent is a set of patterns and file templates for AI agents. It covers writing key details to disk, recovering after context is truncated, designing cron jobs, and limits on how the agent changes its own rules. It aims to make an agent act on likely needs and keep its state across sessions.
What problem this skill solves
Agents lose details when context is compacted or truncated. A correction or decision made earlier in a session can disappear, and the agent may ask the human to repeat it.
Agents also tend to wait for instructions. Cron jobs written as plain prompts may sit unused, and a report of "done" may only reflect a changed prompt, not a changed mechanism. With this skill, key details are written to files before the reply, the agent recovers from a working buffer, and it checks the mechanism behind a change.
Good for
- Long sessions with many corrections, names, and decisions
- Setups that use cron jobs for background checks and maintenance
- Retiring or replacing a tool and finding every reference to update
Not for
- Single short questions with no follow-up or saved state
- Setups where the agent cannot write to a workspace, since memory is kept in local Markdown files
Install this skill
proactive-agent only
openclaw skills install @halthelobster/proactive-agentTrend
Growing steadily- Daily downloads, last 30 days
- 82
- Daily downloads, last 30 days vs the 30 days before
- +9.3%
How this skill works
- 1Copy the templates into your workspace with `cp assets/*.md ./`.
- 2On first run, the agent detects ONBOARDING.md and asks questions to fill in USER.md and SOUL.md.
- 3The agent scans each message for corrections, names, preferences, decisions, draft changes, and specific values, and writes them to SESSION-STATE.md before it replies.
- 4After context passes 60%, each exchange is appended to memory/working-buffer.md.
- 5After compaction, the agent reads the working buffer, SESSION-STATE.md, and recent daily notes before it continues.
- 6Run `./scripts/security-audit.sh` to check the setup.
Are you the author of this skill? Add its rank to your GitHub repo
The badge updates every day and links back to this page.
[](https://linkly.ai/skills/s/clawhub/proactive-agent)