通过聊天管理 4todo (4to.do)。捕获任务,使用艾森豪威尔矩阵确定优先级,重新排序、完成和管理跨工作区的重复任务。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install 4todo或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install 4todo⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/4todo/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: 4todo description: Manage 4todo (4to.do) from chat. Capture tasks, prioritize with the Eisenhower Matrix, reorder, complete, and manage recurring tasks across workspaces. ---
4to.do Eisenhower Matrix To‑Do List
curl to call the 4todo API (https://4to.do/api/v0) to manage:- workspaces - todos - recurring todos
FOURTODO_API_TOKEN: your 4todo API token (Bearer token)curl must be available on PATH (and inside the sandbox container, if the agent is sandboxed).- Avoid mentioning: curl, endpoints, headers, API mechanics, JSON payloads, config patches. - Mention technical details only when debugging or if the user explicitly asks “how does it work?”.
- Do not show ws_..., todo_..., rec_todo_... unless the user asks. - Refer to workspaces and tasks by name. - If disambiguation is needed (duplicate names), ask a clarifying question and present a short numbered list of names; only offer IDs if the user requests them.
- In chat, prefer plain language: “urgent & important”, “important (not urgent)”, “urgent (not important)”, “neither”. - Use IU | IN | NU | NN internally for API calls. Only show codes if the user uses codes first or explicitly asks.
Workspaces:
Your workspaces:
1) Haoya (default)
2) 4todo
3) Echopark
Todos (summary):
Urgent & important:
1) UK company dissolution
2) Hetzner monthly payment (recurring, monthly)
Important (not urgent):
1) Weekly review (recurring, Fridays)
OpenClaw can inject environment variables only for the duration of an agent run (then restores the original env), which helps keep secrets out of prompts.
Recommended (production): set FOURTODO_API_TOKEN in your Gateway process environment using your hosting provider’s secret store, and do not store tokens in chat logs.
skills.entriesEdit ~/.openclaw/openclaw.json:
{
skills: {
entries: {
"4todo": {
enabled: true,
env: {
FOURTODO_API_TOKEN: "YOUR_4TODO_API_TOKEN"
}
}
}
}
}
Notes:
skills.entries..env is injected only if the variable is not already set.agents.defaults.sandbox.docker.envWhen a session is sandboxed, skill env injection does not propagate into the Docker container. Provide the token via Docker env:
{
agents: {
defaults: {
sandbox: {
docker: {
env: {
FOURTODO_API_TOKEN: "YOUR_4TODO_API_TOKEN"
}
}
}
}
}
}
Authorization: Bearer .Content-Type: application/json.GET /todos requires a workspace query parameter.IU | IN | NU | NN (internal).Copy this checklist and keep it updated while executing:
Task checklist:
- [ ] List workspaces (pick `ws_...`)
- [ ] List todos for that workspace
- [ ] Perform the requested mutation (create / complete / reorder / recurring)
- [ ] Re-fetch to verify the change
GET /workspaces: pick a target ws_... (usually the default workspace).GET /todos?workspace=ws_...: fetch todos (grouped by quadrant).POST /todos.POST /todos/:id/complete (idempotent).POST /todos/reorder./recurring-todos endpoints.This skill intentionally uses curl for maximum portability across OSes and environments.
Notes:
https://4to.do/api/v0).FOURTODO_API_TOKEN (never paste tokens into chat).curl -sS -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" "https://4to.do/api/v0/workspaces"
curl -sS -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" "https://4to.do/api/v0/todos?workspace=ws_...&show=all"
curl -sS -X POST -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" --data-raw '{"name":"...","quadrant":"IU","workspace_id":"ws_..."}' "https://4to.do/api/v0/todos"
curl -sS -X POST -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" "https://4to.do/api/v0/todos/todo_.../complete"
curl -sS -X POST -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" --data-raw '{"moved_todo_id":"todo_...","previous_todo_id":"todo_...","next_todo_id":null,"quadrant":"IN"}' "https://4to.do/api/v0/todos/reorder"
Note: if moved_todo_id starts with rec_todo_, the API updates only the recurring todo quadrant and ignores previous_todo_id/next_todo_id.
401 token_expired / invalid_token: stop retrying; ask the user to create a new token in 4todo settings and update OpenClaw config.402 WORKSPACE_RESTRICTED: the workspace is read-only; do not retry mutations; switch workspace or prompt user to upgrade/unlock.429 rate_limited: honor Retry-After / X-RateLimit-* and back off before retry.400 Invalid quadrant type: ensure quadrant is one of IU|IN|NU|NN.{baseDir}/references/api_v0.md安装 4todo 后,可以对 AI 说这些话来触发它
Help me get started with 4todo
Explains what 4todo does, walks through the setup, and runs a quick demo based on your current project
Use 4todo to manage 4todo (4to
Invokes 4todo with the right parameters and returns the result directly in the conversation
What can I do with 4todo in my documents & notes workflow?
Lists the top use cases for 4todo, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/4todo/ 目录(个人级,所有项目可用),或 .claude/skills/4todo/(项目级)。重启 AI 客户端后,用 /4todo 主动调用,或让 AI 根据上下文自动发现并使用。
4todo 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
4todo 可免费安装使用。请查阅仓库了解许可证信息。
通过聊天管理 4todo (4to.do)。捕获任务,使用艾森豪威尔矩阵确定优先级,重新排序、完成和管理跨工作区的重复任务。
4todo 属于「Documents & Notes」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my documents & notes tasks using 4todo
Identifies repetitive steps in your workflow and sets up 4todo to handle them automatically