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

ai-agent-tool-routing

하는 일

이 도구는 AI 에이전트가 다른 도구를 어떻게 호출할 수 있는지 정리하고 문서화하도록 돕습니다. 에이전트가 호출할 수 있는 도구, 그 작동 방식, 따라야 할 보안 및 성능 한계를 정의합니다.

사용하는 경우

  • ✓AI 에이전트가 쓸 수 있는 도구를 계획할 때.
  • ✓에이전트에게 도구를 공개하기 전에 도구의 보안과 한계를 검토할 때.
  • ✓에이전트가 도구를 쓸 때 오류나 실패를 처리하는 방식을 문서화하는 경우.

스킬 링크

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에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

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

AI에게 요청하는 예시

“'read_document' 도구가 문서 ID만 받고 5초 시간 제한을 갖도록 문서화해 주세요.”

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

작동 방식

에이전트가 쓸 수 있는 각 도구를 설명합니다. 여기에는 받는 데이터, 누가 사용할 수 있는지, 시간과 보안 한계 같은 기술 세부 사항이 포함됩니다. 이렇게 하면 에이전트가 도구를 올바르게 쓰도록 하는 기록이 만들어집니다.

기술 내용 (원본 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

…

자주 묻는 질문

'매개변수 스키마'란 무엇인가요?

도구가 받을 것으로 예상하는 데이터를 설명하는 양식과 같습니다. 어떤 필드가 필수인지, 어떤 종류의 정보가 허용되는지 나타냅니다.

'런타임 한계'는 무엇을 뜻하나요?

도구가 응답하는 데 걸리는 시간(시간 제한)이나 일정 기간 동안 호출할 수 있는 횟수(속도 제한)를 정의하는 규칙입니다.

이 맥락에서 '증거'란 무엇인가요?

도구가 기대대로 작동하고, 한계와 보안 규칙이 올바르게 적용되었음을 증명하는 테스트 결과입니다.

상세 정보

작성자의 원본 설명

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
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬