agent-tool-builder
하는 일
이 에이전트는 다른 AI가 세상과 안정적으로 상호작용할 수 있도록 '도구'를 만드는 것을 돕습니다. 오류와 불필요한 비용을 피하도록 이런 도구를 올바르게 설계하는 법을 가르칩니다.
사용하는 경우
- ✓AI가 외부 도구로 정보를 가져오도록 하고 싶을 때.
- ✓AI가 서비스나 데이터와 상호작용하는 방식을 정의할 때.
- ✓AI를 위해 만든 도구가 잘 작동하고 실패하지 않도록 하는 경우.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-tool-builder/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“AI가 도시의 날씨를 알려 주도록 도구를 만들려면 어떻게 하나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI가 사용할 도구를 설명하는 법을 가르칩니다. 도구가 무엇을 하고 어떤 정보가 필요한지 설명하는 데 집중합니다. AI가 읽는 것은 설명이므로, 설명이 코드 자체보다 더 중요합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Agent Tool Builder
Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary.
This skill covers tool design from schema to error handling. JSON Schema best practices, description writing that actually helps the LLM, validation, and the emerging MCP standard that's becoming the lingua franca for AI tools.
Key insight: Tool descriptions are more important than tool implementations. The LLM never sees your code - it only sees the schema and description.
Detailed Guide
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
Python Example
""" import anthropic from anthropic import beta_tool
client = anthropic.Anthropic()
@beta_tool def get_weather(location: str, unit: str = "fahrenheit") -> str: '''Get the current weather in a given location.
Args:
location: The city and state, e.g. San Francisco, CA
unit: Temperature unit, either 'celsius' or 'fahrenheit'
'''
# Implementation
return json.dumps({"temperature": "72°F", "conditions": "Sunny"})
@beta_tool def search_web(query: str) -> str: '''Search the web for information.
Args:
query: The search query
'''
# Implementation
return json.dumps({"results": [...]})
Tool runner handles the loop
runner = client.beta.messages.tool_runner( model="claude-sonnet-4-5", max_tokens=1024, tools=[get_weather, search_web], messages=[ {"role": "user", "content": "What's the weather in Paris?"} ] )
Process each message
for message in runner: print(message.content[0].text)
Or just get final result
final = runner.until_done() """
When to Use
- User mentions or implies: agent tool
- User mentions or implies: function calling
- User mentions or implies: tool schema
- User mentions or implies: tool design
- User mentions or implies: mcp server
- User mentions or implies: mcp tool
- User mentions or implies: tool use
- User mentions or implies: build tool for agent
- User mentions or implies: define function
- User mentions or implies: input_schema
- User mentions or implies: tool_use
- User mentions or implies: tool_result
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
자주 묻는 질문
도구 설명이 코드보다 왜 더 중요한가요?
AI는 코드를 직접 보지 않고, 도구의 설명과 '스키마'(데이터 구조 정의)를 통해 도구를 이해합니다. 좋은 설명은 AI가 올바르게 작동하도록 안내합니다.
'스키마'란 무엇인가요?
도구가 사용하거나 돌려주는 데이터의 구조를 정의하는 지도와 같습니다. 모든 것이 정리되고 AI가 이해할 수 있도록 합니다.
'hallucinate'나 'fail silently'는 무엇을 뜻하나요?
AI가 저지를 수 있는 오류입니다. 'hallucinate'(환각)는 AI가 정보를 지어내는 것이고, 'fail silently'(조용한 실패)는 도구가 기대대로 작동하지 않는데 AI가 문제를 경고하지 않는 것입니다.
상세 정보
작성자의 원본 설명
Tools are how AI agents interact with the world. A well-designed tool is the difference between an agent that works and one that hallucinates, fails silently, or costs 10x more tokens than necessary. This skill covers tool design from schema to error handling.
인기도
- GitHub 스타
- 48k
- 순위
- #3683
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.