proactive-agent: Patterns for proactive work and context-loss recovery

By halthelobsterClawHub

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.

AI agentsClawHub
Total downloads
180.9K
ClawHub
Last 7 days
608
▼ 11.1% vs the week before
Best 100 rank
—
Not in Best 100
Days in Best 100
30
out of 104 days tracked

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-agent

Trend

Growing steadily
020040060080060808/2809/2510/3011/27
Daily downloads, last 30 days
82
Daily downloads, last 30 days vs the 30 days before
+9.3%

How this skill works

  1. 1Copy the templates into your workspace with `cp assets/*.md ./`.
  2. 2On first run, the agent detects ONBOARDING.md and asks questions to fill in USER.md and SOUL.md.
  3. 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.
  4. 4After context passes 60%, each exchange is appended to memory/working-buffer.md.
  5. 5After compaction, the agent reads the working buffer, SESSION-STATE.md, and recent daily notes before it continues.
  6. 6Run `./scripts/security-audit.sh` to check the setup.

Are you the author of this skill? Add its rank to your GitHub repo

Best Skills

The badge updates every day and links back to this page.

[![Best Skills](https://linkly.ai/skills/badge/clawhub/proactive-agent.svg)](https://linkly.ai/skills/s/clawhub/proactive-agent)
Linkly AI

Maintained by Linkly AI

Linkly AI is the knowledge brain for AI agents. It automatically parses the notes, study materials, bookmarks, knowledge bases, voice memos, meetings, videos and ideas on your computer, so your agent can search and read everything you have.

Download Linkly AI
Or send this line to your agent and it will help you install and connect.

Set up https://linkly.ai/docs/en/agent-setup.md