Index of every page on this site: llms.txt
All skills
Run it yourself

任务管理、进度跟踪、工作日志。通过 ai-todo CLI 管理待办事项(todos)、更新进度(progress)、记录工作日志(work logs)、生成 standup 日报。触发场景:用户提到任务/待办/进度/日志/standup/sprint/项目管理;git commit/push/deploy/merge 后记录进度并完成相关任务;讨论功能规划或任务拆分时创建任务层级。Invoke explicitly via /ai-todo.

Use this Skill: https://skilld.dev/gh/strzhao/ai-todo-cli/ai-todo

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈109 tokens for metadata: the name and description. ≈811 when used: this file.

Description uses 2.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈234 characters, or 2.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

AI Todo - Task Management for AI Agents

通过 ai-todo CLI 管理任务、跟踪进度、维护工作日志。连接 ai-todo (https://ai-todo.stringzhao.life) 实现跨会话的持久化任务管理。

Prerequisites

运行任何命令前,先检查认证状态:

cat ~/.config/ai-todo/credentials.json 2>/dev/null

未认证则执行 ai-todo login。未安装则执行 npm install -g ai-todo-cli。

Command Discovery

命令从服务端动态加载,严禁硬编码。首次使用某命令前用 --help 发现参数:

ai-todo --help                    # 查看所有可用命令
ai-todo <command> --help          # 查看具体命令的参数

关键约定:

  • 默认输出 JSON,tasks:tree 输出纯文本
  • 参数格式 --key <value>(snake_case,如 --parent_id)
  • 命名空间:tasks:* 任务操作,spaces:* 空间操作
  • 退出码:0=成功,1=错误,2=未认证

核心工作流

第一步:了解任务结构(每次操作前必做)

ai-todo tasks:tree

输出树形文本,📌 标记项目空间,缩进显示父子关系。用于:

  • 找到新任务应归属的项目空间或父任务
  • 避免创建重复任务
  • 理解现有任务拆分

关键原则:任务必须放到正确的项目和父任务下,不要在顶层随意创建。

查看任务

ai-todo tasks:tree                    # 全局任务树
ai-todo tasks:list --filter today     # 今天的任务
ai-todo tasks:list --filter assigned  # 分配给我的任务

创建任务

当用户描述工作计划或你识别到可拆分的事项时:

  1. 先 tasks:tree 找到正确的归属位置
  2. 创建父任务(或复用已有的)
  3. 用 --parent_id 创建子任务
  4. 合理设置优先级(P0=阻塞项,P1=核心,P2=非关键)
ai-todo tasks:create --title "实现支付功能" --priority P1
ai-todo tasks:create --title "对接微信支付" --parent_id <父任务ID> --tags backend

更新进度与完成任务

根据工作阶段选择合适的操作:

  • 开始工作:tasks:update --id <ID> --progress 20
  • 阶段性进展:tasks:update --id <ID> --progress 60 + tasks:add-log --id <ID> --content "完成了XX"
  • 工作完成:tasks:complete --id <ID>(自动完成子任务)
  • 只是记录:tasks:add-log --id <ID> --content "做了XX"

当用户明确说"完成了",直接用 tasks:complete;如果是阶段性进展,用 tasks:update 递增 progress。

Post-action(git commit/push/deploy 之后)

  1. tasks:tree 找到相关任务
  2. 有关联任务 → 更新进度 + 添加日志 + 完成则 tasks:complete
  3. 无关联任务 → 建议创建一个记录已完成的工作
  4. 轻量操作,一条日志总结即可

Pre-action(规划阶段)

用户讨论功能规划、技术方案、sprint 排期时:

  1. 从讨论中提取可执行事项
  2. 创建任务层级(父任务 + 子任务)
  3. 按依赖关系设置优先级

跨技能协作

  • git-tools 完成后:记录进度到相关任务
  • vercel:deploy 完成后:记录部署并完成相关任务
  • brainstorming 结束后:将结论转化为任务层级

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert8mo4 checks · Risk SAFE
  • Gen Agent Trust Hub8mo

    The skill facilitates task management through a vendor-specific CLI tool. It involves accessing its own credential configuration, installing a package from a public registry, and using dynamic command discovery from the vendor's server. It also processes external data from git and deployment logs, which creates a surface for indirect prompt injection.

  • Socket8mo

    1 alert: gptSecurity

  • Snyk8mo

    Risk: MEDIUM · 2 issues

  • Runlayer8mo

    1/1 file flagged

Signed by skilld at b82cfdd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 8 months ago

README badge

README badge for strzhao/ai-todo-cli