garymjr avatar

tasks-cli

Local-first tasks CLI for managing project work with dependencies, tags, priorities, and status. Use

by garymjr|Open Source

Tasks CLI Skill

Local-first task manager stored in .tasks/tasks.json per directory. Supports dependencies, tags, priorities, and lifecycle states.

When to Use

  • Managing project tasks, bugs, or features in a repo
  • Organizing work with dependencies and blocked states
  • Tracking task status (todo → in_progress → done)
  • Filtering by tags, status, or priority
  • Prefer --json output for supported commands

Task Bodies

  • Always include a body when creating or editing tasks; it preserves context for future agents.
  • Use --body with a short sentence or a few bullets (why, scope, acceptance).

Ideal Workflows

Bootstrap a Repo

tasks init --json
tasks add "Project kickoff" --priority high --tags planning --json

Daily Loop

tasks next --json
# pick one, then:
tasks edit <id> --status in_progress --json
# when done:
tasks done <id> --json

Dependency-Driven Planning

tasks add "Ship v1" --priority high --tags release --json
PARENT=<id>

tasks add "Write changelog" --tags docs --json
CHILD=<id>

tasks link $CHILD $PARENT --json
# work ready items only:
tasks next --all --json

Triage + Tagging

tasks list --status todo --priority high --json
tasks tag <id> urgent --json
tasks edit <id> --priority critical --json

Review + Cleanup

tasks list --status done --json
tasks delete <id> --json