मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट81k · #1629

intelligence-route

यह क्या करती है

यह स्किल तय करती है कि कौन सा helper और कौन सा मॉडल स्तर किसी काम को संभाले, पिछले अनुभव के आधार पर। जो लोग बेहतर कार्य-आवंटन चाहते हैं जिसे वे समझ और जाँच सकें, उनके लिए यह है।

कब इस्तेमाल करें

  • ✓जब आप कोई बड़ा काम शुरू करने वाले हों और सही helper चुनना चाहें।
  • ✓जब आप जानना चाहें कि कोई काम किस मॉडल स्तर पर फ़िट बैठता है और क्यों।
  • ✓जब आप रूटिंग का कारण दिखवाना चाहें ताकि चुनाव जाँच सकें।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-intelligence/skills/intelligence-route/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस refactor को कौन सा एजेंट और मॉडल संभालेगा, और आप ऐसा क्यों सोचते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल रूटिंग टूल्स से एक सुझाया गया एजेंट और मॉडल स्तर माँगती है, मिलते-जुलते पिछले पैटर्न जाँचती है और अनुमान लेती है। फिर चुना गया helper शुरू करती है, और अगर आप माँगें तो कारण दिखाती है। काम के बाद नतीजा दर्ज होता है ताकि आगे के चुनाव बेहतर हों।

तकनीकी सामग्री (मूल 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 विकल्प से माँगें। वरना चुनाव बिना दिखाए कारण के होता है।

यह समय के साथ कैसे बेहतर होती है?

हर काम के बाद नतीजा सफलता, विफलता या escalated के रूप में दर्ज होता है, जिससे राउटर सीखता है।

कौन से मॉडल स्तरों के बीच यह चुनती है?

यह 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
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

agent-adaptive-coordinator

81k

आपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।

AI और एजेंटएजेंट

agent-agent

81k

आपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।

AI और एजेंटएजेंट

agent-agentic-payments

81k

AI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।

AI और एजेंटएजेंट

agent-analyze-code-quality

81k

आपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills