AGENTS-COLLECTION adk-tool-scaffold
Scaffolds a new custom Tool class for the Agent Development Kit (ADK).
install
source · Clone the upstream repo
git clone https://github.com/mk-knight23/AGENTS-COLLECTION
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/mk-knight23/AGENTS-COLLECTION "$T" && mkdir -p ~/.claude/skills && cp -r "$T/AGENTS/ANTIGRAVITY/SKILLS/ADK-TOOL-SCAFFOLD" ~/.claude/skills/mk-knight23-agents-collection-adk-tool-scaffold && rm -rf "$T"
manifest:
AGENTS/ANTIGRAVITY/SKILLS/ADK-TOOL-SCAFFOLD/SKILL.mdsource content
ADK Tool Scaffold Skill
This skill automates the creation of standard
BaseTool implementations for the Agent Development Kit.
Instructions
-
Identify the Tool Name: Extract the name of the tool the user wants to build (e.g., "StockPrice", "EmailSender").
-
Review the Example: Check
to understand the expected structure of an ADK tool (imports, inheritance, schema).examples/WeatherTool.py -
Run the Scaffolder: Execute the python script to generate the initial file.
python scripts/scaffold_tool.py <ToolName> -
Refine: After generation, you must edit the file to:
- Update the
method with real logic.execute - Define the JSON schema in
.get_schema
- Update the
Example Usage
User: "Create a tool to search Wikipedia." Agent:
- Runs
python scripts/scaffold_tool.py WikipediaSearch - Editing
to add theWikipediaSearchTool.py
logic andrequests
argument schema.query