agent-tool-builder

Generate self-contained agent tool classes with Pydantic models and security defaults.

132|25|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/simbajigege/book2skills --skill agent-tool-builder-simbajigege
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-tool-builder
Source: https://github.com/simbajigege/book2skills/tree/main/skills/agent-tool-builder
Command: npx skills add https://github.com/simbajigege/book2skills --skill agent-tool-builder-simbajigege

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill provides a guided pattern to define agent tools in a single, self-contained class, combining identity, schema, security metadata, and execution logic with fail-closed defaults to ensure safe tool creation.

Core Features & Use Cases

  • Guides you through creating a new agent tool with correct security posture (defaulting to fail-closed).
  • Produces a ready-to-use tool file with a three-layer execution model: validate_semantics, check_permissions, and _call.
  • Works framework-agnostic across hermes-agent, LangChain, or plain Python, making it easy to integrate into existing agent systems.

Quick Start

Upload this skill folder to Claude.ai or your preferred agent platform and follow the guided prompts to generate a new tool.

Frequently Asked Questions about agent-tool-builder

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

FAQPage Schema
How do I create safe agent tools with built-in security validation?

To create safe agent tools with built-in security validation, use a guided workflow that encodes identity, schema, and execution logic into a single self-contained class. This approach applies fail-closed defaults to ensure safe tool creation across frameworks.

What is the three-layer execution model for agent tool validation?

The three-layer execution model for agent tool validation consists of validate_semantics, check_permissions, and _call layers. This structure separates input validation, security checks, and core logic to enforce fail-closed security postures by default.

Does the generated agent tool include a Pydantic input model?

Yes, the generated agent tool includes a Pydantic input model to satisfy structured outputs. It also features layered execution and security property defaults with explicit validations and permissions hooks.

What is the best way to structure self-contained agent tools?

The best way to structure self-contained agent tools is to combine identity, schema, security metadata, and execution logic in one class. This pattern ensures tools have a correct security posture and maintain fail-closed defaults across different agent frameworks.