Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:29:39 +08:00
commit d0feb2b434
18 changed files with 2296 additions and 0 deletions

View 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>
```