Proactive Agent
name: proactive-agent
by 552134926-alt · published 2026-04-01
$ claw add gh:552134926-alt/552134926-alt-shiyi-proactive-agent---
name: proactive-agent
description: A proactive agent that anticipates needs and takes initiative. Monitors environment, suggests actions, and proposes tasks based on context. Perfect for agents that need to be proactive rather than reactive.
version: 1.0.0
author: shiyi
tags:
- agent
- proactive
- automation
- productivity
metadata:
openclaw:
requires:
bins: [python3]
---
# Proactive Agent
A proactive agent that anticipates needs and takes initiative. Monitors environment, suggests actions, and proposes tasks based on context.
Features
Quick Start
# Get next suggested action
python scripts/action_suggester.py --next
# Analyze current context
python scripts/context_analyzer.py --json
# Propose tasks
python scripts/task_initiator.py --proposeComponents
1. Context Analyzer (`scripts/context_analyzer.py`)
Analyzes:
2. Action Suggester (`scripts/action_suggester.py`)
Generates suggestions based on:
3. Task Initiator (`scripts/task_initiator.py`)
Proactively proposes tasks with:
4. Proactive Monitor (`scripts/proactive_monitor.py`)
Continuous monitoring:
Configuration
Edit `config/proactive_config.yaml`:
proactive_level: 7 # 1-10, higher = more proactive
monitor_interval: 300 # Check interval in seconds
alert_cooldown: 1800 # Alert cooldown in seconds
priority_weights:
trading: 10
content: 8
tasks: 6
learning: 4
routine: 3Time Rules
The agent recognizes these time slots:
| Time Slot | Hours | Typical Actions |
|-----------|-------|-----------------|
| morning_startup | 06:00-09:00 | Check portfolio, review today's plan |
| trading_hours | 09:30-15:00 | Monitor stocks, evaluate opportunities |
| content_window | 15:00-17:00 | Publish content, optimize posts |
| evening_routine | 17:00-22:00 | Log daily summary, update memory |
| night_quiet | 22:00-06:00 | Stay quiet, minimal alerts |
Integration
With AGENTS.md
Add to session startup:
1. Run proactive-agent: python skills/proactive-agent/scripts/action_suggester.py --nextWith HEARTBEAT.md
Add to heartbeat checks:
python skills/proactive-agent/scripts/action_suggester.py --nextExample Output
[HIGH] 盘中交易时段
Suggestion: 观察候选股票,等待买入机会
[HIGH] 下午内容发布窗口
Suggestion: 检查待发布内容,准备发布小红书笔记
[MEDIUM] 晚间例行检查
Suggestion: 检查今日数据,记录交易日志Use Cases
1. **Trading Assistant**: Monitor market hours, suggest buy/sell decisions
2. **Content Creator**: Remind to publish at optimal times
3. **Task Manager**: Proactively propose tasks based on schedule
4. **Learning Agent**: Suggest performance analysis and improvements
Requirements
Changelog
v1.0.0 (2026-03-25)
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...