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

task-tracking任务跟踪

Agent Skill

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

总安装

318

周安装

13

GitHub Stars

公开资料未说明

下载量

102
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/emeraldwalk/skills --skill task-tracking

简介

task-tracking 用于快速检索和筛选任务信息,适合在 Codex、Claude 等宿主中定位候选结果。

  • 适用于根据关键词、状态或依赖关系过滤任务列表的场景。
  • 支持多种查询方式包括计数、索引和完整对象返回。
  • 可通过命令行参数灵活组合过滤条件进行任务筛选。
  • 安装前建议确认是否会触发文件读取或磁盘 I/O 操作。

SKILL.md

This skill enables agents to manage tasks using the bundled bash script task_tracking.sh, located in the skill's scripts folder.

Prerequisites

Requires jq for JSON processing. Install via your system package manager if not already available.

How It Works

The script stores task data in a .tasks directory. It automatically finds the correct location by:

  1. Walking up from your current directory to find an existing .tasks directory
  2. If not found, creates .tasks in your current directory

This means:

  • ✅ Works from any subdirectory once .tasks exists
  • ✅ No need to remember or navigate to workspace root
  • ⚠️ Initial setup: be in your desired workspace root when creating the first task list
Discovery: Run bash <path-to-skill>/scripts/task_tracking.sh --help to see all available commands.

Quick Start

Note: In all examples below, replace <path-to-skill> with the absolute path to where this skill is loaded from (the directory containing this SKILL.md file).

  • Create a task list: bash <path-to-skill>/scripts/task_tracking.sh create-list <list-name>
  • List available task lists: bash <path-to-skill>/scripts/task_tracking.sh list-lists
  • Add a task: bash <path-to-skill>/scripts/task_tracking.sh add-task <list-name> "<description>" [--file <path>]... [--doc <path>]... [--skill <name>]... [--ac "<criterion>"]... [--verify-command "<cmd>"] [--verify-instruction "<text>"] [--depends-on <task-id>]...
  • Claim or get next task: bash <path-to-skill>/scripts/task_tracking.sh next <list-name> [--skip-failed] [--claim <AGENT_ID>]
  • Update task status: bash <path-to-skill>/scripts/task_tracking.sh update-status <list-name> <task-id> <status> "<note>"
  • Update task metadata: bash <path-to-skill>/scripts/task_tracking.sh update-task <list-name> <task-id> [--description "<text>"] [--file <path>]... [--doc <path>]... [--skill <name>]... [--ac "<criterion>"]... [--verify-command "<cmd>"] [--verify-instruction "<text>"] [--depends-on <task-id>]...
  • Add a dependency: bash <path-to-skill>/scripts/task_tracking.sh add-dependency <list-name> <task-id> <depends-on-task-id>
  • Remove a dependency: bash <path-to-skill>/scripts/task_tracking.sh remove-dependency <list-name> <task-id> <depends-on-task-id>
  • List all tasks in a list: bash <path-to-skill>/scripts/task_tracking.sh list-tasks <list-name> [--format summary|full|json]
  • Query/filter tasks: bash <path-to-skill>/scripts/task_tracking.sh query <list-name> [--status <status>] [--search <term>] [--depends-on <task-id>] [--blocked] [--claimed-by <agent-id>] [--limit <n>]
  • Count tasks: bash <path-to-skill>/scripts/task_tracking.sh count <list-name> [--status <status>] [--exclude-status <status>]...

Script Reference

Run bash <path-to-skill>/scripts/task_tracking.sh --help for complete CLI documentation.

Key concepts:

  • The script automatically finds or creates the .tasks directory by walking up from your current location. All operations are performed via the CLI interface.
  • Task statuses: todo, in_progress, completed, failed, skipped

- completed and skipped are terminalnext will not pick them up, and they satisfy dependency requirements for downstream tasks - skipped means "won't implement" — use update-status <list> <id> skipped "<reason>" to mark a task as deliberately bypassed

  • update-status changes status and writes a log entry. Both <status> and <note> are positional and always required.
  • update-task edits metadata only — description, context, acceptance criteria, verification, dependencies. It never changes status or writes a log entry. Use it to fix typos, add context, or clarify scope at any time.
  • Each task has a context object with files, docs, and skills arrays (via repeatable --file, --doc, --skill flags). All are optional and default to empty arrays.
  • Tasks may include acceptance_criteria (list of strings, via repeatable --ac) and a verification object (via --verify-command or --verify-instruction). All are optional.
  • --verify-command stores {"type":"command","value":"..."} — a shell command the agent can execute.
  • --verify-instruction stores {"type":"instruction","value":"..."} — a free-text instruction for manual verification.
  • Only one of --verify-command or --verify-instruction may be specified per task.
  • Metadata arrays (--file, --doc, --skill, --ac) are replaced, not appended, when passed to update-task.

Listing, Querying, and Counting Tasks

  • list-tasks <list> [--format summary|full|json] — Lists all tasks in a list.

- summary (default): returns [{id, description, status}] from the index — fast, no file reads - full: returns full task objects in order, reading each per-task file - json: returns the raw _task-list.json index

  • count <list> [options] — Returns a single integer: the number of tasks matching the filters. Reads only the index file (fast). Supports --status <status> and --exclude-status <status> (repeatable; excludes each listed status).
  • query <list> [options] — Filters tasks matching ALL provided criteria. Returns [{id, description, status, claimed_by, depends_on}]. Examples: # All todo tasks bash <path-to-skill>/scripts/task_tracking.sh query my-list --status todo # Search for auth-related tasks bash <path-to-skill>/scripts/task_tracking.sh query my-list --search "auth" # Tasks blocked by task-01 being incomplete bash <path-to-skill>/scripts/task_tracking.sh query my-list --depends-on task-01 # All blocked tasks bash <path-to-skill>/scripts/task_tracking.sh query my-list --blocked # Tasks claimed by a specific agent bash <path-to-skill>/scripts/task_tracking.sh query my-list --claimed-by agent-123 # Combine filters: in-progress tasks claimed by agent-123 bash <path-to-skill>/scripts/task_tracking.sh query my-list --status in_progress --claimed-by agent-123

- --status <status> — match exact status (todo, in_progress, completed, failed) - --search <term> — case-insensitive substring match in description, acceptance criteria, or notes - --depends-on <task-id> — tasks that list the given ID in their depends_on - --blocked — non-completed tasks with at least one non-completed dependency - --claimed-by <agent-id> — tasks claimed by the specified agent - --limit <n> — cap results at N (default: 0 = unlimited)

Dependency Tracking

Tasks can declare dependencies on other tasks via depends_on (a list of task IDs).

  • next --claim rejects a task if any of its depends_on tasks are not completed. Complete blocking tasks first.
  • update-status... completed prints a warning listing any pending tasks that depend on the one being completed, so you know what is now unblocked.
  • Use --depends-on <task-id> (repeatable) with add-task or update-task to set/replace the full dependency list.
  • Use add-dependency / remove-dependency for surgical edits to an existing task's dependencies.
  • Circular dependencies are not auto-detected; avoid them when designing task lists.

Error Handling

CRITICAL: If the task tracking script returns an error or fails to execute:

  1. IMMEDIATELY notify the user about the error and include the full error message
  2. DO NOT attempt to modify task files manually (e.g., editing .tasks/ directory JSON files directly)
  3. DO NOT work around the script by using jq, cat, or other tools to manipulate task data
  4. WAIT for explicit user instruction before taking any alternative action

The task tracking system is designed to maintain data integrity through the script interface only. Manual modifications can corrupt the task list, status logs, or task metadata.

Data location: The script automatically finds the .tasks directory by walking up from your current location, or creates it in the current directory if not found.

Best Practices

Initial Setup

  • Create your first task list from your intended workspace root directory
  • The .tasks directory will be created there
  • Subsequent commands work from any subdirectory

Task management

  • Always provide meaningful context for each task
  • Use agent IDs to claim tasks for specific agents
  • Log progress and errors using the update-task command with notes
  • If the script fails, stop and notify the user - do not attempt manual workarounds

After completing a task

  • Provide a git commit message summarizing the work done for the user to use when committing changes

Writing Self-Sufficient Tasks

When creating a task, populate enough context for a zero-context agent to succeed without follow-up questions:

Description: State the current state and desired outcome, not just the task name.

  • Poor: "Fix free book button"
  • Good: "Free products show 'Add to Cart' — change button label to 'Get Free' for products with price = 0"

Before running add-task, search the codebase to identify relevant files, then include them via --file.

Acceptance criteria (--ac) should describe observable outcomes, not restate the description.

Verification: Use --verify-command for automated checks, --verify-instruction when human judgment is needed.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.76%
按下载量换算36

Claude

29.38%
按下载量换算30

Cursor

17.6%
按下载量换算18

Gemini CLI

7.84%
按下载量换算8

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

通过

权限和风险

执行命令

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

安装前确认

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

来源信息

继续浏览同类 Skills