Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

proactive-agent主动 Agent 人

Agent Skill

proactive-agent 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

744

周安装

31

GitHub Stars

4

下载量

248
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:proactive-agent(主动 Agent 人)
来源仓库:https://github.com/alphaonedev/openclaw-graph
仓库路径:skills/proactive-agent
安装命令:
npx skills add https://github.com/alphaonedev/openclaw-graph --skill proactive-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill proactive-agent

简介

proactive-agent 用于监控系统条件并自主触发预定义操作,适合需要持续监督或自动化响应的场景。

  • 它支持资源监控、阈值告警和事件驱动的工作流触发,可减少人工干预。
  • 适用于生产环境中的错误预防、IoT 实时控制等需要无人值守运行的场合。
  • 通过 GitHub 安装,需确认权限范围和维护状态,注意是否涉及联网或命令执行。
  • 建议结合原始 README 核验具体用法,避免在关键系统中直接部署未充分测试的版本。

SKILL.md

proactive-agent

Purpose

This skill enables OpenClaw to act as a proactive agent, monitoring system conditions and triggering predefined actions autonomously without user input. It's designed for scenarios requiring continuous oversight, such as resource monitoring or automated responses, leveraging AI to reduce manual intervention.

When to Use

Use this skill when you need autonomous operations, like monitoring server metrics and reacting to thresholds, or triggering workflows based on events without prompts. Apply it in production environments for error prevention, in IoT setups for real-time responses, or in CI/CD pipelines for automated fixes.

Key Capabilities

  • Monitor conditions using configurable rules, e.g., CPU usage > 80% or file size > 1GB.
  • Trigger actions like executing scripts, sending notifications, or calling APIs without user interaction.
  • Support for periodic checks (e.g., every 5 minutes) or event-driven triggers.
  • Integration with external services via webhooks or APIs for seamless autonomous ops.
  • Logging and state tracking to maintain audit trails of triggered actions.

Usage Patterns

To use this skill, first define a configuration file specifying monitors and actions, then start the agent via CLI or API. Always set up authentication first. For example, run the agent in a loop for continuous monitoring or integrate it into a larger script for conditional starts. Ensure monitors are tested in a staging environment before production deployment.

Common Commands/API

Use the OpenClaw CLI for quick starts or the REST API for programmatic control. Authentication requires setting the environment variable $OPENCLAW_API_KEY before commands.

  • CLI Command: Start the agent with a config file. openclaw proactive-agent start --config path/to/config.json --interval 300 This monitors conditions every 300 seconds; use --dry-run to simulate without actions.
  • API Endpoint: Trigger or query the agent via HTTP. POST /api/v1/proactive-agent/run with body: {"monitor": "cpu>80", "action": "restart"} curl -H "Authorization: Bearer $OPENCLAW_API_KEY" -X POST -d '{"monitor":"cpu>80","action":"restart"}' https://api.openclaw.com/api/v1/proactive-agent/run Response includes status and any errors.
  • Config Format: JSON file defining rules. {"monitors": [{"type": "cpu", "threshold": ">80"}], "actions": [{"type": "exec", "command": "systemctl restart service"}]} Load this via CLI or API to define what to monitor and act on.
  • Stop Command: Halt the agent gracefully. openclaw proactive-agent stop --id agent123 Use the --id flag from the start command output.

Integration Notes

Integrate this skill by embedding it into scripts or services. For example, combine with monitoring tools like Prometheus by setting up webhooks: in your config, add "webhook": "https://your-service.com/hook" to notify external systems. Use the API in Node.js applications:

const fetch = require('node-fetch');
fetch('https://api.openclaw.com/api/v1/proactive-agent/run', { method: 'POST', headers: { 'Authorization': `Bearer ${process.env.OPENCLAW_API_KEY}` }, body: JSON.stringify({monitor: 'memory>90', action: 'alert'})});

Ensure your environment has $OPENCLAW_API_KEY set. For containerized setups, mount config files as volumes and run the agent as a sidecar.

Error Handling

Handle errors by checking exit codes from CLI commands (e.g., non-zero indicates failure) and parsing API responses for error fields like "error_code: 403". Common issues include invalid configs—validate JSON with openclaw proactive-agent validate --config path/to/config.json before running. For runtime errors, set up logging in your config: "log_level": "debug" to capture details, and implement retries in scripts, e.g.:

try {
  await fetch('https://api.openclaw.com/api/v1/proactive-agent/run', options);
} catch (error) {
  console.error('Retry in 5s:', error);
  setTimeout(() => { /* retry logic */ }, 5000);
}

Monitor for authentication failures by verifying $OPENCLAW_API_KEY is current.

Graph Relationships

  • Related to: monitoring-agent (shares monitoring capabilities)
  • Depends on: autonomous-ops (for action execution frameworks)
  • Clusters with: community (as per metadata grouping)
  • Tagged with: proactive, autonomous, monitoring, ai (for cross-skill queries)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.17%
按下载量换算90

Claude

28.45%
按下载量换算71

Cursor

18.16%
按下载量换算45

Gemini CLI

8.6%
按下载量换算21

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills