微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Claw List

Claw List · v1.2.3
安全 unknown 级 作者 mbojer 公开目录收录
950 下载 0 安装 4.6k 收藏 1 浏览

简介

Claw List

原始描述

Manage todo lists in PostgreSQL. Per-agent lists, optional categories, priorities, due dates. Triggers: "todo", "add task", "mark done", "what's due", "my ta...

通过你的 Agent 添加

安装目录:todo/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/claw-list/
Codex CLI~/.codex/skills/claw-list/
DeepSeek Harness~/.agents/skills/claw-list/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: todo description: | Manage todo lists in PostgreSQL. Per-agent lists, optional categories, priorities, due dates. Triggers: "todo", "add task", "mark done", "what's due", "my tasks", "due soon", "overdue" Required env vars: TODO_DB_HOST, TODO_DB_NAME, TODO_DB_USER, TODO_DB_PASSWORD (optional: TODO_DB_PORT, TODO_DB_SSLMODE) metadata: env: - name: TODO_DB_HOST required: true description: PostgreSQL host (e.g. 127.0.0.1) - name: TODO_DB_PORT required: false description: PostgreSQL port (default: 5432) - name: TODO_DB_NAME required: true description: PostgreSQL database name - name: TODO_DB_USER required: true description: PostgreSQL user (use a dedicated user with minimal privileges) - name: TODO_DB_PASSWORD required: true description: PostgreSQL password - name: TODO_DB_SSLMODE required: false description: PostgreSQL SSL mode (e.g. require, disable)

ClawList — Todo Skill

Todo lists in PostgreSQL with per-agent ownership, categories, priorities, and due dates.

Prerequisites

  • Python 3.7+
  • psycopg2-binary (pip install psycopg2-binary)
  • PostgreSQL database (accessible from the agent host)

First-Time Setup

  1. Copy .env.example to .env and fill in your PostgreSQL credentials
  2. Run setup command to create tables
  3. Done — start adding todos

Quick Reference

All operations via scripts/todo_cli.py <command> [options].

Command Purpose
setup Create DB tables (run once)
add Add a todo (--title, --list, --category, --priority, --due)
list List todos (--agent, --list, --category, --priority, --completed, --all, --all-agents)
complete / uncomplete Toggle completion (<id> --agent)
edit Update a todo (<id> --title/--due/--priority/--category --agent)
transfer Move a todo to another agent (<id> --from-agent X --to-agent Y --to-list Z)
delete Delete a todo (<id> --agent)
archive Archive completed todos (--agent, optional --list)
due-soon Todos due within N days (--agent --days 7)
overdue Overdue todos (--agent)
lists Show all lists for agent
create-list / delete-list Manage lists
categories / create-category Manage categories within a list
migrate-check Scan workspace for existing task files (THELIST.md etc.)
migrate Import from a task file (--file --list --agent --action import-keep|import-delete)

Output Modes

  • Default: Human-readable with status icons, priorities, due date indicators
  • --compact: Single-line per todo, minimal tokens (e.g., 3 | Buy milk | high | due: 2026-03-20)
  • --json: JSON array for programmatic use

Cross-Agent Access

Use --request-from <agent> to query another agent's list. All cross-agent access is logged to todo_access_log. There is no enforcement policy — any agent can read or receive transfers from any other agent's lists on the same database. If running multiple agents on a shared DB, be aware that todo content is visible across all agents.

Migrate Warning

The migrate --action import-delete option permanently deletes the source file after importing. Back up any files you care about before using this option. Use import-keep to import without deleting.

Detailed Reference

For full command syntax, examples, and schema: see references/cli.md

How to Use This Skill

Agent Identity

The --agent flag identifies who owns the todos. Use your agent's identity name (check your agent config or the identity.name field). Examples: researcher, jobhunter, assistant. When unsure, ask the user which agent they want to use.

Natural Language → Command Mapping

Parse user intent and map to commands:

User says Command
"Add todo: X" / "Remind me to X" add --title "X" --agent <name>
"Add X to my Y list" add --title "X" --list "Y" --agent <name>
"Show my todos" / "What's on my list?" list --agent <name>
"Show all todos across agents" list --all-agents
"Show my high priority tasks" list --agent <name> --priority high
"What's due this week?" due-soon --agent <name> --days 7
"Anything overdue?" overdue --agent <name>
"Mark X as done" / "Complete X" complete <id> --agent <name>
"Transfer X to agent Y" transfer <id> --from-agent <name> --to-agent Y
"Delete X" / "Remove X" delete <id> --agent <name>
"Change due date on X to Y" edit <id> --due "Y" --agent <name>
"Archive completed items" archive --agent <name>

Finding Todo IDs

Most commands need a todo ID. When the user refers to a todo by title (e.g., "mark 'buy milk' as done"), run list first to find the matching ID, then run the action.

Responding to the User

  • After add: confirm with the ID and any parsed details (priority, due date, list)
  • After list: present the formatted output; for compact/json, summarize key items
  • After complete/delete: confirm what was done
  • For overdue/due-soon: highlight urgent items proactively

First-Time Setup Flow

  1. Run setup to create tables
  2. Run migrate-check to scan for existing task files (THELIST.md, todo.txt, etc.)
  3. If files found, ask the user what to do: import, keep, or both
  4. Start normal operations

Choosing Output Mode

  • Default (no flags): for direct user display
  • --compact: when listing many items or in token-constrained contexts
  • --json: when another agent/script needs to parse results

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill