본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

intelligent-router

bowen31337 제작

CLI Utilities
1.8kclawskills.sh가 보고한 다운로드 수
1스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Intelligent model routing for sub-agent task delegation.

설명

이 스킬이 하는 일

Classifies tasks into five complexity tiers and assigns the cheapest model capable of handling each one. Sub-agents and cron jobs that skip model selection default to expensive Sonnet, so this skill enforces explicit routing before they are created. Classification uses a 15-dimension scoring system covering reasoning markers, code presence, multi-step patterns, token count, and constraint density.

Without explicit routing, every automated task defaults to Sonnet, and enforcing tier-based assignment at creation time cuts costs 80-95% on routine workloads.

사용 시점

  • Routing server monitoring cron jobs to free local models
  • Preventing sub-agents from defaulting to expensive Sonnet
  • Auditing existing cron payloads for missing or blocked model assignments
  • Auto-discovering which provider models are currently live and responsive
  • Delegating security reviews to Opus while sending heartbeats to cheaper models

예시 워크플로

입력

User asks: route a server health-check cron job to the cheapest available model

에이전트
  1. 1

    Runs router_policy.py recommend "check server health" to classify the task

  2. 2

    Receives SIMPLE tier result with recommended model anthropic-proxy-6/glm-4.7

  3. 3

    Constructs cron payload including the recommended model ID

  4. 4

    Validates payload with router_policy.py check before submitting

  5. 5

    Creates the cron job with the cheap model instead of Sonnet

출력

Cron job created with anthropic-proxy-6/glm-4.7 at $0.50/M instead of claude-sonnet-4-6 at $3/M

요구 사항

  • Anthropic API key (required for COMPLEX and CRITICAL tier models)
  • NVIDIA NIM API key (required for MEDIUM and REASONING tier models)

설치

clawhub install bowen31337/intelligent-router

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크