proactive-agent

proactive-agent is a skill for Claude Code, Codex from davidtoby/agent-skills. It costs 46 tokens per session (4,901 once invoked), scanned A, a copy of proactive-agent, MIT.

A set of instructions and patterns for making an AI agent anticipate useful work, retain important corrections and decisions, recover after its context is shortened, and improve its own workflows with safeguards.

In plain words
What is it for?
Use it to design proactive agent behavior, record decisions before risky changes, recover after context compaction, search across information sources, review tool migrations, and add security checks.
Why use it?
It addresses agents that only respond to direct prompts, lose important details when conversations become too long, or fail to check whether their actions actually worked.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/davidtoby/agent-skills/proactive-agent
Any agent
npx skills add davidtoby/agent-skills --skill proactive-agent
Clone the repo
git clone --depth 1 https://github.com/davidtoby/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for proactive-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/davidtoby/agent-skills/proactive-agent.svg)](https://agentmods.dev/skills/davidtoby/agent-skills/proactive-agent)
Your own site
<a href="https://agentmods.dev/skills/davidtoby/agent-skills/proactive-agent"><img src="https://agentmods.dev/badge/skills/davidtoby/agent-skills/proactive-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,901 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00046 $0.04901
Opus 5 $0.00023 $0.02450
Sonnet 5 $0.00009 $0.00980
Haiku 4.5 $0.00005 $0.00490

Measured 4d ago against content hash 571521d9f6f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

proactive-agent scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/security-audit.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

3. Look for shell commands, curl/wget, or data exfiltration patterns
Origin

This is a copy

100% identical to proactive-agent — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/.archive/umbrella-curation-2026-04-29/openclaw-imports/proactive-agent/SKILL.md · 633 lines

How it starts

The opening of the file, as written. The whole thing — 633 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Proactive Agent 🦞

By Hal Labs — Part of the Hal Stack

A proactive, self-improving architecture for your AI agent.

Most agents just wait. This one anticipates your needs — and gets better at it over time.

What's New in v3.1.0

  • Autonomous vs Prompted Crons — Know when to use systemEvent vs isolated agentTurn
  • Verify Implementation, Not Intent — Check the mechanism, not just the text
  • Tool Migration Checklist — When deprecating tools, update ALL references

What's in v3.0.0

  • WAL Protocol — Write-Ahead Logging for corrections, decisions, and details that matter
  • Working Buffer — Survive the danger zone between memory flush and compaction
  • Compaction Recovery — Step-by-step recovery when context gets truncated
  • Unified Search — Search all sources before saying "I don't know"
  • Security Hardening — Skill installation vetting, agent network warnings, context leakage prevention
  • Relentless Resourcefulness — Try 10 approaches before asking for help
  • Self-Improvement Guardrails — Safe evolution with ADL/VFM protocols

The Three Pillars

Proactive — creates value without being asked

Anticipates your needs — Asks "what would help my human?" instead of waiting

Reverse prompting — Surfaces ideas you didn't know to ask for

Proactive check-ins — Monitors what matters and reaches out when needed

Persistent — survives context loss

WAL Protocol — Writes critical details BEFORE responding

Working Buffer — Captures every exchange in the danger zone

Compaction Recovery — Knows exactly how to recover after context loss

Self-improving — gets better at serving you

Self-healing — Fixes its own issues so it can focus on yours

Relentless resourcefulness — Tries 10 approaches before giving up

Safe evolution — Guardrails prevent drift and complexity creep


Contents

  1. Quick Start
  2. Core Philosophy
  3. Architecture Overview
  4. Memory Architecture
  5. The WAL Protocol ⭐ NEW
  6. Working Buffer Protocol ⭐ NEW
  7. Compaction Recovery ⭐ NEW
  8. Security Hardening (expanded)
  9. Relentless Resourcefulness
  10. Self-Improvement Guardrails
  11. Autonomous vs Prompted Crons ⭐ NEW
  12. Verify Implementation, Not Intent ⭐ NEW
  13. Tool Migration Checklist ⭐ NEW
  14. The Six Pillars
  15. Heartbeat System
  16. Reverse Prompting
  17. Growth Loops

Read the full file on GitHub · 633 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 633 lines · 46 tokens per session scan A 571521d9f6f3

Subscribe to this mod's changes

proactive-agent is a skill published in the GitHub repository davidtoby/agent-skills (10 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 4,901 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to proactive-agent, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

officecli-pitch-deck

Use this skill when the user is building a fundraising / investor pitch deck — seed, Series A / B / C, convertible note, SAFE round, strategic raise. Trigger on: 'pitch deck', 'investor deck', 'Series A deck', 'Series B deck', 'Series C deck', 'fundraising deck', 'seed pitch', 'VC deck', 'raising capital', 'term sheet…

iOfficeAI/OfficeCLI · 163 tokens

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens

officecli-docx

Use this skill any time a .docx file is involved -- as input, output, or both. This includes: creating Word documents, reports, letters, memos, or proposals; reading, parsing, or extracting text from any .docx file; editing, modifying, or updating existing documents; working with templates, tracked changes, comments…

iOfficeAI/OfficeCLI · 114 tokens

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…

iOfficeAI/OfficeCLI · 222 tokens

officecli-pptx

Use this skill any time a .pptx file is involved -- as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file; editing, modifying, or updating existing presentations; combining or splitting slide files; working with…

iOfficeAI/OfficeCLI · 106 tokens