Scaffolds a new custom Tool class for the ai-parrot Tool platform.
Scanned 9/1/2026
Install to Claude Code
npx -y skills add phenobarbital/ai-parrot --skill parrot-scaffold-tool --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Parrot Scaffold Tool?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/phenobarbital-parrot-scaffold-tool)More formats (shields.io, HTML) on the badges page.
---
name: parrot-tool-scaffold
description: Scaffolds a new custom Tool class for the ai-parrot Tool platform.
---
# ai-parrot Tool Scaffold Skill
This skill automates the creation of standard `AbstractTool` implementations for the ai-parrot framework.
## Guidelines
- **Inheritance**: Tools MUST inherit from `AbstractTool` (`parrot.tools.abstract`).
- **Imports**: Use relative imports for dependencies within `parrot/tools/` (e.g., `from .abstract import AbstractTool`).
- **Execution**: Implement the `async def _execute(self, ...)` method.
- **Return Value**: The `_execute` method MUST return a `ToolResult` object.
- **Schema**: Arguments are defined using Pydantic models (`ArgsSchema`).
- **Metadata**: Tool name and description are defined as class attributes.
## Instructions
1. **Identify the Tool Name**:
Extract the name of the tool the user wants to build (e.g., "StockPrice", "EmailSender").
2. **Run the Scaffolder**:
Execute the python script to generate the initial file in `parrot/tools/`.
```bash
python scripts/scaffold_tool.py <ToolName>
```
3. **Refine the Implementation**:
After generation, edit the file in `parrot/tools/<tool_name>.py`:
- **Update `args_schema`**: Define the Pydantic model for arguments.
- **Implement `_execute`**: Add the actual logic. Ensure it handles exceptions and returns `ToolResult`.
- **Add Docstrings**: comprehensive docstrings for the class and methods.
## Example Usage
User: "Create a tool to search Wikipedia."
Agent:
1. Runs `python scripts/scaffold_tool.py WikipediaSearch`
2. Edits `parrot/tools/wikipedia_search.py` to implement the logic.
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!