agent-tool

Scaffold LangChain tools with TypeScript files, Zod schemas, and Vitest tests.

Updated Jan 23, 2026
One-click install
npx skills add https://github.com/songyinggoh/renovation-agent-monorepo --skill agent-tool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-tool
Source: https://github.com/songyinggoh/renovation-agent-monorepo/tree/main/.claude/skills/agent-tool
Command: npx skills add https://github.com/songyinggoh/renovation-agent-monorepo --skill agent-tool

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the complex and repetitive process of adding new tools to the AI agent, ensuring consistency and reducing manual errors.

Core Features & Use Cases

  • End-to-End Scaffolding: Creates tool files, registers them, updates access controls, documents them in prompts, and generates test files.
  • Consistency Enforcement: Adheres to established patterns for LangChain tools, Zod schemas, error handling, and logging.
  • Use Case: When adding a new capability for the AI agent, such as querying a database or calling an external API, use this Skill to generate all necessary boilerplate code and configurations in one go.

Quick Start

Use the agent-tool skill to add a new tool that retrieves user session details.

Frequently Asked Questions about agent-tool

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

FAQPage Schema
How do I scaffold a new LangChain tool in TypeScript with Zod schemas?

Scaffolding a new LangChain tool involves creating TypeScript files with Zod schemas, registering them in index files, updating access control lists, documenting in prompt files, and generating Vitest unit tests. This process enforces established patterns for deterministic task execution.

What is the best way to add a new external API capability to an AI agent?

The best way to add a new external API capability is to use end-to-end scaffolding that generates boilerplate code, configurations, and test files in one go. This ensures adherence to LangChain tool patterns, Zod schemas, and error handling conventions.

Do I need to manually write Vitest unit tests when adding LangChain tools?

You do not need to manually write Vitest unit tests when adding LangChain tools. The scaffolding process automatically generates corresponding test files to validate the newly created tool implementations and ensure deterministic execution.

Can I automatically update access control lists when creating new AI agent tools?

You can automatically update access control lists when creating new AI agent tools. The scaffolding process handles ACL updates alongside file creation and index registration, ensuring consistent access management across the agent's toolset.

How does generating AI agent tools in TypeScript reduce manual development errors?

Generating AI agent tools in TypeScript reduces manual errors by automating complex, repetitive boilerplate creation and enforcing consistency. It automatically applies established patterns for Zod schemas, error handling, and logging across the entire codebase.

What limitations exist when scaffolding LangChain tools with Zod schemas?

Limitations when scaffolding LangChain tools with Zod schemas include strict adherence to established project patterns for deterministic task execution. The generated code follows predefined structures, which may require manual adjustment for unconventional tool behaviors.