Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

long-task-coordinator长任务协调员

Agent Skill

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

总安装

9,335

周安装

374

GitHub Stars

47

下载量

3,022
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/charon-fan/agent-playbook --skill long-task-coordinator

简介

long-task-coordinator 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Long Task Coordinator

Keep long-running work recoverable, stateful, and honest.

When to Use This Skill

Use this skill when the work:

  • Spans multiple turns or multiple sessions
  • Involves handoffs to workers, subagents, or background jobs
  • Needs explicit waiting states instead of "still looking" updates
  • Must survive interruption and resume from a durable state file

Skip this skill for small, single-turn tasks. Use planning-with-files when simple planning is enough and recovery logic is not the main concern.

Related Skills

  • planning-with-files keeps multi-step work organized in files.
  • workflow-orchestrator chains follow-up skills after milestones.
  • long-task-coordinator makes long-running work resumable, auditable, and safe to hand off.

Core Rules

1. Create one source of truth

For any real long task, maintain one durable state file. Chat history is not a reliable state store.

The state file should capture at least:

  • Goal
  • Success criteria
  • Current status
  • Current step
  • Completed work
  • Next action
  • Next checkpoint
  • Blockers
  • Active owners or workers

2. Separate roles only when needed

Use the smallest role model that fits the task:

  • Origin: owns the goal and acceptance criteria
  • Coordinator: owns state, sequencing, and recovery
  • Worker: executes bounded sub-work
  • Watchdog: checks liveness and recovery only

Simple tasks can collapse these roles into one agent. Long or delegated tasks should make the split explicit.

3. Run every cycle in this order

For each coordination round:

READ -> RECOVER -> DECIDE -> PERSIST -> REPORT -> END

Do not report conclusions before the state file has been updated.

4. Treat awaiting-result as a valid state

If a worker or background job was dispatched successfully, the task is not failing just because the result is not back yet.

Valid transitions include:

  • running -> awaiting-result
  • awaiting-result -> running
  • running -> paused
  • running -> complete

5. Non-terminal rounds must create real progress

A coordination round is only valid if it does at least one of the following:

  • Dispatches bounded work
  • Consumes new results
  • Updates the current stage or decision
  • Persists a new next step or checkpoint
  • Performs explicit recovery

If nothing changed, do not pretend the task advanced.

6. Keep recovery separate from domain work

Recovery answers:

  • Did execution drift from the saved state?
  • Is the expected worker result still pending?
  • Do we need to wait, retry, or re-dispatch?

Domain work answers:

  • What should we build, analyze, or deliver next?

Recover first, then continue domain work.

Operating Workflow

Step 1: Decide whether the task needs coordination

Use this skill when at least one is true:

  • The task will outlive the current turn
  • The task will hand off work to another execution unit
  • The task needs checkpoints, polling, or scheduled follow-up
  • The task has enough complexity that loss of state would be expensive

Step 2: Create or load the state file

Prefer a path that is easy to rediscover, such as:

  • docs/<topic>-execution-plan.md
  • docs/<topic>-state.md
  • worklog/<topic>-state.md

If no durable state exists yet, create one from references/workflow.md.

Step 3: Recover before acting

At the start of every new round:

  1. Read the state file
  2. Check whether the recorded next step still makes sense
  3. Confirm whether any delegated work returned
  4. Repair stale assumptions before new action

Step 4: Persist before reporting

After deciding the next action:

  1. Update the state file
  2. Record new status, owners, blockers, and checkpoint
  3. Only then report progress to the user or caller

Step 5: Close the round honestly

End each round with one of these states:

  • running
  • awaiting-result
  • paused
  • blocked
  • complete

The reported status should match the persisted status exactly.

Output Expectations

When using this skill, produce updates that are grounded in saved state:

  • What status the task is in now
  • What changed this round
  • What is expected next
  • What would unblock or complete the task

Acceptance Criteria

Treat the coordination work as complete only when all relevant items below are true:

  • A durable state file exists in a predictable path
  • The saved status matches the real task state
  • Completed work, next action, and blockers are recorded explicitly
  • Any delegated work has a named owner and a return condition
  • The final report is derived from the persisted state, not from transient reasoning

If the task is not truly complete, end in running, awaiting-result, paused, or blocked rather than pretending the work is done

Anti-Patterns

Avoid:

  • Reconstructing progress from memory instead of the state file
  • Reporting a conclusion before saving it
  • Marking waiting as failure
  • Ending a round with no new action and no state change
  • Mixing recovery checks with domain decisions in one fuzzy step

References

  • references/workflow.md - Detailed workflow, state template, and recovery checklist

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.26%
按下载量换算1,096

Claude

29.51%
按下载量换算892

Cursor

19.02%
按下载量换算575

Gemini CLI

8.24%
按下载量换算249

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/charon-fan/agent-playbook --skill long-task-coordinator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills