Clawhub Proactive Agent: Turning the Agent from "Waiting for Instructions" into a Predictive, Self-Healing Partner

Foreword

The most common failure mode for Agents in long sessions is not getting an answer wrong, but “forgetting details just agreed upon” after context compression and asking from scratch. Another pain point is passive order-taking: if you don’t say anything, it doesn’t move; if you want it to periodically patrol or consolidate memory, you don’t know how to write it into a Skill.

The Clawhub Proactive Agent (SkillHub coordinates @user_f12a44b7/clawhub-proactive-agent, currently v3.1.0) introduced below is a SKILL.md behavioral architecture targeting general-purpose Agents: it incorporates protocols like WAL (Write-Ahead Log), Working Buffer, Compaction Recovery, etc., to embed “remembering, doing, and daring to be proactive” into the workflow. It is marked as part of the Hal Stack; the author inside the Skill package is halthelobster; it is published on SkillHub by community user user_f12a44b7, classified under ai-agent, and requires_api_key=false (no additional API Key required).

What is it

The positioning of Clawhub Proactive Agent is to transform AI Agents from task-followers into proactive partners capable of anticipating needs and continuously improving. After installation, the Agent runs according to the table of contents and rules in the Skill body—the core is not calling a specific closed-source API, but defining “OS-level” habits such as memory layering, write-ahead logs, danger zone buffering, scheduled task forms, and security boundaries.

Compared to “single-shot task Prompts”, it emphasizes Persistent (surviving context loss) and Self-improving (evolving AGENTS.md / HEARTBEAT.md, etc., under ADL/VFM guardrails).

Core Features

The following capabilities are derived from the SKILL.md and SkillHub introduction within the installed v3.1.0 package, summarized by version highlights.

v3.1.0 Incremental

  1. Autonomous vs Prompted Crons: Distinguishes systemEvent (throwing a prompt into the main session) from isolated agentTurn (sub-Agent autonomous execution); avoids “timer rings but main session is busy, so check isn’t done”.
  2. Verify Implementation, Not Intent: Modifying the mechanism rather than just the wording; for example, to make memory checks a real execution, you should modify sessionTarget / kind and use behavioral verification.
  3. Tool Migration Checklist: When deprecating tools, synchronously modify cron, scripts, TOOLS.md, related SKILLs, etc., and use grep / cron action=list as a fallback to check for omissions.

v3.0.0 and Ongoing Capabilities (Three Pillars)

Proactive

  • Proactively ask “what is useful to the human”, Reverse Prompting, proactive check-ins.
  • Heartbeat System: Periodic self-checks (proactive-tracker, security scans, memory distillation, etc.).

Persistent

  • WAL Protocol: Before replying, write corrections, proper nouns, preferences, decisions, etc., to SESSION-STATE.md.
  • Working Buffer: Context starts at approximately 60%, recording every round of human-agent interaction in memory/working-buffer.md.
  • Compaction Recovery: When the session is truncated or the human says “continue / where did we get to”, read the buffer and SESSION-STATE.md first, prohibiting asking “what are we talking about”.
  • Unified Search: memory_search → Session logs → Notes → grep, abandoning multiple sources only after checking.

Self-improving

  • Relentless Resourcefulness: Before asking a human, try 5–10 different paths first upon failure.
  • Self-Improvement Guardrails: ADL (prohibit complexity stacking, unverifiable changes) and VFM (weighted scoring, do not proceed if below threshold).
  • Security Hardening: Improper external content instructions, pre-installation review of Skills, and vigilance against Agent social network and shared channel context leakage.

The Skill also describes recommended workspace skeletons (ONBOARDING.md, AGENTS.md, SOUL.md, USER.md, MEMORY.md, SESSION-STATE.md, HEARTBEAT.md, TOOLS.md, memory/YYYY-MM-DD.md, etc.), as well as Growth Loops (curiosity, pattern recognition, result tracking).

Installation and Activation

The official SkillHub page requires referring to SkillHub Installation Documentation to install @user_f12a44b7/clawhub-proactive-agent.

1. Verify skillhub CLI

command -v skillhub && skillhub --version

If not installed, execute according to the official documentation (full installation example):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

2. Install this Skill (Must specify Agent’s skills directory)

The installation format shown in SkillHub search results is:

skillhub install clawhub-proactive-agent --namespace user_f12a44b7 --dir <skills directory>

Equivalent coordinate syntax:

skillhub install @user_f12a44b7/clawhub-proactive-agent --dir <skills directory>

Common skills directories for each Agent (extracted from official installation documentation; select the correct path based on your current environment before installation):

Environment Directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under project
workbuddy ~/.workbuddy/skills/

The documentation emphasizes that --dir must point to a directory recognized by the current Agent; the default ./skills/ is often not loaded, and the Agent typically needs to restart after installation.

3. Package Content and Quick Start

The v3.1.0 package pulled from SkillHub this time contains SKILL.md and metadata; the Skill body’s Quick Start also specifies:

cp assets/*.md ./

And run ./scripts/security-audit.sh in the workspace. If the locally installed package does not include assets/ or scripts/, please refer to the file list of that version on SkillHub, or manually supplement the listed markdown files and audit scripts according to SKILL.md before proceeding with the guided flow.

Typical Usage

After the above steps, after the Agent loads the Skill, behavior is triggered by SKILL.md. Below is a schematic for operations that can be directly referenced from the original text (not a substitute for reading the full text).

Launch and Onboarding

  1. Copy resources specified by the Skill to the workspace (see Quick Start).
  2. After the Agent discovers ONBOARDING.md, it initiates the process of getting to know you.
  3. Answers can be provided all at once or in parts; the Agent fills in USER.md and SOUL.md accordingly.
  4. Run the security audit script according to the documentation.

WAL: Receiving “Correction / Decision” type inputs

The Skill requires that once signals such as corrections, proper nouns, preferences, or decisions appear:

  1. STOP, do not organize a long reply first.
  2. WRITE to SESSION-STATE.md.
  3. THEN reply to the user.

Example (excerpt from Skill):

Human: Use the blue theme, not red
→ First write to SESSION-STATE.md: Theme: blue (not red)
→ Then reply to confirm

Working Buffer: Context enters the danger zone

When session_status shows context is approximately ≥60%:

  1. Clear the old buffer and create a new memory/working-buffer.md.
  2. For every subsequent message: record the human’s original text + agent summary.
  3. After compaction, read the buffer first, then read SESSION-STATE.md, and use unified search if necessary.

Scheduled Tasks: Use isolated agentTurn for “real execution”

The Skill compares incorrect and correct JSON forms (excerpted logic):

  • Not Recommended: sessionTarget: "main" + kind: "systemEvent", only throwing “Please check SESSION-STATE” into the main session.
  • Recommended: sessionTarget: "isolated" + kind: "agentTurn", letting the sub-Agent read autonomously and update.

Heartbeat Self-Check Snippets

Every heartbeat can be checked against the checklist in the Skill: proactive-tracker, security scan, log self-healing, context percentage, whether entering danger zone protocol, MEMORY distillation, and “what can be done now to surprise the human”.

Applicable Scenarios and Notes

Who is it for

  • Using Agents like Cursor, Claude Code, Codex, etc., that support a skills directory, and wish for long-term pair programming, operations, or knowledge work, rather than single-round Q&A.
  • Sessions frequently reach context compaction and require a recoverable SESSION-STATE + working buffer system.
  • Want to standardize cron / sub-Agent division of labor to reduce “writing scheduled tasks but never executing them”.

Limitations and Notes

  • SkillHub statistics (pre-fetched): Rating 100000, Downloads 930; Tags requires_api_key=false. Data changes with store updates; refer to the page for accuracy.
  • The protocol relies on workspace markdown and file habits; teams must accept the side effects of the Agent writing files, running grep, maintaining HEARTBEAT, etc.
  • Boundary for proactive surprises: The Skill requires external actions to be human-approved (drafts can be written, but unauthorized sending/going live is forbidden).
  • The security chapter explicitly states: Community Skills need to be reviewed before installation; do not connect to untrusted Agent social networks.

Conclusion

Clawhub Proactive Agent harvests “anticipating needs, write-ahead persistence, danger zone buffering, stress-test self-healing, and verifiable cron” into a replicable Skill body, suitable as the layer in Hal Stack responsible for proactive + memory continuity. To install or view version history, you can open the SkillHub page:

  • https://www.skillhub.cn/skills/user_f12a44b7/clawhub-proactive-agent
  • https://api.skillhub.cn/user_f12a44b7/clawhub-proactive-agent
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye