triage · takagoto — скилл для Claude Code: маршрутизация по задачам
Скилл выясняет, что вы изучаете или строите в RAG-проекте, и направляет к подходящей команде или агенту. Пригодится, когда непонятно, с чего начать или как исправить проблему.
npx skills add TakaGoto/rag-learning-academy --skill triage -a claude-codeЧто делает triage
Сначала скилл уточняет, на каком этапе вы находитесь: начинаете изучать RAG, разбираетесь в теме, разрабатываете систему, ищете ошибку или хотите оценить готовую работу. Затем задаёт вопрос по выбранному пути и предлагает подходящую слэш-команду. Например, нерелевантная выдача ведёт к /debug-rag, а медленная работа — к /benchmark.
Для обучения он подбирает команды для урока, объяснения концепции, проверки знаний или просмотра прогресса. Для разработки предлагает начать со сборки компонента, спроектировать архитектуру или сравнить подходы. Если ни один вариант не подходит, скилл просит описать ситуацию своими словами и может направить к конкретному агенту.
Перед передачей он объясняет, почему выбрал этот вариант, и спрашивает, готовы ли вы продолжить. Для запуска предложенной команды нужно подтвердить выбор; сам скилл не выполняет диагностику вместо профильной команды.
Какие задачи решает
- выбрать команду для изучения RAG
- найти подходящий путь для разработки RAG-системы
- направить диагностику проблем с поиском или генерацией
- решить, как оценить качество и производительность пайплайна
Примеры запросов агенту
- Я изучаю RAG и хочу понять, с чего начать.
- Я собираю RAG-систему, но не знаю, какую команду запустить для проектирования.
- В RAG-проекте нерелевантные документы; подскажи следующий шаг.
Как установить triage
1Через Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill triage -a claude-code2Вручную: положить файлы
~/.claude/skills/triage/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/triage/
1Через Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill triage -a codex2Вручную: положить файлы
.agents/skills/triage/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill triage -a cursor2Вручную: положить файлы
.cursor/skills/triage/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install TakaGoto/rag-learning-academy triage2Вручную: положить файлы
.github/skills/triage/SKILL.md1Через Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill triage -a gemini-cli2Командой платформы
gemini skills install https://github.com/TakaGoto/rag-learning-academy --path .claude/skills/triageВручную: положить файлы
.devin/skills/triage/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add TakaGoto/rag-learning-academy --skill triage -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о triage
Как установить triage в Claude Code?
Выполните npx skills add TakaGoto/rag-learning-academy --skill triage -a claude-code. Файл скилла находится по пути ~/.claude/skills/triage/SKILL.md.
Что делает скилл triage?
Он выясняет вашу задачу и рекомендует подходящую слэш-команду или агента. Перед передачей объясняет выбор и спрашивает, хотите ли вы продолжить.
С какими платформами работает triage?
Скилл поддерживает Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Команды для установки зависят от платформы.
Исходный текст
SKILL.md · MIT
---
name: triage
description: "Not sure where to start or what's wrong? Get routed to the right agent or skill."
---
# Triage: Find the Right Help
> **When to use this:** You're stuck, confused, or not sure which `/command` to run next. Triage asks a few quick questions and points you in the right direction.
## Step 1: Understand the Learner's Situation
Ask one question to categorize their need:
**"What best describes where you are right now?"**
1. **"I'm brand new to RAG"** → Suggest `/start` to begin their learning journey
2. **"I'm learning and want to study a topic"** → Go to Step 2 (Learning Path)
3. **"I'm building something and need help"** → Go to Step 3 (Building Path)
4. **"Something is broken / not working well"** → Go to Step 4 (Debugging Path)
5. **"I want to review or improve what I have"** → Go to Step 5 (Review Path)
## Step 2: Learning Path
Ask: **"What would you like to do?"**
| Goal | Recommended |
|------|-------------|
| Learn a concept step by step | `/lesson` |
| Get a quick definition | `/glossary [term]` |
| Understand something deeply | `/explain [concept]` |
| Test what I know | `/quiz [topic]` |
| See my progress | `/roadmap` |
| Read a research paper | `/paper-review` |
| Compare two approaches | `/compare` |
## Step 3: Building Path
Ask: **"What stage are you at?"**
| Stage | Recommended |
|-------|-------------|
| I haven't started building yet | `/build` — guided component construction |
| I need to design my system first | `/architecture` — design your RAG architecture |
| I want a real-world challenge | `/challenge` — open-ended project |
| I need help choosing between approaches | `/compare` — side-by-side comparison |
## Step 4: Debugging Path
Ask: **"What's the symptom?"**
| Symptom | Recommended |
|---------|-------------|
| Retrieved documents aren't relevant | `/debug-rag` → retrieval diagnosis |
| The LLM makes things up / hallucinates | `/debug-rag` → generation diagnosis |
| Results are slow or expensive | `/benchmark` → performance profiling |
| I'm not sure what's wrong, quality just feels off | `/evaluate` → measure with metrics first |
| I'm getting errors in my code | `/code-review` → get expert feedback |
## Step 5: Review Path
Ask: **"What would you like to review?"**
| Goal | Recommended |
|------|-------------|
| Get feedback on my code | `/code-review` |
| Measure my pipeline's quality | `/evaluate` |
| Check performance / speed / cost | `/benchmark` |
| See what to learn next | `/roadmap` |
## Step 6: Route and Hand Off
Once you've identified the right skill:
1. Briefly explain WHY you're suggesting that skill ("Based on what you described, `/debug-rag` is the best fit because it has a structured diagnostic process for retrieval issues.")
2. Ask if they'd like to proceed or if they had something else in mind.
3. If they confirm, tell them to run the suggested `/command`.
If none of the options fit, ask the learner to describe their situation in their own words and use your judgment to route them — you can also suggest they talk directly to a specific agent (e.g., "You might want to ask the chunking-strategist about that").
Suggest 2-3 relevant next steps:
- `/start` — if they haven't begun their learning journey yet
- `/roadmap` — to see their overall progress and recommended path
- The specific skill identified through triage
© TakaGoto · MIT · TakaGoto/rag-learning-academy
Похожие скиллы
Все скиллы по теме «ИИ и ML» →Сначала — triage от других авторов.