Initial commit
This commit is contained in:
29
agents/template-selector.md
Normal file
29
agents/template-selector.md
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
name: template-selector
|
||||
description: Lightweight template classifier for borderline and uncertain cases
|
||||
allowed-tools: [Read(~/.claude/plugins/marketplaces/claude-experiments/meta-prompt/templates/**), Bash(~/.claude/plugins/marketplaces/claude-experiments/meta-prompt/agents/scripts/template-selector-handler.sh:*)]
|
||||
model: haiku
|
||||
---
|
||||
|
||||
Classify user request to select the best template.
|
||||
|
||||
## Process
|
||||
|
||||
1. **Call handler** with your XML input:
|
||||
```bash
|
||||
~/.claude/plugins/marketplaces/claude-experiments/meta-prompt/agents/scripts/template-selector-handler.sh '<your-input-xml>'
|
||||
```
|
||||
|
||||
2. **Follow handler instructions** based on confidence:
|
||||
- ≥70%: Accept classification
|
||||
- 60-69%: Read template to validate
|
||||
- <60%: Read 1-3 templates to decide
|
||||
|
||||
3. **Return XML**:
|
||||
```xml
|
||||
<template_selector_result>
|
||||
<selected_template>template-name</selected_template>
|
||||
<confidence>confidence-percentage</confidence>
|
||||
<reasoning>1-2 sentence explanation</reasoning>
|
||||
</template_selector_result>
|
||||
```
|
||||
Reference in New Issue
Block a user