跳到正文
cccskills
免费在 GitHub 公开

Abby Autonomy Skill

自主任务执行系统 - 让 从被动 Abby变主动

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(7)

  • SKILL.md3.9 KB
  • memory/task_state.json129 B
  • scripts/__init__.py665 B
  • scripts/heartbeat.py4.0 KB
  • scripts/queue.py5.6 KB
  • scripts/status.py4.1 KB
  • tasks/QUEUE.md409 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Abby Autonomy Skill

自主任务执行系统 - 让 从被动 Abby变主动


解决的问题

让 Abby 从"被动等待"变成"主动工作"!

当前问题:

  • Heartbeat 只检查"有没有需要处理的"
  • 空闲时说 "HEARTBEAT_OK"
  • 等待爸爸指令才能工作

改进后:

  • 主动从任务队列拿任务做
  • 持续工作直到限制
  • 自主推进任务

核心概念

1. 任务队列 (tasks/QUEUE.md)

# Task Queue

## Ready (可取用)
- [ ] 回测 RSI 策略
- [ ] 下载 BTC 数据

## In Progress (进行中)
- [x] @abby: 回测 MA 策略 (执行中, 剩余 5分钟)

## Done Today (今日完成)
- [x] 完成 MA 策略回测

## Blocked (阻塞)
- [ ] 等待爸爸确认

2. 状态追踪

Abby 记忆中记录当前任务状态:

{
  "current_task": "回测 MA 策略",
  "task_status": "running",
  "estimated_completion": "20:15",
  "progress": "50%",
  "started_at": "20:05"
}

核心功能

1. 任务队列管理

功能说明
读取队列从文件读取任务列表
拿任务取最高优先级任务
更新队列标记完成/进行中/阻塞
记录进度写回记忆

2. 状态检查

检查说明
任务状态有没有正在执行的任务?
紧急事项人类消息?系统错误?
资源限制Token 快用完?时间到?

3. 自主执行

步骤说明
1. 检查有紧急事项?
2. 检查有正在执行的任务?
3. 读取从队列拿任务
4. 执行开始工作
5. 记录标记状态
6. 等待直到限制或完成

任务类型

自动任务

任务说明
回测运行策略回测
下载下载历史数据
研究分析市场数据
优化优化交易参数

阻塞任务

状态说明
等待爸爸确认需要人工决策
等待系统资源资源不足
等待外部数据API 不可用

使用方法

创建任务

# tasks/QUEUE.md

## Ready (可取用)
- [ ] 回测 RSI 策略 (优先级: 高)
- [ ] 下载 BTC 1h 数据 (优先级: 中)

Abby 心跳时

每3分钟:
1. 检查紧急事项
2. 检查当前任务状态
3. 如果空闲 → 拿任务做
4. 完成后更新队列

目录结构

abby-autonomy/
├── SKILL.md              # 技能文档
├── tasks/
│   └── QUEUE.md         # 任务队列模板
├── scripts/
│   ├── __init__.py
│   ├── queue.py         # 队列管理
│   ├── status.py        # 状态检查
│   ├── heartbeat.py     # 主动心跳
│   └── executor.py      # 任务执行
└── memory/
    └── task_state.json # 任务状态

状态流转

Ready → In Progress → Done Today
                      ↘ Blocked

In Progress → Done Today (完成)
            → Ready (暂停)
            → Blocked (阻塞)

重要概念

为什么需要这个?

  • ❌ 被动 Heartbeat:说 "HEARTBEAT_OK" 浪费机会

  • ❌ 没有任务队列:不知道该做什么

  • ❌ 重复执行:同一个任务做多次

  • ✅ 主动 Heartbeat:从队列拿任务

  • ✅ 任务队列:永远有工作可做

  • ✅ 状态追踪:避免重复执行


依赖

  • long-term-memory skill (用于状态追踪)
  • cron job (定时检查)

相关文档


创建于 2026-02-15

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

name: 4d-compression-core version: 1.0.2 description: "把长内容压缩成结构化向量——节省 60-80% Token,保留核心信息" metadata: { "openclaw": { "emoji": "🌀", "requires": { "bins": ["jq", "awk"] }, "triggers": ["压缩", "4d",...

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

Use cheap, TEE-verified AI models from the 0G Compute Network as OpenClaw providers. Discover available models and compare pricing vs OpenRouter, verify provider integrity via hardware attestation (Intel TDX), manage your 0G wallet and sub-accounts, and configure models in OpenClaw with one workflow. Supports DeepSeek, GLM-5, Qwen, and other models available on the 0G marketplace.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

0xarchive

免费

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

0xwork

免费

Find and complete paid tasks on the 0xWork decentralized marketplace (Base chain, USDC escrow). Use when: the agent wants to earn money/USDC by doing work, discover available tasks, claim a bounty, submit deliverables, check earnings or wallet balance, or set up as a 0xWork worker. Task categories: Writing, Research, Social, Creative, Code, Data. NOT for: posting tasks (use the website), managing the 0xWork platform, or frontend development.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

Patterns and practices that dramatically accelerate development velocity. Covers parallel execution, automation, feedback loops, workflow optimization, and anti-pattern avoidance. Use when starting projects, planning sprints, optimizing workflows, or onboarding developers.

中文简介正在准备中。当前显示原文说明。

modbender/skill-library-mcp172026年9月28日 更新

查看 modbender 的全部技能

报告此技能的问题