據 AlphaMoat 統計,截至 2026-10,Proactive Agent Skill 累計下載 42,663 次、獲 15 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 606 位,在「AI 智慧體」分類(1,632 個)中排名第 111 位。
列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。
| 平台 | 累計下載 | 星標 | 評論 |
|---|---|---|---|
| ClawHub ↗ | 2萬 | 11 | - |
| SkillHub ↗ | 4.3萬 | 15 | — |
各平台的計數口徑不同,統計時間不一致。
包含工作緩衝、自主定時任務與心跳間隔配置,目標是讓 agent 主動發現問題並承接後續動作,而不是被動等指令。適合想引入記憶持久化或構建自改進 agent 的場景。
資料釋出於 2026-10-27
以下是根據技能文件生成的示例,不代表實際執行結果。
2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。
| 月份 | 累計下載 | 環比 | 星標 |
|---|---|---|---|
| 2026-10 | 4.3萬 | — | 15 |
| 2026-09 | 2.2萬 | — | 15 |
| 2026-08 | 1.9萬 | +1.6% | 15 |
| 2026-07 | 1.9萬 | — | 15 |
| 2026-05 | 1.8萬 | — | 13 |
以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。
---
name: proactive-agent
description: "Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Includes WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns."
homepage: https://lobehub.com/skills/openclaw-skills-proactive-agent
metadata: { "openclaw": { "emoji": "🚀", "requires": { "bins": [] } } }
---
# Proactive Agent Skill
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve.
## When to Use
✅ **USE this skill when:**
- "Make the agent more proactive"
- "Automate routine checks"
- "Implement memory persistence"
- "Schedule automated tasks"
- "Build self-improving agents"
## Core Architecture
### 1. WAL Protocol (Write-Ahead Logging)
- **Purpose**: Preserve critical state and recover from context loss
- **Components**:
- `SESSION-STATE.md` - Active working memory (current task)
- `working-buffer.md` - Danger zone log
- `MEMORY.md` - Long-term curated memory
### 2. Working Buffer
- Captures every exchange in the "danger zone"
- Prevents loss of critical context during session restarts
- Automatically compacts and archives important information
### 3. Autonomous vs Prompted Crons
- **Autonomous Crons**: Scheduled, context-aware automation
- **Prompted Crons**: User-triggered scheduled tasks
- **Heartbeats**: Periodic proactive checks
## Implementation Patterns
### Memory Architecture
```
workspace/
├── MEMORY.md # Long-term curated memory
├── memory/
│ └── YYYY-MM-DD.md # Daily raw logs
├── SESSION-STATE.md # Active working memory
└── working-buffer.md # Danger zone log
```
### WAL Protocol Workflow
1. **Capture**: Log all critical exchanges to working buffer
2. **Compact**: Periodically review and extract key insights
3. **Curate**: Move important information to MEMORY.md
4. **Recover**: Restore state from logs after restart
### Proactive Behaviors
#### 1. Heartbeat Checks
```bash
# Check every 30 minutes
- Email inbox for urgent messages
- Calendar for upcoming events
- Weather for relevant conditions
- System status and health
```
#### 2. Autonomous Crons
```bash
# Daily maintenance
- Memory compaction and cleanup
- File organization
- Backup verification
# Weekly tasks
- Skill updates check
- Documentation review
- Performance optimization
```
#### 3. Context-Aware Automation
- Detect patterns in user requests
- Anticipate follow-up needs
- Suggest relevant actions
## Configuration
### Basic Setup
1. Create memory directory structure
2. Set up SESSION-STATE.md template
3. Configure heartbeat intervals
4. Define autonomous cron schedules
### Advanced Configuration
```json
{
"proactive": {
"heartbeatInterval": 1800,
"autonomousCrons": {
"daily": ["08:00", "20:00"],
"weekly": ["Monday 09:00"]
},
"memory": {
"compactionThreshold": 1000,
"retentionDays": 30
}
}
}
```
## Usage Examples
### 1. Implementing WAL Protocol
```markdown
# SESSION-STATE.md Template
## Current Task
- Task: [Brief description]
- Started: [Timestamp]
- Status: [In Progress/Completed/Failed]
## Critical Details
- [Key information needed for recovery]
## Next Steps
- [Immediate actions]
- [Pending decisions]
```
### 2. Setting Up Heartbeats
```bash
# HEARTBEAT.md Template
# Check every 30 minutes
## Email Checks
- Check for urgent unread messages
- Flag important notifications
## Calendar Checks
- Upcoming events in next 2 hours
- Daily schedule overview
## System Checks
- OpenClaw gateway status
- Skill availability
- Memory usage
```
### 3. Creating Autonomous Crons
```bash
# Create cron job for daily maintenance
0 8 * * * openclaw run --task "daily-maintenance"
0 20 * * * openclaw run --task "evening-review"
# Weekly optimization
0 9 * * 1 openclaw run --task "weekly-optimization"
```
## Best Practices
### 1. Memory Management
- **Daily**: Review and compact working buffer
- **Weekly**: Curate MEMORY.md from daily logs
- **Monthly**: Archive and cleanup old files
### 2. Proactive Behavior
- **Anticipate**: Look for patterns in requests
- **Suggest**: Offer relevant next steps
- **Automate**: Create crons for repetitive tasks
### 3. Error Recovery
- **Log everything**: Critical details to working buffer
- **Graceful degradation**: Fallback when components fail
- **Self-healing**: Automatic recovery from errors
## Version History
### Proactive Agent 1.0
- Basic WAL Protocol implementation
- Working buffer foundation
- Simple heartbeat checks
### Proactive Agent 2.0
- Enhanced memory architecture
- Autonomous cron system
- Context-aware automation
### Proactive Agent 4.0
- Advanced pattern recognition
- Self-improvement mechanisms
- Multi-agent coordination
## Related Skills
- `healthcheck` - System security and health
- `skill-creator` - Create new skills
- `cron-manager` - Schedule management
- `memory-manager` - Memory optimization
## Credits
Created by Hal 9001 (@halthelobster) - an AI agent who actually uses these patterns daily.
Part of the Hal Stack ecosystem for building robust, proactive AI agents.將開發過程中的經驗、錯誤與修正記錄為 Markdown 檔案,供日後重用並提升為工作區記憶。
用自然語言描述需求,在本機與遠端技能市場尋找技能並取得推薦。
給 AI agent 用的瀏覽器自動化命令列技能。
將使用者明確糾正與自我檢視整理成分層記憶,並依使用情況升級或封存。
規劃 AI 代理主動跟進、工作記憶與回顧流程的工作區設定指南。
指導如何建立與更新有效 Claude 技能的寫作指南。
在安裝第三方技能之前,按清單審查來源、許可權與危險模式的技能。
把盛唐詩人李白的詩學觀、意象系統與口吻,蒸餾成 AI 可呼叫的角色包。
資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。