meta-tool-creator

Generate TypeScript Pi tools with TypeBox schema validation and external script integration.

3|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/oddship/bosun --skill meta-tool-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-tool-creator
Source: https://github.com/oddship/bosun/tree/main/packages/pi-meta-skills/skills/meta-tool-creator
Command: npx skills add https://github.com/oddship/bosun --skill meta-tool-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating new tools that an LLM can call, ensuring robust parameter validation and clear integration paths.

Core Features & Use Cases

  • Tool Generation: Automatically scaffold TypeScript code for new LLM-callable tools.
  • Schema Validation: Integrates TypeBox for defining and validating tool parameters.
  • External Script Integration: Provides examples for invoking Python, shell, and Node.js scripts from within tools.
  • Use Case: You need to add a new tool that checks the status of a specific microservice. This Skill will help you generate the TypeScript code, define the input parameters (like the service name), and set up validation to ensure the LLM calls it correctly.

Quick Start

Use the meta-tool-creator skill to generate a new tool called 'check_service_status' that accepts a 'service_name' string parameter.

Frequently Asked Questions about meta-tool-creator

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

FAQPage Schema
How do I create LLM tools with parameter validation in TypeScript?

To create LLM tools with parameter validation, you can scaffold TypeScript extensions using TypeBox to define schemas and validate inputs. This ensures the LLM passes correctly structured arguments when calling your custom functions.

How do I integrate external scripts into an LLM-callable function?

You can integrate external scripts into an LLM-callable function by generating a TypeScript tool wrapper that invokes Python, shell, or Node.js scripts. This allows your language model to execute diverse external operations and return the results.

What is TypeBox used for when building custom LLM tools?

TypeBox is used for schema validation when building custom LLM tools, allowing you to define and enforce parameter types. This guarantees that inputs provided by the language model match the expected structure before execution.

Can I use this approach to add an LLM tool that checks microservice status?

Yes, you can generate a custom LLM tool to check microservice status by defining a string parameter for the service name. The generated TypeScript code will include schema validation to ensure the LLM calls the function correctly.

Does this tool generation method support API interactions?

Yes, this tool generation method supports API interactions by facilitating the creation of LLM-callable functions. You can define the required API parameters and use TypeBox validation to structure the HTTP requests safely.

What are the limitations of using TypeScript extensions for LLM tool development?

Using TypeScript extensions for LLM tool development requires structuring tools within the Pi environment and relies on TypeBox for validation. You must ensure your external scripts in Python, shell, or Node.js are correctly configured to avoid runtime errors.