Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
npx skills add godstale/TaskOps
Or install specific skill: npx add-skill https://github.com/godstale/TaskOps
# Description
>
# SKILL.md
name: taskops
description: >
Project task management skill using ETS (Epic-Task-SubTask) structure.
INVOKE AUTOMATICALLY β without waiting for user instruction β when:
(1) a project plan or implementation spec has been finalized and the user is about to start execution,
(2) a user presents a multi-step project and asks you to implement or build it,
(3) a new development session begins on a project that already has a taskops.db.
Use TaskOps BEFORE execution starts: initialize the DB, decompose the plan into Epics/Tasks, set workflow order, then begin work.
During execution, guide the user to launch TaskBoard for real-time monitoring.
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.db exists in the project directory (resume mode)
Correct order:
1. User finalizes plan β Invoke TaskOps β initialize + decompose into ETS β define workflow
2. Begin execution β remind user to launch TaskBoard for monitoring
3. 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 database
- TODO.md β Auto-generated task overview
- AGENTS.md β Agent instructions
- SETTINGS.md β Project settings
- resources/ β 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 to in_progress, records op start
- on_tool_use.sh β Records op progress for the current active task
- on_task_complete.sh <TASK_ID> β Sets task to done, records op 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
# README.md
TaskOps
AI Agent Project Management Skill β Manage complex projects using ETS (Epic-Task-SubTask) structure with SQLite-backed tracking, workflow management, and operations monitoring.
Supports Claude Code (with hooks) and Gemini CLI (explicit recording).
νκ΅μ΄ λ¬Έμ: README.ko.md
What It Does
TaskOps gives AI Agents a structured way to manage multi-step projects across sessions:
- ETS Hierarchy: Decompose projects into Epics β Tasks β SubTasks
- Workflow Engine: Sequential and parallel execution with dependency tracking
- Operations Log: Record start/progress/complete/error/interrupt events per task
- Auto Reports: Generate
TODO.mdandTASK_OPERATIONS.mdfrom DB state - Resource Tracking: Link files to tasks
- Settings Store: Key-value config synced to
SETTINGS.md - Visual Monitoring: Use TaskBoard to view project status in a live GUI (TUI or Electron desktop app)
Quick Start
git clone https://github.com/godstale/TaskOps.git
cd my-project
# Initialize TaskOps in your project
python -m cli init --name "My Project" --prefix MYP --path .
# Plan: create epics and tasks
python -m cli epic create --title "Core Feature"
python -m cli task create --parent MYP-E001 --title "Implement API"
# Set workflow order
python -m cli workflow set-order MYP-T001
python -m cli query generate-todo
# Execute
python -m cli workflow next # -> MYP-T001
python -m cli task update MYP-T001 --status in_progress
python -m cli op start MYP-T001 --platform claude_code
# ... do the work ...
python -m cli task update MYP-T001 --status done
python -m cli op complete MYP-T001 --summary "API complete"
python -m cli query generate-todo
See docs/usage/quickstart.md for the full guide.
Monitoring with TaskBoard
TaskBoard is a companion GUI that reads the TaskOps SQLite database in real-time and displays your project status visually. It runs as a terminal UI (TUI) or a desktop Electron app, and automatically refreshes whenever the DB changes.
git clone https://github.com/godstale/TaskBoard.git
cd TaskBoard
pnpm install
# TUI (terminal)
pnpm --filter @taskboard/tui dev -- --path /path/to/your-project
# Electron (desktop)
pnpm --filter @taskboard/electron dev
TaskBoard is read-only β it never writes to the TaskOps DB. Use it to monitor progress in real-time while the AI Agent works.
Using as a Skill
Claude Code
Add skills/taskops.md as a Claude Code skill via npx skills add godstale/TaskOps, or manually copy SKILL.md to your skills directory.
The skill is designed to be invoked automatically β the AI Agent will start TaskOps without an explicit user instruction whenever a plan is finalized and execution is about to begin.
Configure hooks in .claude/settings.json to auto-record operations:
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write|Bash",
"command": "bash /path/to/TaskOps/hooks/on_tool_use.sh"
}
]
}
}
Gemini CLI
Use skills/taskops-gemini.md. Gemini CLI has no hooks β the skill instructs the agent to call op commands explicitly at each step.
Project Structure
TaskOps/
βββ SKILL.md # Root skill file (for npx skills add)
βββ cli/ # Python CLI package
β βββ __main__.py # Entry point: python -m cli
β βββ taskops.py # argparse routing
β βββ db/ # DB layer (schema, connection)
β βββ commands/ # Subcommand modules
β βββ templates/ # MD file templates
βββ hooks/ # Claude Code hook scripts
β βββ on_task_start.sh
β βββ on_task_complete.sh
β βββ on_tool_use.sh
βββ skills/ # AI Agent skill documents
β βββ taskops.md # Claude Code skill
β βββ taskops-gemini.md # Gemini CLI skill
β βββ fragments/ # Shared instruction fragments
βββ tests/ # Test suite
β βββ unit/ # Unit tests
β βββ integration/ # Integration tests
βββ docs/usage/ # Documentation
CLI Reference
See docs/usage/commands.md for the full command reference.
| 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 |
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/generate-ops |
Status queries and reports |
setting set/get/list/delete |
Settings management |
Requirements
- Python 3.10+
- No external dependencies (stdlib only:
sqlite3,argparse,json,string)
Testing
# Unit tests
python -m pytest tests/unit/ -v
# Integration tests (requires bash)
python -m pytest tests/integration/ -v
# Full suite
python -m pytest tests/ -v
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.