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

ai-agent-tool-routing

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

यह tool यह व्यवस्थित करने और दस्तावेज़ बनाने में मदद करता है कि AI agent दूसरे tools का इस्तेमाल कैसे कर सकता है। यह तय करता है कि agent कौन-से tools call कर सकता है, वे कैसे काम करते हैं, और किन security और performance limits का पालन करना चाहिए।

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

  • ✓जब आप योजना बना रहे हों कि AI agent कौन-से tools इस्तेमाल कर पाएगा।
  • ✓जब agent को कोई tool देने से पहले उसकी security और limits की समीक्षा करनी हो।
  • ✓जब यह दस्तावेज़ बनाना हो कि agent tools इस्तेमाल करते समय errors या failures को कैसे संभालता है।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ai-agent-tool-routing/SKILL.md

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

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

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

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

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

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

“'read_document' tool का दस्तावेज़ बनाओ ताकि वह सिर्फ एक document ID स्वीकार करे और उसका timeout 5 सेकंड हो।”

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

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

आप agent के इस्तेमाल कर सकने वाले हर tool का विवरण लिखते हैं, जिसमें उसकी तकनीकी जानकारी शामिल है, जैसे उसे कौन-सा डेटा चाहिए, उसका इस्तेमाल कौन कर सकता है, और उसकी समय और security limits क्या हैं। इससे एक रिकॉर्ड बनता है, जो यह सुनिश्चित करता है कि agent tools का सही इस्तेमाल करे।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

AI Agent Tool Routing Register

When to Use

  • Define which tools an agent may call, their parameter schemas and runtime limits.
  • Review a proposed tool registration before connecting it to an agent runtime.
  • Document timeout, retry and authorization contracts for an existing router.

Scope and prerequisites

This skill produces a register and a verification plan. A register does not implement a router or establish that a tool is safe. Read the actual server/tool schema and the application's identity and permission model. Record observed configuration separately from proposed policy. Do not invoke registered tools, read credentials or enable a production registration merely to fill the table.

Workflow

  1. Identify a task, the calling principal/tenant, the intended tool and its read or write effect. Tool names, model output and descriptions are not authorization.
  2. Read the advertised schema and implementation boundaries. Define required fields, additional-field rejection, length/range limits and schema version. Prefer rejection to guessed or lossy coercion. Schema validation does not enforce row-level authorization, path containment or network restrictions.
  3. Describe identity propagation and server-side resource checks. Bind a request to the verified principal; never let a tool argument select an arbitrary tenant.
  4. Set measured/project-approved timeout, rate, concurrency, response-size and cost limits. Cancellation must propagate to downstream work where supported; returning a timeout alone does not prove a write did not finish.
  5. Classify retries by effect. Retry only classified transient failures within a bounded budget. A write requires a verified server-side deduplication contract and reconciliation for ambiguous completion; a random key alone is insufficient.
  6. Define adversarial and failure cases: missing/unknown arguments, wrong tenant, denied resources, unavailable tool, oversized response and late completion.
  7. Record actual test evidence and unresolved gaps. Keep status Draft until the required checks ran against the exact runtime and schema revision. A register label never grants execution permission.

Field reference

Field Type Example / interpretation
tool_id string, primary key TOOL-001; use TEXT/VARCHAR, not a SERIAL integer
canonical_name string read_document; match the advertised tool exactly
server string project-docs local MCP; identify the actual installation
invocation_mode enum synchronous / asynchronous / scheduled
effect enum read / write; unknown effects stay unresolved
parameter_schema object or immutable reference required document_id, unknown fields rejected
authorization_policy immutable reference verified caller plus document ownership check
runtime_limits object illustrative timeout 5000 ms, response 65536 bytes
retry_contract object maximum attempts, transient classes, deduplication evidence
status enum draft / tested / deprecated / blocked
evidence array of references exact implementation revision, case IDs and observed results

For SQL or Notion exports, retain these distinctions: textual IDs stay strings; objects/arrays need a deliberate JSON representation or related tables; dates must use actual date values. Do not treat a checklist boolean as a proved control. Escape spreadsheet formula-like text as text when exporting user-supplied fields.

Worked example

An agent needs a document summary. The proposed tool accepts only a document ID; the server obtains the caller from verified session context, not from arguments.

{
  "tool_id": "TOOL-001",
  "canonical_name": "read_document",
  "server": "project-docs",
  "effect": "read",
  "parameter_schema": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {"document_id": {"type": "string", "minLength": 1, "maxLength": 80}},
    "required": ["document_id"],
    "additionalProperties": false
  },
  "runtime_limits": {"timeout_ms": 5000, "max_response_bytes": 65536},
  "retry_contract": {"max_attempts": 2, "retry_on": ["transient_unavailable"]},
  "status": "draft",
  "evidence": []
}

These limits are illustrative requirements, not measured service capabilities. The local schema can reject an added tenant_id, but an existing document ID still

…

अक्सर पूछे जाने वाले सवाल

'parameter schema' क्या होता है?

यह एक फॉर्म की तरह है जो बताता है कि tool किस तरह का डेटा लेने की उम्मीद करता है, जैसे कौन-से fields ज़रूरी हैं और किस तरह की जानकारी स्वीकार की जा सकती है।

'runtime limits' का क्या मतलब है?

ये वे नियम हैं जो तय करते हैं कि कोई tool जवाब देने में कितना समय ले सकता है (timeout) या एक तय समय में उसे कितनी बार call किया जा सकता है (rate limit)।

इस संदर्भ में 'evidence' क्या है?

यह टेस्ट के नतीजे होते हैं जो साबित करते हैं कि tool अपेक्षित तरीके से काम करता है और limits व security नियम सही तरह से लागू किए गए हैं।

जानकारी

लेखक का मूल विवरण

Use when designing or reviewing an AI agent tool registry or MCP router: document parameter schemas, caller authorization, execution limits, replay-safe retries and verification evidence.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#3697
लाइसेंस
MIT
अपडेट की गई
15/10/2026

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

0

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

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

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

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

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

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

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