Todo adder

From huangruiteng/CS-Notes · View interactive version

Todo adder is an AI agent skill from the GitHub repository huangruiteng/CS-Notes. 使用Todos Web Manager的API来添加todo,避免直接编辑todos.json导致的语法错误。

How to use this skill

Skill file

Todo Adder Skill

使用Todos Web Manager的API来添加todo,避免直接编辑todos.json导致的语法错误。

使用方法

基础用法

cd /root/.openclaw/workspace/CS-Notes/.trae/openclaw-skills/todo-adder
python3 main.py "测试todo" P2 ai

从stdin读取JSON

cat todo.json | python3 main.py

JSON格式示例

{
  "title": "测试todo",
  "status": "pending",
  "priority": "P2",
  "assignee": "ai",
  "feedback_required": false,
  "created_at": "2026-02-24T20:35:00.000000",
  "links": [],
  "definition_of_done": [],
  "progress": ""
}

前置条件

确保Todos Web Manager的server.py正在运行:

cd /root/.openclaw/workspace/CS-Notes/.trae/web-manager
python3 server.py

为什么使用这个Skill?

直接编辑todos.json容易导致JSON语法错误,使用Todos Web Manager的API可以:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.