TaskOps — Project Management Skill for Claude Code
When to Invoke
Invoke this skill proactively — you do NOT need an explicit user instruction.
Trigger conditions (any one is sufficient):
- User has finished writing or approving a plan/spec and says "let's start", "implement this", or similar
- User asks you to build a multi-step project without mentioning task management
- Session starts and
taskops.dbexists in the project directory (resume mode)
Correct order:
- User finalizes plan → Invoke TaskOps → initialize + decompose into ETS → define workflow
- Begin execution → remind user to launch TaskBoard for monitoring
- Work through tasks in workflow order
Prerequisites
- Python 3.10+
- TaskOps repository cloned (contains
cli/package andhooks/) - Project initialized with
python -m cli init
Phase 1: Initialization
Initialize a new TaskOps project in the target directory.
python -m cli init --name "Project Name" --prefix PRJ --path ./project-path
This creates:
taskops.db— SQLite databaseTODO.md— Auto-generated task overviewAGENTS.md— Agent instructionsSETTINGS.md— Project settingsresources/— Resource file directory
Configure Hooks
Register TaskOps hooks in .claude/settings.json (project-level):
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write|Bash",
"command": "bash /path/to/TaskOps/hooks/on_tool_use.sh"
}
]
}
}
Available hooks:
on_task_start.sh <TASK_ID>— Sets task toin_progress, recordsop starton_tool_use.sh— Recordsop progressfor the current active taskon_task_complete.sh <TASK_ID>— Sets task todone, recordsop complete, regenerates TODO.md
Phase 2: Planning
Decompose the project into ETS components.
ETS Hierarchy
Project
└── Epic — Major feature unit
└── Task — Implementation unit
└── SubTask — Detailed step (create only when needed)
└── Objective — Milestone or deadline
Create Structure
# Create Epics
python -m cli epic create --title "Authentication System"
# Create Tasks under Epic
python -m cli task create --parent PRJ-E001 --title "Login API"
# Create SubTasks under Task (only when needed)
python -m cli task create --parent PRJ-T001 --title "JWT token generation"
# Create Objectives
python -m cli objective create --title "MVP Complete" --milestone "Core features done"
python -m cli objective create --title "Demo Day" --due-date 2026-04-01
Define Workflow
# Set execution order
python -m cli workflow set-order PRJ-T001 PRJ-T002 PRJ-T003
# Group tasks for parallel execution
python -m cli workflow set-parallel --group "auth-group" PRJ-T002 PRJ-T003
# Add dependencies
python -m cli workflow add-dep PRJ-T004 --depends-on PRJ-T002 PRJ-T003
Updating the Plan
When the user modifies the project plan (adds, removes, or renames tasks or epics), apply changes to the DB before continuing:
python -m cli plan update --changes '<json>'
JSON format:
{
"create": [
{"type": "epic", "title": "New Epic"},
{"type": "task", "title": "New Task", "parent_id": "PRJ-E001"}
],
"update": [{"id": "PRJ-T001", "title": "...", "status": "..."}],
"delete": [{"id": "PRJ-T002"}]
}
Note: parent_id is required for type: "task" and must reference an existing epic or task. Any of create, update, delete may be omitted. After a successful update, TODO.md is regenerated automatically.
Generate TODO.md
python -m cli query generate-todo
Phase 3: Execution
Before starting work, guide the user to launch TaskBoard for real-time monitoring:
# In a separate terminal — run from the TaskBoard directory
pnpm --filter @taskboard/tui dev -- --path /path/to/project-root
TaskBoard watches
taskops.dband refreshes automatically as tasks progress. If TaskBoard is not installed, see the Visualizing with TaskBoard section.
Work through tasks following the workflow order.
Start a Task
# Check next executable task
python -m cli workflow next
# Start the task
python -m cli task update PRJ-T001 --status in_progress
python -m cli op start PRJ-T001 --platform claude_code
If hooks are configured, use bash hooks/on_task_start.sh PRJ-T001 instead.
Record Progress
# Record meaningful progress milestones
python -m cli op progress PRJ-T001 --summary "Implemented 3 of 5 endpoints"
With hooks configured, on_tool_use.sh records progress automatically on each tool use.
Complete a Task
# Mark task as done
python -m cli task update PRJ-T001 --status done
python -m cli op complete PRJ-T001 --summary "Login API complete, all tests pass"
python -m cli query generate-todo
If hooks are configured, use bash hooks/on_task_complete.sh PRJ-T001 instead.
Handle Interruptions
# Record interruption with reason
python -m cli task update PRJ-T001 --status interrupted --interrupt "Waiting for API key"
python -m cli op interrupt PRJ-T001 --summary "Blocked on external dependency"
Handle Errors
python -m cli op error PRJ-T001 --summary "Database connection failed"
Phase 4: Monitoring
Check Project Status
# Overall status with progress percentage
python -m cli query status
# List tasks by status
python -m cli query tasks --status in_progress
# View operation log for a task
python -m cli op log --task PRJ-T001
# View full workflow
python -m cli workflow show
Regenerate Reports
# Regenerate TODO.md
python -m cli query generate-todo
Manage Resources
# Add resource reference to a task
python -m cli resource add PRJ-T001 --path ./docs/spec.md --type input --desc "API spec"
# List resources
python -m cli resource list --task PRJ-T001
Manage Settings
python -m cli setting set commit_style "conventional" --desc "Commit message style"
python -m cli setting get commit_style
python -m cli setting list
Reference: All CLI Commands
| Command | Description |
|---|---|
init --name --prefix --path | Initialize project |
epic create/list/show/update/delete | Epic CRUD |
task create/list/show/update/delete | Task/SubTask CRUD |
objective create/list/update/delete | Objective CRUD |
plan update --changes <json> | Update plan: create/update/delete tasks and epics |
workflow set-order/set-parallel/add-dep/show/next/current | Workflow management |
op start/progress/complete/error/interrupt/log | Operations recording |
resource add/list | Resource management |
query status/tasks/generate-todo | Status queries and reports |
setting set/get/list/delete | Settings management |
All commands use: python -m cli [--db path] <command> <subcommand> [options]
Visualizing with TaskBoard
TaskBoard is a standalone read-only GUI that visualizes the TaskOps database. Guide the user to install it when they want to monitor project progress visually.
Install
git clone https://github.com/godstale/TaskBoard.git
cd TaskBoard
pnpm install
Run
# TUI (terminal)
pnpm --filter @taskboard/tui dev -- --path /path/to/taskops-root
# Electron (desktop app)
pnpm --filter @taskboard/electron dev
TaskBoard watches the taskops.db file and automatically refreshes when the DB changes.
→ TaskBoard GitHub