Skill Taxonomy Specification
Version: 1.0.0 Date: 2026-01-27 Status: Proposed Task: T2434 Epic: T2431 (Skill System Enhancement & Dynamic Skill Discovery)Executive Summary
This specification defines a logical grouping taxonomy for CLEO skills based on the cleo-subagent architecture. The taxonomy provides a hierarchical organization by tier (coordination vs execution), functional category (what skills do), and cross-cutting tags (how skills work). Key Principle: All skills are context injection protocols for the universalcleo-subagent agent type, NOT separate agent implementations.
1. Taxonomy Structure
1.1 Three-Axis Organization
2. Tier Hierarchy
| Tier | Purpose | Coordination | Skills |
|---|---|---|---|
| Tier 0 | Orchestration | Delegates ALL work to subagents | ct-orchestrator |
| Tier 1 | Strategic | Plans/coordinates work, may spawn subagents | ct-epic-architect |
| Tier 2 | Tactical | Executes work, terminal nodes | Most execution skills |
| Tier 3 | Specialized | Domain-specific, may be invoked by Tier 2 | ct-docs-*, ct-skill-* |
2.1 Tier Constraints
| Tier | Max Context | Reads Full Files | Spawns Subagents | Decision Authority |
|---|---|---|---|---|
| 0 | 10K tokens | ❌ Manifest only | ✅ Required | ❌ None (HITL only) |
| 1 | 100K tokens | ✅ As needed | ✅ Optional | ⚠️ Limited (tactical) |
| 2 | 60-80K tokens | ✅ Full access | ❌ No | ✅ Full (within scope) |
| 3 | 60-80K tokens | ✅ Full access | ❌ No | ✅ Domain-specific |
2.2 Invocation Patterns
3. Functional Categories
3.1 Category Definitions
| Category | Purpose | Output Type | Example Skills |
|---|---|---|---|
| coordination | Multi-agent workflow management | Session state, spawn commands | ct-orchestrator |
| planning | Strategic decomposition and architecture | Epic structure, task tree | ct-epic-architect |
| discovery | Information gathering and research | Research reports, findings | ct-research-agent |
| specification | Formal requirements and protocols | Specs, RFCs, contracts | ct-spec-writer |
| implementation | Code and system creation | Code, configs, scripts | ct-task-executor, ct-library-implementer-bash |
| validation | Quality and compliance checking | Audit reports, test results | ct-validator, ct-test-writer-bats |
| documentation | User-facing content creation | Docs, guides, references | ct-documentor, ct-docs-* |
| workflow | Process automation and release | Commits, releases, tags | ct-dev-workflow |
| meta | Skill system self-improvement | Skills, protocols | ct-skill-creator, ct-skill-lookup |
3.2 Category Relationships
4. Skill-to-Category Mapping
4.1 Complete Mapping Table
| Skill Name | Tier | Category | Protocol | Token Budget |
|---|---|---|---|---|
ct-orchestrator | 0 | coordination | orchestrator | 8000 |
ct-epic-architect | 1 | planning | decomposition | 8000 |
ct-research-agent | 2 | discovery | research | 8000 |
ct-spec-writer | 2 | specification | specification | 8000 |
ct-task-executor | 2 | implementation | implementation | 8000 |
ct-library-implementer-bash | 2 | implementation | implementation | 8000 |
ct-test-writer-bats | 2 | validation | validation | 8000 |
ct-validator | 2 | validation | validation | 6000 |
ct-documentor | 3 | documentation | implementation | 8000 |
ct-docs-lookup | 3 | documentation | discovery | 6000 |
ct-docs-write | 3 | documentation | implementation | 6000 |
ct-docs-review | 3 | documentation | validation | 6000 |
ct-dev-workflow | 2 | workflow | release | 6000 |
ct-skill-creator | 3 | meta | implementation | 8000 |
ct-skill-lookup | 3 | meta | discovery | 6000 |
5. Tag Vocabulary
5.1 Cross-Cutting Tags
Tags represent implementation characteristics that span multiple categories:| Tag | Meaning | Skills Using This Tag |
|---|---|---|
multi-agent | Spawns/coordinates subagents | ct-orchestrator |
task-management | Creates/manages CLEO tasks | ct-epic-architect, ct-task-executor |
research | Gathers external information | ct-research-agent |
investigation | Analyzes existing systems | ct-research-agent, ct-validator |
bash | Shell scripting focus | ct-library-implementer-bash |
bats | BATS testing framework | ct-test-writer-bats |
git | Version control operations | ct-dev-workflow |
context7 | Uses Context7 MCP | ct-docs-lookup |
style-guide | Enforces writing standards | ct-docs-write, ct-docs-review |
prompts-chat | Integrates with prompts.chat | ct-skill-lookup |
5.2 Tag Usage Patterns
Orthogonal Tags (independent):bash+implementation= Shell library creationbats+validation= Shell script testingcontext7+documentation= Library doc lookup
task-management+planning= Epic decompositiongit+workflow= Release automationstyle-guide+documentation= Docs review
6. Dispatch Matrix Integration
6.1 Dispatch Trigger Categories
Dispatch keywords are grouped by intent, mapping user language to skill categories:| User Intent | Keyword Pattern | Target Category | Primary Skill |
|---|---|---|---|
| Coordinate | orchestrate, delegate, multi-agent | coordination | ct-orchestrator |
| Plan | epic, plan, decompose, architect | planning | ct-epic-architect |
| Discover | research, investigate, explore | discovery | ct-research-agent |
| Define | spec, rfc, protocol, contract | specification | ct-spec-writer |
| Build | implement, build, execute, create | implementation | ct-task-executor |
| Validate | test, validate, verify, audit | validation | ct-test-writer-bats, ct-validator |
| Document | doc, document, readme, guide | documentation | ct-documentor |
| Release | commit, release, version, push | workflow | ct-dev-workflow |
| Extend | skill, create skill, find skill | meta | ct-skill-creator, ct-skill-lookup |
6.2 Enhanced Dispatch Matrix (manifest.json)
Add category-based dispatch:6.3 Dispatch Priority Order
When multiple dispatch methods match:- Explicit category:
--category implementation(highest priority) - Task metadata:
task.type,task.phase,task.labels - Keyword matching:
by_keywordpatterns - Default fallback:
ct-task-executor(generic implementation)
7. Skill Discovery & Selection
7.1 Selection Algorithm
7.2 Multi-Skill Tasks
Some tasks require multiple skills in sequence: Pattern 1: Orchestrated Workflow8. Taxonomy Evolution
8.1 Adding New Categories
When to add a new category:- ✅ Distinct functional purpose not covered by existing categories
- ✅ Multiple skills would use this category
- ✅ Clear dispatch trigger patterns exist
- ❌ One-off skill (use existing category + unique tags)
- ❌ Minor variation of existing category (refine existing)
- Update this spec with new category definition
- Add to
dispatch_matrix.by_categoryin manifest.json - Update dispatch keywords
- Add related tags if needed
8.2 Adding New Skills
Taxonomy assignment checklist:9. Implementation Roadmap
Phase 1: Manifest Enhancement (Immediate)
- Add
categoryfield to each skill in manifest.json - Add
dispatch_matrix.by_categorysection - Update
tierfield (already exists but verify all skills have it)
Phase 2: Dispatch Logic (T2436)
- Implement category-based dispatch in
lib/skill-dispatch.sh - Add
skill_dispatch_by_category()function - Update
skill_auto_dispatch()to use category logic
Phase 3: CLI Integration (T2437)
- Add
cleo skills list --category <name>filter - Add
cleo skills categoriescommand (list all categories) - Add
--categoryflag tocleo orchestrator spawn
Phase 4: Documentation (T2438)
- Update skill creation guide with taxonomy reference
- Add category selection guidelines
- Document dispatch priority order
10. Validation & Testing
10.1 Taxonomy Consistency Checks
Validate manifest.json:10.2 Dispatch Testing
Test category dispatch:11. Migration Plan
11.1 Existing Manifest Updates
Addcategory field to each skill:
11.2 Backwards Compatibility
dispatch_matrix.by_task_typeremains unchanged (existing behavior)dispatch_matrix.by_keywordremains unchanged (existing behavior)- New
by_categorydispatch is additive, not breaking
12. Appendix: Category Deep Dive
12.1 Coordination Category
Purpose: Orchestrate multi-agent workflows while protecting context Skills:ct-orchestrator
Characteristics:
- Delegates ALL work to subagents
- Never reads full files (manifest summaries only)
- Enforces ORC-001 through ORC-008 constraints
- Manages session state and context budget
12.2 Planning Category
Purpose: Strategic decomposition and architecture Skills:ct-epic-architect
Characteristics:
- Creates epic and task hierarchies
- Analyzes dependencies and wave planning
- May spawn discovery subagents
- Links research to tasks
12.3 Discovery Category
Purpose: Information gathering and exploration Skills:ct-research-agent, ct-docs-lookup, ct-skill-lookup
Characteristics:
- Gathers external information
- No direct system modification
- Outputs: research reports, findings
- May use MCP tools (Context7, web search)
12.4 Specification Category
Purpose: Formal requirements and protocol definition Skills:ct-spec-writer
Characteristics:
- RFC 2119 language (MUST, SHOULD, MAY)
- Structured specifications
- Contract-based design
- No implementation
12.5 Implementation Category
Purpose: Code and system creation Skills:ct-task-executor, ct-library-implementer-bash, ct-docs-write, ct-skill-creator
Characteristics:
- Writes code, configs, scripts, or docs
- Terminal execution (no subagent spawning for Tier 2)
- Concrete deliverables
- May invoke Tier 3 specialized skills
12.6 Validation Category
Purpose: Quality and compliance checking Skills:ct-validator, ct-test-writer-bats, ct-docs-review
Characteristics:
- Verifies correctness, compliance, standards
- Outputs: reports, test results, reviews
- No implementation changes (read-only analysis)
- May suggest fixes
12.7 Documentation Category
Purpose: User-facing content creation and maintenance Skills:ct-documentor, ct-docs-lookup, ct-docs-write, ct-docs-review
Characteristics:
- Focus on clarity and user experience
- CLEO writing style guide enforcement
- Anti-duplication (maintain, don’t replicate)
- May coordinate multiple doc skills (Tier 3)
12.8 Workflow Category
Purpose: Process automation and release management Skills:ct-dev-workflow
Characteristics:
- Git operations (commit, tag, push)
- Conventional commits with task traceability
- Release automation (GitHub Actions)
- Version bumping
12.9 Meta Category
Purpose: Skill system self-improvement Skills:ct-skill-creator, ct-skill-lookup
Characteristics:
- Creates or discovers skills
- Extends system capabilities
- Integrates with prompts.chat registry
- Self-referential (improves the skill system itself)
13. References
- T2441: Skills audit findings
- manifest.json: Current dispatch matrix and skill metadata
- cleo-subagent architecture: Universal agent with protocol injection
- Orchestrator protocol: ORC-001 through ORC-008 constraints
14. Acceptance Criteria
- ✅ Taxonomy defines tier hierarchy (0-3)
- ✅ Taxonomy defines 9 functional categories
- ✅ All 15 current skills mapped to categories
- ✅ Tag vocabulary defined with usage patterns
- ✅ Dispatch matrix integration specified
- ✅ Skill discovery algorithm documented
- ✅ Migration plan for manifest.json updates
- ✅ Validation and testing approach defined
- ✅ Implementation roadmap with task references
Status: Ready for review and implementation
