# 1. Go to your project
cd /your/project
# 2. Add tm from release artifact or local install
cp /path/to/task-orchestrator/tm ./tm
chmod +x tm
./tm init
# 3. Set agent identity and test
export TM_AGENT_ID="orchestrator_agent"
./tm add "My first task"That's it! Task Orchestrator is now ready in your project for use with Claude Code.
When working with Claude Code on any project:
# 1. Navigate to your project
cd /your/project
# 2. Copy the task orchestrator
cp /path/to/task-orchestrator/tm ./tm
chmod +x tm
# 3. Initialize for this project
./tm init
# 4. Set agent identity and start creating tasks
export TM_AGENT_ID="orchestrator_agent"
./tm add "Implement user authentication"You tell Claude:
"Help me build a user authentication system with JWT tokens"
Claude uses Task Orchestrator:
# Claude creates the main task
MAIN=$(./tm add "Build authentication system" -p high | grep -o '[a-f0-9]\{8\}')
# Claude breaks it down into subtasks
DB=$(./tm add "Design user database schema" --depends-on $MAIN | grep -o '[a-f0-9]\{8\}')
JWT=$(./tm add "Implement JWT token generation" --depends-on $DB | grep -o '[a-f0-9]\{8\}')
API=$(./tm add "Create REST endpoints" --depends-on $JWT | grep -o '[a-f0-9]\{8\}')
UI=$(./tm add "Build login UI" --depends-on $API | grep -o '[a-f0-9]\{8\}')
# Claude starts working
./tm update $DB --status in_progressScenario: You want Claude to coordinate multiple specialized agents
# Orchestrator Claude sets up project
export TM_AGENT_ID="orchestrator_agent"
./tm add "Build e-commerce platform" --assignee orchestrator_agent
./tm add "Database design" --assignee db_specialist
./tm add "API development" --assignee api_specialist
./tm add "Frontend components" --assignee ui_specialist
# Each specialist agent can then:
export TM_AGENT_ID="api_specialist"
./tm list --assignee api_specialist --status pending
./tm update task_id --status in_progressFirst Claude session:
export TM_AGENT_ID="orchestrator_agent"
./tm add "Refactor authentication module"
./tm share task_123 "Analyzed existing code, found 3 issues"
./tm note task_123 "Need to update JWT library version"
# Session endsNext Claude session (hours/days later):
./tm context task_123 # Claude sees all previous context
./tm share task_123 "Fixed 2 of 3 issues"
./tm complete task_123| Command | Purpose | Example |
|---|---|---|
tm init |
Initialize in new project | ./tm init |
tm add |
Create a task | ./tm add "Fix bug" |
tm list |
View all tasks | ./tm list --status pending |
tm update |
Change task status | ./tm update abc123 --status in_progress |
tm complete |
Mark task done | ./tm complete abc123 |
tm share |
Add team update | ./tm share abc123 "Found the issue" |
tm context |
View task history | ./tm context abc123 |
# Add file references
./tm add "Fix auth bug" --file src/auth.py:42:45
# Create dependencies
./tm add "Deploy" --depends-on task1 --depends-on task2
# Filter by tags
./tm list --tag backend --status pending
# Export for reporting
./tm export --format markdown > tasks.mdEnhance your task management with quality tracking and success metrics:
# 1. Create task with success criteria and deadline
TASK_ID=$(./tm add "Build payment integration" \
--criteria '[{"criterion":"All payment tests pass","measurable":"true"},
{"criterion":"PCI compliance verified","measurable":"compliance_check == passed"}]' \
--deadline "2025-12-31T23:59:59Z" \
--estimated-hours 40 | grep -o '[a-f0-9]\{8\}')
# 2. Track progress throughout development
./tm progress $TASK_ID "10% - Researching payment providers"
./tm progress $TASK_ID "30% - Stripe SDK integrated"
./tm progress $TASK_ID "60% - Payment flow implemented"
./tm progress $TASK_ID "90% - Testing and compliance checks"
# 3. Complete with validation and summary
./tm complete $TASK_ID \
--validate \
--actual-hours 35 \
--summary "Implemented Stripe integration with full PCI compliance, all tests passing"
# 4. Add quality feedback
./tm feedback $TASK_ID \
--quality 5 \
--timeliness 5 \
--note "Delivered ahead of schedule with excellent documentation"
# 5. View team metrics
./tm metrics --feedback
# Output: Average quality: 4.8/5, Success rate: 95%# Create bug fix task with criteria
BUG=$(./tm add "Fix login timeout issue" \
--criteria '[{"criterion":"Users can stay logged in 24h","measurable":"true"}]' \
--priority critical \
--estimated-hours 2 | grep -o '[a-f0-9]\{8\}')
# Track investigation
./tm progress $BUG "Found issue: session expires after 1h instead of 24h"
# Complete with validation
./tm complete $BUG --validate --actual-hours 1.5 \
--summary "Fixed session timeout configuration"# View current configuration
./tm config --show
# Enable only what you need
./tm config --enable feedback
./tm config --enable success-criteria
./tm config --disable telemetry
# Or use minimal mode (no Core Loop features)
./tm config --minimal-modeIf upgrading from v2.2 or earlier:
# Backup first (always!)
cp -r ~/.task-orchestrator ~/.task-orchestrator.backup
# Apply Core Loop migration
./tm migrate --apply
# Verify success
./tm migrate --status
# Output: Applied migrations: 001 | Up to date: YesBEFORE using Task Orchestrator with Claude Code, you MUST configure command whitelisting to avoid confirmation prompts on every command:
{
"whitelisted_commands": [
"./tm *"
]
}📋 Complete whitelist configuration: See CLAUDE_CODE_WHITELIST.md for:
- Multiple security levels (permissive to restrictive)
- Environment-specific configurations
- Testing instructions
- Troubleshooting guide
# Set agent identity (otherwise auto-generated)
export TM_AGENT_ID="claude_main"
# Custom database location (if needed)
export TM_DB_PATH=".task-orchestrator/tasks.db"- Always initialize first: Run
./tm initin each new project - Use clear task titles: "Fix login bug" not just "Bug"
- Add file references: Helps Claude navigate large codebases
- Use dependencies: Ensures logical task flow
- Share discoveries: Use
tm discoverfor important findings
# Claude identifies the bug
BUG=$(./tm add "Fix login timeout issue" -p critical)
./tm update $BUG --file src/auth/session.js:234
# Claude works on it
./tm update $BUG --status in_progress
./tm share $BUG "Issue: Session timeout not properly cleared"
# Claude fixes it
./tm share $BUG "Fixed: Added clearTimeout in cleanup"
./tm complete $BUG# Claude plans the feature
FEATURE=$(./tm add "Add dark mode toggle")
./tm add "Create theme context" --depends-on $FEATURE
./tm add "Add toggle component" --depends-on $FEATURE
./tm add "Update CSS variables" --depends-on $FEATURE
# Claude implements step by step
./tm list --depends-on $FEATURE# Claude prepares for review
./tm add "Prepare PR for review" --tag review
./tm share task_id "Fixed linting issues"
./tm share task_id "Added unit tests"
./tm share task_id "Updated documentation"
./tm complete task_id# Make sure it's executable
chmod +x tm
# Or use Python directly
python3 tm add "Task"# Initialize git first
git init
# Then initialize task orchestrator
./tm init# Wait a moment and retry, or increase timeout
export TM_LOCK_TIMEOUT=30-
Batch Operations: Create multiple tasks at once
for task in "Design API" "Implement backend" "Create UI"; do ./tm add "$task" done
-
Task Templates: Use consistent patterns
./tm add "[BUG] Login fails with special characters" --tag bug --priority high ./tm add "[FEATURE] Add password reset" --tag feature --priority medium
-
Progress Tracking: Use status progression
pending → analyzing → in_progress → testing → completed
- Read the User Guide for complete documentation
- Check Examples for real-world usage patterns
- See Troubleshooting for common issues
- Review API Reference for all commands
Start using Task Orchestrator with Claude Code to manage complex projects efficiently. The system handles all the complexity while you focus on building great software!
Need help? Check our documentation or file an issue on GitHub.