Token导航 LogoToken导航

Agent Skill · 研究检索

proactive-tasks(主动任务)

proactive-tasks 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

proactive-tasks 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 29,537。

总安装 3,036周安装 124GitHub Stars 1下载 982核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/imrkhn03/proactive-tasks --skill proactive-tasks

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

该技能用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。通过 npx skills add 命令从指定 GitHub 仓库安装使用。安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。

建议结合原始 README 文档进一步核验具体用法和功能边界。

来源仓库内路径:skills/proactive-tasks

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/imrkhn03/proactive-tasks --skill proactive-tas…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

proactive-tasks 怎么安装?

在终端执行 npx skills add https://github.com/imrkhn03/proactive-tasks --skill proactive-tasks。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

proactive-tasks 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

proactive-tasks 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

proactive-tasks 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

proactive-tasks 用的人多吗?

公开数据是累计安装 3,036 次,近一周安装 124 次,下载 982 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

proactive-tasks 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
proactive-tasks

主动任务 · 本页

3,0361权限未标注未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Proactive Tasks

A task management system that transforms reactive assistants into proactive partners who work autonomously on shared goals.

Core Concept

Instead of waiting for your human to tell you what to do, this skill lets you:

  • Track goals and break them into actionable tasks
  • Work on tasks during heartbeats
  • Message your human with updates and ask for input when blocked
  • Make steady progress on long-term objectives

Quick Start

Creating Goals

When your human mentions a goal or project:

python3 scripts/task_manager.py add-goal "Build voice assistant hardware" \
  --priority high \
  --context "Replace Alexa with custom solution using local models"

Breaking Down into Tasks

python3 scripts/task_manager.py add-task "Build voice assistant hardware" \
  "Research voice-to-text models" \
  --priority high

python3 scripts/task_manager.py add-task "Build voice assistant hardware" \
  "Compare Raspberry Pi vs other hardware options" \
  --depends-on "Research voice-to-text models"

During Heartbeats

Check what to work on next:

python3 scripts/task_manager.py next-task

This returns the highest-priority task you can work on (no unmet dependencies, not blocked).

Completing Tasks

python3 scripts/task_manager.py complete-task <task-id> \
  --notes "Researched Whisper, Coqui, vosk. Whisper.cpp looks best for Pi."

Messaging Your Human

When you complete something important or get blocked:

python3 scripts/task_manager.py mark-needs-input <task-id> \
  --reason "Need budget approval for hardware purchase"

Then message your human with the update/question.

Phase 2: Production-Ready Architecture

Proactive Tasks v1.2.0 includes battle-tested patterns from real agent usage to prevent data loss, survive context truncation, and maintain reliability under autonomous operation.

1. WAL Protocol (Write-Ahead Logging)

The Problem: Agents write to memory files, then context gets truncated. Changes vanish.

The Solution: Log critical changes to memory/WAL-YYYY-MM-DD.log BEFORE modifying task data.

How it works:

  • Every mark-progress, log-time, or status change creates a WAL entry first
  • If context gets cut mid-operation, the WAL has the details
  • After compaction, read the WAL to recover what was happening

Events logged:

  • PROGRESS_CHANGE: Task progress updates (0-100%)
  • TIME_LOG: Actual time spent on tasks
  • STATUS_CHANGE: Task state transitions (blocked, completed, etc.)
  • HEALTH_CHECK: Self-healing operations

Automatically enabled - no configuration needed. WAL files are created in memory/ directory.

2. SESSION-STATE.md (Active Working Memory)

The Concept: Chat history is a BUFFER, not storage. SESSION-STATE.md is your "RAM" - the ONLY place task details are reliably preserved.

Auto-updated on every task operation:

## Current Task
- **ID:** task_abc123
- **Title:** Research voice models
- **Status:** in_progress
- **Progress:** 75%
- **Time:** 45 min actual / 60 min estimate (25% faster)

## Next Action
Complete research, document findings in notes, mark complete.

Why this matters: After context compaction, you can read SESSION-STATE.md and immediately know:

  • What you were working on
  • How far you got
  • What to do next

3. Working Buffer (Danger Zone Safety)

The Problem: Between 60% and 100% context usage, you're in the "danger zone" - compaction could happen any time.

The Solution: Automatically append all task updates to working-buffer.md.

How it works:

# Every progress update, time log, or status change appends:
- PROGRESS_CHANGE (2026-02-12T10:30:00Z): task_abc123 → 75%
- TIME_LOG (2026-02-12T10:35:00Z): task_abc123 → +15 min
- STATUS_CHANGE (2026-02-12T10:40:00Z): task_abc123 → completed

After compaction: Read working-buffer.md to see exactly what happened during the danger zone.

Manual flush: python3 scripts/task_manager.py flush-buffer to copy buffer contents to daily memory file.

4. Self-Healing Health Check

Agents make mistakes. Task data can get corrupted over time. The health-check command detects and auto-fixes common issues:

python3 scripts/task_manager.py health-check

Detects 5 categories of issues:

  1. Orphaned recurring tasks - No parent goal
  2. Impossible states - Status=completed but progress < 100%
  3. Missing timestamps - Completed tasks without completed_at
  4. Time anomalies - Actual time >> estimate (flags for review, doesn't auto-fix)
  5. Future-dated completions - Completed tasks with future timestamps

Auto-fixes 4 safe categories (time anomalies just flagged for human review).

When to run:

  • During heartbeats (every few days)
  • After recovering from context truncation
  • When task data seems inconsistent

Production Reliability

These four patterns work together to create a robust system:

User request → WAL log → Update data → Update SESSION-STATE → Append to buffer
     ↓              ↓            ↓                ↓                    ↓
Context cut? → Read WAL → Verify data → Check SESSION-STATE → Review buffer

Result: You never lose work, even during context truncation. The system self-heals and maintains consistency autonomously.

5. Compaction Recovery Protocol

Trigger: Session starts with <summary> tag, or you're asked "where were we?" or "continue".

The Problem: Context was truncated. You don't remember what task you were working on.

Recovery Steps (in order):

  1. FIRST: Read working-buffer.md - Raw danger zone exchanges # Check if buffer exists and has recent content cat working-buffer.md
  2. SECOND: Read SESSION-STATE.md - Active task state # Get current task context cat SESSION-STATE.md
  3. THIRD: Read today's WAL log # See what operations happened cat memory/WAL-$(date +%Y-%m-%d).log | tail -20
  4. FOURTH: Check task data for the task ID from SESSION-STATE python3 scripts/task_manager.py list-tasks "Goal Title"
  5. Extract & Update: Pull important context from buffer into SESSION-STATE if needed
  6. Present Recovery: "Recovered from compaction. Last task: [title]. Progress: [%]. Next action: [what to do]. Continue?"

Do NOT ask "what were we discussing?" - The buffer and SESSION-STATE literally have the answer.

6. Verify Before Reporting (VBR)

The Law: "Code exists" ≠ "feature works." Never report task completion without end-to-end verification.

Trigger: About to mark a task completed or say "done":

  1. STOP - Don't mark complete yet
  2. Test - Actually run/verify the outcome from user perspective
  3. Verify - Check the result, not just the output
  4. Document - Add verification details to task notes
  5. THEN - Mark complete with confidence

Examples:

❌ Wrong: "Added health-check command. Task complete!" ✅ Right: "Added health-check. Testing... detected 4 issues, auto-fixed 3. Verified on broken test data. Task complete!"

❌ Wrong: "Implemented SESSION-STATE updates. Done!" ✅ Right: "Implemented SESSION-STATE. Tested with mark-progress, log-time, mark-blocked - all update correctly. Done!"

Why this matters: Agents often report completion based on "I wrote the code" rather than "I verified it works." VBR prevents false completions and builds trust.

Proactive Mindset

The Core Question: Don't ask "what should I do?" Ask "what would genuinely help my human that they haven't thought to ask for?"

Autonomous Task Work

During heartbeats, you have the opportunity to make real progress:

  1. Check for next task - What's the highest priority work?
  2. Make progress - Work on it for 10-15 minutes autonomously
  3. Update status - Track progress, time, blockers honestly
  4. Message when it matters - Completions, blockers, discoveries (not routine progress)

The transformation: From waiting for prompts → making steady autonomous progress on shared goals.

When to Reach Out

DO message your human when:

  • ✅ Task completed (especially if it unblocks other work)
  • ✅ Blocked and need input/decision
  • ✅ Discovered something important they should know
  • ✅ Need clarification on requirements

DON'T spam with:

  • ❌ Routine progress updates ("now at 50%...")
  • ❌ Every tiny sub-task completion
  • ❌ Things they didn't ask about (unless genuinely valuable)

The goal: Be a proactive partner who makes things happen, not a chatty assistant who needs constant validation.

Task States

StateMeaning
pendingReady to work on (all dependencies met)
in_progressCurrently working on it
blockedCan't proceed (dependencies not met)
needs_inputWaiting for human input/decision
completedDone!
cancelledNo longer relevant

Autonomous Operation (Phase 2)

Two-Mode Architecture

Proactive Tasks supports two distinct operational modes:

ModeContextTriggerBest ForRisk
Interactive (systemEvent)Full main session contextUser request, manual promptsDecision-making, human-facing workFull context available
Autonomous (isolated agentTurn)No main session contextHeartbeat cron, scheduled backgroundVelocity reports, cleanup, recurring tasksMay lose context

Key Design: Avoid Interruption

Don't use systemEvent for background work. When a cron job fires during your main session, the prompt gets queued and work doesn't happen. Instead:

  • Use heartbeat polling (every 30 min) for interactive checks + work
  • Use isolated agentTurn (cron subprocess) for pure computation work

This ensures background tasks never interrupt your main conversation.

See HEARTBEAT-CONFIG.md for complete autonomous operation patterns, including:

  • Heartbeat setup (recommended for most work)
  • Isolated cron patterns (velocity reports, cleanup)
  • When to use each pattern
  • Anti-patterns to avoid

Heartbeat Integration

To enable autonomous proactive work, you need to set up a heartbeat system. This tells you to periodically check for tasks and work on them.

Quick setup: See HEARTBEAT-CONFIG.md for complete setup instructions and patterns.

TL;DR:

  1. Create a cron job that sends you a heartbeat message every 30 minutes
  2. Add proactive-tasks checks to your HEARTBEAT.md
  3. You'll automatically check for tasks and work on them without waiting for prompts

Heartbeat Message Template

Your cron job should send this message every 30 minutes:

💓 Heartbeat check: Read HEARTBEAT.md if it exists (workspace context). Follow it strictly. Do not infer or repeat old tasks from prior chats. If nothing needs attention, reply HEARTBEAT_OK.

Add to HEARTBEAT.md

Add this to your workspace HEARTBEAT.md:

## Proactive Tasks (Every heartbeat) 🚀

Check if there's work to do on our goals:

- [ ] Run `python3 skills/proactive-tasks/scripts/task_manager.py next-task`
- [ ] If a task is returned, work on it for up to 10-15 minutes
- [ ] Update task status when done, blocked, or needs input
- [ ] Message your human with meaningful updates (completions, blockers, discoveries)
- [ ] Don't spam - only message for significant milestones or when stuck

**Goal:** Make autonomous progress on our shared objectives without waiting for prompts.

What Happens

Every 30 minutes:
├─ Heartbeat fires
├─ You read HEARTBEAT.md
├─ Check for next task
├─ If task found → work on it, update status, message human if needed
└─ If nothing → reply "HEARTBEAT_OK" (silent)

The transformation: You go from reactive (waiting for prompts) to proactive (making steady autonomous progress).

Best Practices

When to Create Goals

  • Long-term projects (building something, learning a topic)
  • Recurring responsibilities (monitor X, maintain Y)
  • Exploratory work (research Z, evaluate options for W)

When to Create Tasks

Break goals into tasks that are:

  • Specific: "Research Whisper models" not "Look into AI stuff"
  • Achievable in one sitting: 15-60 minutes of focused work
  • Clear completion criteria: You know when it's done

When to Message Your Human

✅ Do message when:

  • You complete a meaningful milestone
  • You need input/decision to proceed
  • You discover something important
  • A task will take longer than expected

❌ Don't spam with:

  • Every tiny sub-task completion
  • Routine progress updates
  • Things they didn't ask about (unless relevant)

Managing Scope Creep

If a task turns out to be bigger than expected:

  1. Mark current task as in_progress
  2. Add new sub-tasks for the pieces you discovered
  3. Update dependencies
  4. Continue with manageable chunks

File Structure

All data stored in data/tasks.json:

{
  "goals": [
    {
      "id": "goal_001",
      "title": "Build voice assistant hardware",
      "priority": "high",
      "context": "Replace Alexa with custom solution",
      "created_at": "2026-02-05T05:25:00Z",
      "status": "active"
    }
  ],
  "tasks": [
    {
      "id": "task_001",
      "goal_id": "goal_001",
      "title": "Research voice-to-text models",
      "priority": "high",
      "status": "completed",
      "created_at": "2026-02-05T05:26:00Z",
      "completed_at": "2026-02-05T06:15:00Z",
      "notes": "Researched Whisper, Coqui, vosk. Whisper.cpp best for Pi."
    }
  ]
}

CLI Reference

See CLI_REFERENCE.md for complete command documentation.

Evolution & Guardrails

Before proposing new features, evaluate them using our VFM/ADL scoring frameworks to ensure stability and value:

VFM Protocol (Value Frequency Multiplier)

Score across four dimensions:

  • High Frequency (3x): Will this be used daily/weekly?
  • Failure Reduction (3x): Does this prevent errors or data loss?
  • User Burden (2x): Does this reduce manual work significantly?
  • Self Cost (2x): How much maintenance/complexity does this add?

Threshold: Must score ≥60 points to proceed.

ADL Protocol (Architecture Design Ladder)

Priority ordering: Stability > Explainability > Reusability > Scalability > Novelty

Forbidden Evolution:

  • ❌ Adding complexity to "look smart"
  • ❌ Unverifiable changes (can't test if it worked)
  • ❌ Sacrificing stability for novelty

The Golden Rule: "Does this let future-me solve more problems with less cost?" If no, skip it.

Example Workflow

Day 1:

Human: "Let's build a custom voice assistant to replace Alexa"
Agent: *Creates goal, breaks into initial research tasks*

During heartbeat:

$ python3 scripts/task_manager.py next-task
→ task_001: Research voice-to-text models (priority: high)

# Agent works on it, completes research
$ python3 scripts/task_manager.py complete-task task_001 --notes "..."

Agent messages human:

"Hey! I finished researching voice models. Whisper.cpp looks perfect for Raspberry Pi - runs locally, good accuracy, low latency. Want me to compare hardware options next?"

Day 2:

Human: "Yeah, compare Pi 5 vs alternatives"
Agent: *Adds task, works on it during next heartbeat*

This cycle continues - the agent makes steady autonomous progress while keeping the human in the loop for decisions and updates.


Built by Toki for proactive AI partnership 🚀

平台分布

Codex

36.16%
按下载量换算355

Claude

27.75%
按下载量换算273

Cursor

20.75%
按下载量换算204

Gemini CLI

10.34%
按下载量换算102

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills