What problem does it solve?
The add-tool skill eliminates the repetitive, error-prone work of creating a new Frood built-in tool by hand, ensuring the implementation, registration, and tests follow the project’s expected patterns.
Core Features & Use Cases
- Interactive tool scaffolding: Collects tool name, description, parameter schema, and required ToolContext injections from you before generating code.
- ABC-compliant Tool implementation: Produces a new tools/<tool_name>.py that follows the Tool interface with async execute() and ToolResult success/error handling.
- Automatic registration + test creation: Guides you to add the tool to frood.py and generates a matching tests/test_<tool_name>.py to validate metadata and execution behavior.
Use Case: You need a new tool (e.g., my_tool) that calls an external API or performs a workspace operation; use this skill to generate the full built-in tool skeleton and a baseline test file in one go.
Quick Start
Ask for the add-tool skill and tell it the new tool name, one-line description, parameter list, and any ToolContext inputs it needs.