claude-code-ops-router — скилл для Claude Code: маршрутизация операций
Скилл claude-code-ops-router для Claude Code направляет запрос к профильному скиллу для нужной операции. Он различает диагностику расхода токенов и настройку отложенного уведомления о сбросе квоты.
MIT 135 установок ★ 1 540 обновлён 2026-11-22
npx skills add daymade/claude-code-skills --skill claude-code-ops-router -a claude-codeЧто делает claude-code-ops-router
Скилл выбирает профильный скилл по операции, о которой просит пользователь, и читает его файл SKILL.md целиком перед выполнением. Среди направлений — ремонт плагинов, настройка статусной строки, разбор запросов разрешений и перенос памяти в документы.
Он отделяет эти задачи от похожих запросов: например, изменение конфигурации разрешений направляет в update-config, а настройку поведения хуков — в claude-code-hooks. Для выбора дочернего скилла нужно однозначно определить путь к активному роутеру; если это не удаётся, процесс останавливается. Выбор скилла сам по себе не разрешает внешнюю установку, работу с учётными данными или создание запланированной задачи.
Какие задачи решает
- маршрутизировать запросы по операциям Claude Code
- выбрать скилл для ремонта плагина или статусной строки
- отличить диагностику разрешений от настройки хуков
- направить запросы о расходе токенов и сбросе квоты
Примеры запросов агенту
- Разбери, почему установленный плагин Claude Code не активируется.
- Найди причину задержанных запросов разрешений для субагентов.
- Настрой отдельное уведомление после сброса квоты Claude.
Как установить claude-code-ops-router
1Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill claude-code-ops-router -a claude-code2Вручную: положить файлы
~/.claude/skills/claude-code-ops-router/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/claude-code-ops-router/
1Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill claude-code-ops-router -a codex2Вручную: положить файлы
.agents/skills/claude-code-ops-router/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill claude-code-ops-router -a cursor2Вручную: положить файлы
.cursor/skills/claude-code-ops-router/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install daymade/claude-code-skills daymade-claude-code/claude-code-ops-router/SKILL.md2Вручную: положить файлы
.github/skills/claude-code-ops-router/SKILL.md1Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill claude-code-ops-router -a gemini-cli2Командой платформы
gemini skills install https://github.com/daymade/claude-code-skills --path daymade-claude-code/claude-code-ops-routerВручную: положить файлы
.devin/skills/claude-code-ops-router/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add daymade/claude-code-skills --skill claude-code-ops-router -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о claude-code-ops-router
Как установить claude-code-ops-router в Claude Code?
Выполни npx skills add daymade/claude-code-skills --skill claude-code-ops-router -a claude-code. Путь к файлу скилла: ~/.claude/skills/claude-code-ops-router/SKILL.md.
Что делает claude-code-ops-router?
Он выбирает дочерний скилл по типу операции в запросе и передаёт ему работу после чтения его SKILL.md. Например, диагностику расхода токенов направляет в один скилл, а уведомление о сбросе квоты — в другой.
Как роутер отличает настройку разрешений от их диагностики?
Запросы на изменение allow, ask, deny или defaultMode он направляет в update-config. Разбор пропущенных или задержанных запросов разрешений относится к claude-code-permission-triage.
Исходный текст
SKILL.md · MIT
---
name: claude-code-ops-router
description: >-
plugin/Skill repair,marketplace,permission-triage,statusline,model sync,1M/[1m],
usage/quota ping,memory→docs,.txt repair,MCP startup context. Routes to one
bundled Claude Code specialist, including auto-memory off. History, hooks,
and Lark keep their own entries.
---
# Claude Code operations router
Choose the one specialist that owns the requested operation. Locate **this
loaded** `claude-code-ops-router/SKILL.md` in the active catalog or invocation,
follow symlinks to its canonical path, and verify its parent is
`claude-code-ops-router`. Its parent's parent is the suite root. Resolve the
selected relative path against that directory and verify it is a direct
sibling `SKILL.md` inside the root. Never anchor resolution to the task's
working directory or a remembered plugin cache. `${CLAUDE_PLUGIN_ROOT}` may
help in Claude Code, but it is absent in Codex. Stop if the active router path
cannot be identified unambiguously.
Read the selected child `SKILL.md` **in full** before acting. Continue a
truncated read and load its task-required references. Its instructions,
scripts, and assets remain installed; only its automatic catalog entry is
hidden. Claude users retain the original manual commands named by each child's
frontmatter. The export-repair directory `claude-export-txt-better` exposes
`/daymade-claude-code:fixing-claude-export-conversations`.
| Requested operation | Read this exact file |
|---|---|
| Repair a Claude Code plugin or Skill that is installed but missing, disabled, or failing to activate | `../claude-skills-troubleshooting/SKILL.md` |
| Install, change, or repair the Claude Code statusline | `../statusline-generator/SKILL.md` |
| Repair line wrapping, tables, paths, or tool output in an exported Claude Code `.txt` conversation | `../claude-export-txt-better/SKILL.md` |
| Create or maintain a Claude Code plugin marketplace, suite membership, or marketplace manifest | `../marketplace-dev/SKILL.md` |
| Diagnose unexpected, missing, delayed, parked, or misdelivered Claude Code permission prompts/cards for subagents, background workers, or Agent Team teammates | `../claude-code-permission-triage/SKILL.md` |
| Analyze Claude Code/Desktop Code token use, cost, cache, quota burn, or 5-hour blocks | `../claude-usage-analyst/SKILL.md` |
| Configure isolated Claude Code model-provider profiles, aliases, source-backed Claude/Codex Skill activation, or context-window size; reduce preloaded MCP schema context after active-profile and provider checks, or safely suppress selected MCP servers; repair early compaction, `[1m]` display, or `CLAUDE_CODE_MAX_CONTEXT_TOKENS` | `../claude-switch-models-setup/SKILL.md` |
| Migrate existing Claude personal memory into tool-agnostic AGENTS.md reference documents, or retire a project's auto memory so documents own everything it held | `../claude-migrate-memory-to-doc/SKILL.md` |
| Set a one-shot local ping after a Claude subscription quota reset to start the next usage window | `../claude-code-ping-start-5h-quota/SKILL.md` |
Route by the requested operation, not by the word “Claude.” For example,
usage diagnosis selects `claude-usage-analyst`; a requested future reset ping
selects `claude-code-ping-start-5h-quota`. A Skill count, discovery-policy
audit, or cold-catalog change belongs to `skill-governance` when installed;
plugin activation repair is the narrower troubleshooting row here. Requests
to change `allow`, `ask`, `deny`, or `defaultMode` belong to `update-config`.
Authoring or changing PermissionRequest/PreToolUse hook behavior belongs to
`claude-code-hooks`; using expected hook events as evidence for a missing,
parked, or misdelivered permission request remains permission triage. MCP
OAuth is not permission triage.
This router does not replace the direct entries for conversation-history
reading and continuation, prior-work retrieval, hooks, CLAUDE.md editing,
Lark, Claude.ai web-conversation export, terminal color screenshots, relayed
web-search repair, or technology selection. Do not use it to handle those
requests merely because Claude Code is mentioned. Selecting a child does not
authorize an external installation, credential operation, or scheduled job;
follow the selected child's instructions and the user's authorization.
© daymade · MIT · daymade/claude-code-skills