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

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit 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.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davidtoby/agent-skills/proactive-agent
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.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for proactive-agent

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00046 $0.04901
Opus 5.5 $0.00018 $0.01960
Sonnet 5.5 $0.00009 $0.00980
Haiku 4.5 $0.00005 $0.00490

Measured 1mo ago against content hash 571521d9f6f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (11 stars, last pushed 2mo ago), licensed MIT. It adds 46 tokens to every session and 4,901 once invoked, about $0.0002 per session on Opus 5.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

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

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

iOfficeAI/OfficeCLI · 56 tokens

recall-memory

Recall relevant long-term memories on demand. Given a topic or question, judges relevance from pre-loaded metadata, loads only relevant files, and returns a concise summary to the main agent.

clacky-ai/openclacky · 40 tokens

officecli-word-form

Use this skill to create fillable Word forms (.docx) with real Content Controls (SDT) + legacy FormField checkboxes + MERGEFIELD mail-merge placeholders + document protection. Trigger on: 'fillable form', 'form fields', 'content controls', 'SDT', 'word form', 'fill in', 'only editable fields', 'protect document'…

iOfficeAI/OfficeCLI · 224 tokens

officecli-data-dashboard

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to…

iOfficeAI/OfficeCLI · 159 tokens