Skills & Subagents
Reusable prompt templates with semantic matching and specialized subagent pipelines.
Overview
TAU uses a pipeline of specialized subagents orchestrated by skills:
Default Pipeline:
┌─────────┐ ┌───────┐ ┌──────────┐ ┌────────┐ ┌────────────┐ ┌──────────┐
│ Planner │ → │ Coder │ → │ Reviewer │ → │ Tester │ → │ Documenter │ → │ Verifier │
└─────────┘ └───────┘ └──────────┘ └────────┘ └────────────┘ └──────────┘
│ │ │ │ │ │
▼ ▼ ▼ ▼ ▼ ▼
Planning Writing Reviewing Testing Documentation Verification
Subagents
TAU includes 8 specialized subagents:
| Subagent | Role | When Used |
|---|---|---|
| planner | Breaks down tasks into steps | Always first, creates implementation plan |
| coder | Writes and modifies code | Implementation phase |
| reviewer | Reviews code quality | After code changes |
| tester | Writes and runs tests | After implementation |
| documenter | Generates documentation | After tests pass |
| refactorer | Improves code structure | Optimization tasks |
| qa | Quality assurance checks | Security & quality audits |
| verifier | Final verification | Always last, confirms completion |
Skills
Skills are reusable prompt templates that match user intents and configure the subagent pipeline.
Skill Locations
.tau/skills/— Project-specific skills (highest priority)~/.tau/skills/— User-global skills- Built-in skills from TAU installation
Creating a Skill
# Create skill file
mkdir -p .tau/skills/commit-message
cat > .tau/skills/commit-message/SKILL.md << 'EOF'
---
name: commit-message
description: Generate conventional commit messages from staged changes
tools: read, bash
stages: [planner, coder]
---
Analyze staged git changes and generate a conventional commit message:
type(scope): description
Types: feat, fix, docs, style, refactor, test, chore
EOFSKILL.md Schema
| Field | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Display name |
| description | string | Yes | For semantic matching (<200 chars) |
| tools | string/list | No | Allowed tools (e.g., "read, bash") |
| model | string | No | Preferred model |
| stages | list | No | Custom pipeline stages |
| preferred_agents | list | No | Subagents to prioritize |
| skip_documentation | bool | No | Skip documenter stage |
Semantic Matching
Skills are matched to user prompts using embeddings:
User: "create a commit message for my changes" │ ▼ TAU computes embedding for prompt │ ▼ Compares against skill descriptions │ ▼ Selects best match above threshold (0.7) │ ▼ Applies skill: commit-message
TUI Skill Manager
Open with Ctrl+K:
| Key | Action |
|---|---|
| j/k | Navigate list |
| Space | Toggle enable/disable |
| s | Cycle sort (Name/Usage/Recent) |
| f | Cycle filter (All/Enabled/Disabled) |
| Tab | Toggle details panel |
CLI Commands
# List all skills
tau skill list
tau skill list --enabled
tau skill list --format json
# Enable/disable
tau skill enable commit-message
tau skill disable debug
# Search skills
tau skill search "commit"
# View details
tau skill inspect commit-message
# Usage statistics
tau skill stats
tau skill stats --days 7
# Reset usage count
tau skill reset commit-message --yesExample Skills
Code Review
---
name: review
description: Perform comprehensive code review on changed files
tools: read, bash, grep
stages: [planner, reviewer, qa]
skip_documentation: true
---
Review code changes focusing on:
1. Code correctness and logic errors
2. Security vulnerabilities
3. Performance implications
4. Code style and readability
5. Test coverage gapsDebug
---
name: debug
description: Debug failing tests or runtime errors
tools: read, bash, grep
model: claude-opus-4-5
stages: [planner, coder, tester, verifier]
---
Systematic debugging approach:
1. Reproduce the issue
2. Identify error source
3. Form hypothesis
4. Implement fix
5. Verify fix worksRefactor for Performance
---
name: refactor-for-performance
description: Optimize code for better performance and lower memory usage
tools: [read, write, bash, grep]
model: claude-opus-4-5
preferred_agents: [coder, reviewer]
stages: [planner, coder, reviewer, tester, verifier]
skip_documentation: true
---
You are a performance optimization expert...Custom Pipelines
Override the default pipeline with the stages field:
# Quick fix (skip review, test, docs)
stages: [planner, coder, verifier]
# Full pipeline
stages: [planner, coder, reviewer, tester, documenter, verifier]
# Security audit
stages: [planner, reviewer, qa, verifier]
# Refactoring focus
stages: [planner, refactorer, tester, verifier]Tool Filtering
Restrict available tools for a skill:
# Only allow specific tools
tools: read, bash
# Core tools always available:
# - askuserquestion
# - todowrite
# - enterplanmode
# - exitplanmode
# - skill
# - read