본문으로 건너뛰기
Skillpedia
에이전트81k · #1629

intelligence-route

하는 일

이 스킬은 과거에 잘 된 방식을 바탕으로 어떤 도우미와 모델 수준이 작업을 맡을지 고릅니다. 작업 배정을 더 낫게 하고, 그 이유를 이해하고 확인하고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓큰 작업을 시작하려고 하며 적합한 도우미를 고르고 싶을 때.
  • ✓작업에 어떤 모델 수준이 맞고 그 이유가 무엇인지 알고 싶을 때.
  • ✓선택을 확인할 수 있도록 라우팅 이유를 보고 싶을 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-intelligence/skills/intelligence-route/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-intelligence/skills/intelligence-route/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 리팩터링은 어떤 에이전트와 모델이 맡아야 하나요? 이유도 설명해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 라우팅 도구에 추천 에이전트와 모델 수준을 묻고, 비슷한 과거 패턴을 확인해 예측을 받습니다. 그다음 선택된 도우미를 시작하며, 요청하면 선택 이유를 보여 줍니다. 작업이 끝나면 결과를 기록해 이후 선택을 개선합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Intelligence Routing

Pick the optimal agent + model tier for a task using learned patterns + the 3-tier router. Emits a hooks_explain rationale so the choice is auditable.

When to use

Before starting any non-trivial task. Replaces manual agent selection with data-driven decisions.

Steps

  1. Get an agent recommendation — mcp__plugin_ruflo-core_ruflo__hooks_route with the task description. Returns { recommended, confidence, reasoning }.
  2. Get a model tier recommendation — mcp__plugin_ruflo-core_ruflo__hooks_model-route for Haiku/Sonnet/Opus selection.
  3. Search for similar past patterns — mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-search to find prior successes.
  4. Predict outcome — mcp__plugin_ruflo-core_ruflo__neural_predict with the task description for a confidence-scored prediction.
  5. Spawn the recommended agent at the recommended model tier.
  6. (If --why was passed) — call mcp__plugin_ruflo-core_ruflo__hooks_explain to surface the routing rationale to the user.
  7. After task completes — call mcp__plugin_ruflo-core_ruflo__hooks_model-outcome with { task, model, outcome: "success"|"failure"|"escalated" } to train the router.

3-Tier Model Routing

Tier Handler Latency Cost When
1 Deterministic codemod (TS compiler) ~1ms $0 Structural transforms with no LLM: var-to-const, remove-console, add-logging
2 Haiku ~500ms ~$0.0002 Low complexity (<30%), bug fixes, quick patches
3 Sonnet/Opus 2–5s $0.003–$0.015 Complex reasoning, architecture, security, multi-file refactors

When hooks_route returns [CODEMOD_AVAILABLE] for a deterministic intent (var-to-const, remove-console, add-logging), call mcp__plugin_ruflo-core_ruflo__hooks_codemod with the intent + file — it applies the transform via the TypeScript compiler at $0, no LLM. Note: add-types, add-error-handling, async-await require judgement and route to a model (Tier 2/3) per ADR-143; they are NOT $0 codemods. Agent Booster is a fast-apply merge engine for LLM-produced edits, not the Tier-1 path.

Recording outcomes

Closing the routing loop is mandatory:

# Success (task, model and outcome are all required; model is haiku|sonnet|opus)
npx @claude-flow/cli@latest mcp exec -t hooks_model-outcome -p '{"task": "fix the flaky retry test", "model": "haiku", "outcome": "success"}'

# The model was too small and the work moved up a tier: use "escalated"; use "failure" if it did not work out
npx @claude-flow/cli@latest mcp exec -t hooks_model-outcome -p '{"task": "fix the flaky retry test", "model": "haiku", "outcome": "escalated"}'

The router learns from these calls. Skipping them = no learning.

CLI alternative

npx @claude-flow/cli@latest hooks route --task "description"
npx @claude-flow/cli@latest hooks pre-task --description "description"
npx @claude-flow/cli@latest hooks explain --task "description" --verbose
자주 묻는 질문

항상 이유를 보여 주나요?

사용자가 why 옵션으로 요청할 때만 보여 줍니다. 그렇지 않으면 설명 없이 선택이 이루어집니다.

어떻게 점점 나아지나요?

작업마다 결과가 성공, 실패, 상향 전달로 기록되며, 이 기록이 라우터를 학습시킵니다.

어떤 모델 수준 중에서 고르나요?

작업의 복잡도에 따라 Haiku, Sonnet, Opus 수준 중에서 고릅니다.

상세 정보

작성자의 원본 설명

Route tasks via the 3-tier model selector and learned patterns; emits a routing rationale via hooks_explain

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1629
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬