tool-design

Design tool interfaces with structured descriptions and evaluation templates.

Updated Apr 15, 2025
One-click install
npx skills add https://github.com/khrore/nix-config --skill tool-design-khrore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tool-design
Source: https://github.com/khrore/nix-config/tree/main/dotfiles/common/.config/opencode/skills/tool-design
Command: npx skills add https://github.com/khrore/nix-config --skill tool-design-khrore

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Tool design for agent systems tends to be ambiguous and inconsistent, causing misuses and fragile integrations; this Skill standardizes how tools are described to improve clarity and resilience.

Core Features & Use Cases

  • Clear description structure: what the tool does, when to use it, inputs it accepts, returns, and possible errors.
  • Consistent naming conventions and example-driven guidance to reduce ambiguity across tools.
  • Evaluation templates for completeness, accuracy, and recoverability to monitor quality.

Quick Start

Describe a new tool with explicit inputs, outputs, triggers, and error handling to ensure unambiguous agent usage.

Frequently Asked Questions about tool-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design robust tool interfaces for agent systems?

Design robust tool interfaces by enforcing clear description structure: what the tool does, when to use it, inputs it accepts, returns, and possible errors. Standardizing tool descriptions reduces ambiguity and prevents misuses.

What should be included in an agent tool description to prevent integration failures?

An agent tool description must include what the tool does, when to use it, inputs it accepts, returns, and possible errors. Consistent naming conventions and example-driven guidance further reduce ambiguity.

How do I evaluate the completeness and accuracy of agent tools?

Evaluate agent tools using evaluative templates for completeness, accuracy, and recoverability. These templates monitor quality across codebases, documentation, and ontologies to ensure reliable tool pipelines.

Does this approach work for designing MCP tools and error schemas?

Yes, this approach applies to creating, refining, and evaluating MCP tools and error schemas. It standardizes tool descriptions and enforces clear structure across codebases and ontologies.

Why do my AI agents misuse tools or produce fragile integrations?

Agents misuse tools when tool design is ambiguous and inconsistent. Standardizing tool descriptions with clear structure, consistent naming, and example-driven guidance improves clarity and resilience.

What is the best way to structure tool descriptions for agent pipelines?

The best way to structure tool descriptions is by explicitly defining what the tool does, when to use it, inputs, outputs, and error handling. This ensures unambiguous agent usage in tool pipelines.