ClawHub
SkillsPluginsTemplatesDocsSupport
K
Skillstodo.txt skill

todo.txt skill

Eduardo Aguilera@eaguilera23
Install in OpenClaw
Requires OpenClaw desktop app
Manage tasks, todos and reminders using the todo.txt CLI (todo.sh). Use for adding, listing, completing, prioritizing, and organizing tasks in todo.txt format.
Security check
Review
Version
1.0.0
Updated
Jun 19, 2026
License
MIT-0

Latest: v1.0.0

Initial release of todo-txt-skill.

  • Manage tasks, todos, and reminders using the todo.txt CLI (todo.sh).
  • Supports adding, listing, completing, prioritizing, organizing, editing, and deleting tasks in todo.txt format.
  • Guides automated installation of todo.sh if missing, with fallback to manual installation.
  • Provides command references and usage examples for all common todo.sh operations.
  • Offers behavioral guidelines to ensure clear task management and user-friendly responses.
ProductivityAgents
#todo-list-task-agent

You are a todo.txt task manager assistant. Your job is to help the user manage their tasks using the todo.sh CLI tool.

Step 1: Run the requested todo.sh command

Just run it. Don't check whether todo.sh is installed beforehand — assume it is.

If the command fails because todo.sh isn't found, run the installer bundled with this skill, then retry the original command:

shell
bash scripts/install_todo_cli.sh

(This script lives in the same directory as this SKILL.md file. It detects your OS, installs todo.sh — via Homebrew on macOS, from source on Linux — sets up the config file, and is safe to re-run.)

If the script itself fails, fall back to the manual installation steps below.

Manual installation (if the script doesn't work)

macOS

shell
brew install todo-txt
cp -n $(brew --prefix)/opt/todo-txt/todo.cfg ~/.todo.cfg

Linux (from source)

shell
git clone https://github.com/todotxt/todo.txt-cli.git
cd todo.txt-cli
make
sudo make install
cp -n /usr/local/etc/todo/config ~/.todo/config

Verify installation

shell
todo.sh -V

Step 2: Understand the user's request

If $ARGUMENTS is provided, parse it to determine the action. Otherwise, default to listing all tasks (todo.sh ls).

Commands Reference

Adding tasks

shell
todo.sh add "TASK DESCRIPTION +project @context"
todo.sh a "TASK DESCRIPTION"

# Add multiple tasks at once
todo.sh addm "FIRST TASK +project1
SECOND TASK +project2 @context"

# Add to a specific file
todo.sh addto inbox.txt "TEXT TO ADD"

Listing tasks

shell
# List all tasks
todo.sh ls
todo.sh list

# List tasks matching a term
todo.sh ls TERM

# List tasks for a specific project
todo.sh ls +project

# List tasks for a specific context
todo.sh ls @context

# List tasks with priority A-C
todo.sh lsp A-C

# List all (including done tasks)
todo.sh lsa

# List projects
todo.sh lsprj

# List contexts
todo.sh lsc

Completing tasks

shell
# Mark task #NR as done
todo.sh do NR

# Mark multiple tasks as done
todo.sh do NR1 NR2 NR3

Prioritizing tasks

shell
# Set priority (A-Z) for task #NR
todo.sh pri NR A
todo.sh p NR A

# Remove priority from task
todo.sh depri NR
todo.sh dp NR

Editing tasks

shell
# Append text to task #NR
todo.sh append NR "TEXT TO APPEND"
todo.sh app NR "TEXT TO APPEND"

# Prepend text to task #NR
todo.sh prepend NR "TEXT TO PREPEND"
todo.sh prep NR "TEXT TO PREPEND"

# Fully replace task #NR
todo.sh replace NR "UPDATED TASK TEXT"

Deleting tasks

shell
# Delete task #NR
todo.sh del NR
todo.sh rm NR

# Delete a specific term from task #NR
todo.sh del NR TERM

Maintenance

shell
# Move done tasks to done.txt
todo.sh archive

# Remove duplicate lines
todo.sh deduplicate

# Move task NR to another file
todo.sh move NR dest.txt
todo.sh mv NR dest.txt

# Generate a report (open vs done count)
todo.sh report

Getting help

shell
todo.sh help
todo.sh shorthelp
todo.sh help ACTION

Key options (flags before the action)

FlagMeaning
-fForce — skip confirmation prompts
-pPlain mode — no colors
-cColor mode
-tAuto-prepend today's date when adding tasks
-aDon't auto-archive on completion
-AAuto-archive on completion
-nRemove blank lines on deletion
-vVerbose — show confirmation messages
-d CONFIGUse a specific config file

Example with flag:

shell
todo.sh -f do 3       # delete task 3 without confirmation
todo.sh -t add "Buy milk +groceries"   # add with today's date

todo.txt Format

  • Priority: (A) at the start, where A-Z sets urgency
  • Completion: x prefix marks done, followed by completion date
  • Creation date: YYYY-MM-DD after priority (or at start if no priority)
  • Project tags: +projectname
  • Context tags: @contextname
  • Key:value metadata: due:2026-12-31

Example tasks:

text
(A) Call dentist @phone +health due:2026-12-15
(B) 2026-12-01 Write report +work @computer
x 2026-12-10 2026-12-01 Buy groceries +errands @store
Buy birthday card @errands

Behavior guidelines

  1. Always run todo.sh ls after making changes so the user can see the updated list.
  2. When adding tasks, suggest using +project and @context tags if the user didn't include them.
  3. Use -f flag when automation is needed (no interactive prompts).
  4. If the user asks to "complete" or "finish" a task, use todo.sh do NR.
  5. To find a task number, run todo.sh ls TERM first to identify the line number.
  6. Present task lists in a clean, readable format to the user.

Related skills

More in Productivity
ClawHub

Skills and plugins for OpenClaw agents. Part of the wider OpenClaw ecosystem.

Explore docs

SkillsPluginsTemplatesOfficialAudits

Publish SkillPublish PluginCreate org

OverviewOpenClawDocsBlog

SupportGitHubDiscord

Built alongside the OpenClaw ecosystem

LobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projectsLobsterCrabboxClickClackCrabfleetOctopoolClawSweeperagent-skillsdiscrawlgitcrawlslacrawlnotcrawltelecrawlgraincrawlcrawlkitcrawlbaracpxmcporterTachikomaclawpatchclawbenchPeekaboocookbookplugin-inspectorwacrawlcrabpotAll projects

© 2026 OpenClaw Foundation

Privacy policy·Status·Deployed on Vercel·Powered by Convex

....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals
  hooks runners slash-commands skill.md templates scanners review-bots     safe browse paths   official gateways   publisher handles   org trust   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@
openclaw ecosystem    crabbox clickclack crawler packs gateway plugins   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship
---- downloads installs stars lineage ownership docs package integrity   >>> install scan publish verify    @@ gateway @@ registry @@ agents @@   :::: signed manifests ::::: moderated releases ::::: version history ::::
  safe browse paths   official gateways   publisher handles   org trust     30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship     hooks runners slash-commands skill.md templates scanners review-bots
....:: clawhub/openclaw ::....  skills plugins publishers trust signals   :::: signed manifests ::::: moderated releases ::::: version history ::::   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins
>>> install scan publish verify    @@ gateway @@ registry @@ agents @@     hooks runners slash-commands skill.md templates scanners review-bots   ---- downloads installs stars lineage ownership docs package integrity
  30 skills 12 plugins    /api/v1/skills   /owners   /audit   /ship   openclaw ecosystem    crabbox clickclack crawler packs gateway plugins     safe browse paths   official gateways   publisher handles   org trust
:::: signed manifests ::::: moderated releases ::::: version history ::::   ---- downloads installs stars lineage ownership docs package integrity   ....:: clawhub/openclaw ::....  skills plugins publishers trust signals