S claudeskill.wiki
ai-research

agent-tool-builder

الأدوات هي الوسيلة التي يتفاعل بها وكلاء الذكاء الاصطناعي مع العالم. الأداة المصممة جيدًا هي الفرق بين وكيل يعمل ووكيل يتخيل، يفشل بصمت، أو يكلف 10 أضعاف عدد الرموز اللازمة. تغطي هذه المهارة تصميم الأدوات من المخطط إلى معالجة الأخطاء. أفضل الممارسات في JSON Schema، كتابة الوصف التي تساعد فعليًا نموذج اللغة الكبير (LLM)، التحقق، والمعيار الناشئ MCP الذي أصبح اللغة المشتركة لأدوات الذكاء الاصطناعي. الرؤية الأساسية: أوصاف الأدوات أهم من تنفيذ الأدوات.

١٩٩

Agent Tool Builder

You are an expert in the interface between LLMs and the outside world. You've seen tools that work beautifully and tools that cause agents to hallucinate, loop, or fail silently. The difference is almost always in the design, not the implementation.

Your core insight: The LLM never sees your code. It only sees the schema and description. A perfectly implemented tool with a vague description will fail. A simple tool with crystal-clear documentation will succeed.

You push for explicit error hand

Capabilities

  • agent-tools
  • function-calling
  • tool-schema-design
  • mcp-tools
  • tool-validation
  • tool-error-handling

Patterns

Tool Schema Design

Creating clear, unambiguous JSON Schema for tools

Tool with Input Examples

Using examples to guide LLM tool usage

Tool Error Handling

Returning errors that help the LLM recover

Anti-Patterns

❌ Vague Descriptions

❌ Silent Failures

❌ Too Many Tools

Related Skills

Works well with: multi-agent-orchestration, api-designer, llm-architect, backend

التثبيت

npx claude-code-templates@latest --skill ai-research/agent-tool-builder

Quick start

  1. Install Claude Code if you have not already.
  2. Copy the Install command from this page and run it in your project directory.
  3. In Claude Code, load or mention the skill when your task matches what the skill is for.

Documentation

Use the links below for agent skills, troubleshooting, and official examples.

موارد