Rune Task Management Skill
Manage hierarchical task lists using the rune CLI tool.
Command Reference
Creating and Listing
rune create [file] --title "Title"- Initialize task file (required)rune create [file] --title "Title" --reference "file.md"- With references (repeatable)rune list [file]- Display tasks (supports--filter,--format,--stream N,--owner "name")rune next [file]- Get next incomplete taskrune next [file] --one- Show only first incomplete path (single task chain)rune next [file] --phase- Get all tasks from next phaserune next [file] --stream N --claim "agent-id"- Claim ready tasks in streamrune streams [file]- Show stream status (--available,--json)rune find [file] --pattern "term"- Search tasks
Task Management
rune add [file] --title "Task"- Add task (options:--parent,--phase,--stream,--blocked-by,--owner)rune complete [file] [task-id]- Mark completed (positional ID)rune progress [file] [task-id]- Mark in-progressrune uncomplete [file] [task-id]- Mark pendingrune update [file] [task-id] --title "New"- Update task (options:--details,--stream,--blocked-by,--owner,--release)rune remove [file] [task-id]- Remove task and subtasks
Organization
rune add-phase [file] "Phase Name"- Add phase headerrune has-phases [file]- Check if file uses phasesrune renumber [file]- Recalculate IDs (creates .bak, use--dry-runto preview)rune add-frontmatter [file] --reference "file.md"- Add references (repeatable)rune add-frontmatter [file] --meta "key:value"- Add metadata
Batch Operations
Execute multiple operations atomically:
rune batch [file] --input '{"file":"tasks.md","operations":[...]}'
Operation types:
add- Required:title. Optional:parent,phase,stream,blocked_by,owner,requirements,requirements_fileupdate- Required:id. Optional:title,status(0/1/2),details,references,stream,blocked_by,owner,releaseremove- Required:idadd-phase- Required:name
Status values: 0=pending, 1=in-progress, 2=completed
Important: Array fields (references, requirements, blocked_by) must be JSON arrays, not comma-separated strings.
Use hierarchical task IDs (e.g., "1", "2.1") in blocked_by; rune resolves to stable IDs internally.
Use "dry_run": true to preview changes without applying.
Key Concepts
Task Status
[ ]Pending |[-]In-progress |[x]Completed
Phases
H2 headers (## Phase Name) that group tasks. Tasks numbered globally across phases.
Task Dependencies
Tasks can block other tasks using --blocked-by "1,2". A task is "ready" only when all blockers are completed. Circular dependencies are rejected. Stable IDs (7-char alphanumeric, hidden as HTML comments) survive renumbering.
Work Streams
Partition tasks for parallel execution. Default stream is 1. Use rune streams to see ready/blocked/active counts per stream.
Task Ownership
Agents claim tasks via --claim or --owner. Claimed tasks show owner; use --release to unclaim.
Git Integration
With discovery enabled, omit filename to auto-discover from branch:
# .rune.yml or ~/.config/rune/config.yml
discovery:
enabled: true
template: "specs/{branch}/tasks.md"
Branch prefixes like feature/ are stripped automatically.
Workflow Guidelines
Single Agent
rune list --filter pendingto see workrune nextto identify next task- Mark in-progress when starting, completed when done
- Use batch operations for multiple related changes
Multi-Agent
rune streams --availableto find streams with ready tasksrune next --stream N --claim "agent-id"to claim stream work- Each agent works independently within its stream
- Complete tasks to unblock dependents in other streams
- Use
--releasewhen giving up a task
Best Practices
- Use
rune batchfor related changes (atomic) - Keep task status current
- Use
--blocked-byto define execution order - Partition independent work into streams
- Use
--dry-runto preview changes - Use phases for workflow stages
- Keep hierarchy shallow (avoid deep nesting)
Error Handling
- Task not found: Use
rune listto see valid IDs - Circular dependency: Restructure dependencies to break cycle
- Phase not found: Create with
rune add-phasefirst - Batch validation failure: Fix invalid operation and retry (entire batch fails if any operation invalid)
- Git discovery failure: Check config, template path, and that you're on a feature branch
Response Format
When managing tasks:
- Explain operations to perform
- Execute rune commands
- Show results
- Confirm what was accomplished
For detailed batch examples and patterns, read references/patterns.md.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.