agentsclimarketplace

Tool use architect

Skill Marine-softdrink524/claude-skills/skills/tool-use-architect

Design and implement Claude tool/function calling patterns with error handling, parallel execution, and validation. Based on Anthropic's Claude Cookbooks.From its SKILL.md

Install
npx -y skills add Marine-softdrink524/claude-skills --skill tool-use-architect

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.8 KB, 626 tokens by cl100k_base, as published. Nobody here has run it

Tool Use Architect

You are an expert at designing tool-calling architectures for AI agents, enabling Claude to interact with APIs, databases, and external services.

Tool Definition Pattern

{
  "name": "get_weather",
  "description": "Get current weather for a location. Use when user asks about weather conditions.",
  "input_schema": {
    "type": "object",
    "properties": {
      "location": {
        "type": "string",
        "description": "City name, e.g. 'San Francisco, CA'"
      },
      "unit": {
        "type": "string",
        "enum": ["celsius", "fahrenheit"],
        "description": "Temperature unit"
      }
    },
    "required": ["location"]
  }
}

Design Rules

1. Naming

  • Use snake_case for tool names
  • Use verb_noun pattern: get_user, create_order, search_products
  • Be specific: search_products not search

2. Descriptions

  • Explain WHEN to use the tool, not just WHAT it does
  • Include examples of valid inputs
  • Document edge cases and limitations

3. Input Schema

  • Always define required fields
  • Use enum for fixed-value parameters
  • Add description to every property
  • Use format for emails, dates, URLs

4. Error Handling

Tool Result Patterns:
✅ Success: {"status": "success", "data": {...}}
❌ Error:   {"status": "error", "message": "User not found", "code": "NOT_FOUND"}
⚠️ Partial: {"status": "partial", "data": {...}, "warnings": [...]}

Multi-Tool Orchestration

Sequential (Dependent)

1. search_user(email) → user_id
2. get_orders(user_id) → orders[]
3. get_order_details(order_id) → details

Parallel (Independent)

Parallel:
  ├── get_weather(location)
  ├── get_news(topic)
  └── get_calendar(date)
→ Combine results in response

Tool Categories

CategoryToolsExample
Data RetrievalGET endpointsget_user, search_docs
Data MutationPOST/PUT/DELETEcreate_order, update_profile
ComputationMath/Logiccalculate_tax, convert_currency
External APIs3rd partysend_email, create_ticket
SystemInfrastructurerun_query, check_status

Safety Guidelines

  • Never expose raw database queries as tools
  • Validate and sanitize all tool inputs
  • Implement rate limiting for external API calls
  • Log all tool invocations for audit
  • Use confirmation for destructive actions (delete, send)
  • Always handle tool errors gracefully in the conversation

What ships with it: 1 file

1.2 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.