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가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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
- 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.
- 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.
- Describe identity propagation and server-side resource checks. Bind a request to the verified principal; never let a tool argument select an arbitrary tenant.
- 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.
- 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.
- Define adversarial and failure cases: missing/unknown arguments, wrong tenant, denied resources, unavailable tool, oversized response and late completion.
- 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.
인기도
- GitHub 스타
- 48k
- 순위
- #3697
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.