ADK TOOL SCAFFOLD

From mk-knight23/AGENTS-COLLECTION · View interactive version

ADK TOOL SCAFFOLD is an AI agent skill from the GitHub repository mk-knight23/AGENTS-COLLECTION. Scaffolds a new custom Tool class for the Agent Development Kit (ADK).

How to use this skill

Skill file

ADK Tool Scaffold Skill

This skill automates the creation of standard BaseTool implementations for the Agent Development Kit.

Instructions

  1. Identify the Tool Name:

Extract the name of the tool the user wants to build (e.g., "StockPrice", "EmailSender").

  1. Review the Example:

Check examples/WeatherTool.py to understand the expected structure of an ADK tool (imports, inheritance, schema).

  1. Run the Scaffolder:

Execute the python script to generate the initial file.

```bash

python scripts/scaffold_tool.py <ToolName>

```

  1. Refine:

After generation, you must edit the file to:

Example Usage

User: "Create a tool to search Wikipedia."

Agent:

  1. Runs python scripts/scaffold_tool.py WikipediaSearch
  2. Editing WikipediaSearchTool.py to add the requests logic and query argument schema.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.