tpmjs-tool-creator

Automate TPMJS tool creation, validation, and npm publishing workflows.

24|6|Updated Nov 25, 2025
One-click install
npx skills add https://github.com/tpmjs/tpmjs --skill tpmjs-tool-creator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tpmjs-tool-creator
Source: https://github.com/tpmjs/tpmjs/tree/main/.claude/skills/tpmjs-tool-creator
Command: npx skills add https://github.com/tpmjs/tpmjs --skill tpmjs-tool-creator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps tool authors quickly scaffold, validate, and publish official TPMJS tools using the blocks CLI, ensuring consistency with the AI SDK v6 pattern and registry sync.

Core Features & Use Cases

  • Define tool blocks in blocks.yml, scaffold the official tool package under packages/tools/official/, and implement a tool following the AI SDK v6 design (tool() + jsonSchema()).
  • Validate tools end-to-end with pnpm blocks run to ensure schema, domain, and compatibility before publishing.
  • Build, publish to npm, and sync tooling to tpmjs.com so new tools appear in the registry for agents and end users.

Quick Start

Create a new tool package under packages/tools/official/<tool-name>, then run the validation workflow with pnpm blocks run <tool-name>.

Frequently Asked Questions about tpmjs-tool-creator

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

FAQPage Schema
How do I scaffold and publish an official TPMJS tool to the npm registry?

Scaffold an official TPMJS tool by creating a package under packages/tools/official/, define it in blocks.yml, and use pnpm blocks run to validate before publishing to npm and syncing to tpmjs.com.

What is the AI SDK v6 pattern for creating TPMJS tools?

The AI SDK v6 pattern for TPMJS tools requires implementing tools using the tool() and jsonSchema() functions to define the tool interface and validate the schema within your package structure.

How do I validate a TPMJS tool before publishing it to the registry?

Validate a TPMJS tool by running pnpm blocks run <tool-name> to execute end-to-end validation, ensuring schema, domain, and compatibility checks pass before you publish to npm.

Do I need pnpm and blocks.yml to build official TPMJS tools?

Yes, building official TPMJS tools requires pnpm for the build and publish steps, and a blocks.yml definition file to configure the tool blocks for registry synchronization.

Why are my TPMJS tools not appearing in the tpmjs.com registry after publishing?

TPMJS tools may not appear in the registry if the workflow does not include the registry sync step after publishing to npm, or if validation via pnpm blocks run failed prior to publication.

Can I use the blocks CLI to ensure AI SDK v6 compatibility for TPMJS tool creation?

Yes, the blocks CLI automates the TPMJS tool creation and validation workflow, ensuring your tool package strictly follows the AI SDK v6 design patterns and passes compatibility checks before publishing.