create-tool

Guide creation of custom JavaScript tools with parameters and APIs.

24|2|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/GNHua/oneclaw --skill create-tool-gnhua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-tool
Source: https://github.com/GNHua/oneclaw/tree/main/app/src/main/assets/skills/create-tool
Command: npx skills add https://github.com/GNHua/oneclaw --skill create-tool-gnhua

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating new custom JavaScript tools for the AI agent, enabling users to extend its functionality without manual coding.

Core Features & Use Cases

  • Guided Tool Creation: Walks users through defining tool requirements, parameters, and JavaScript implementation.
  • API Integration: Leverages built-in APIs for HTTP requests, file system access, and time utilities.
  • Use Case: A user wants to create a tool to fetch real-time stock prices. They describe the need, and the Skill guides them through defining parameters (like stock symbol) and writing the JavaScript code to interact with a financial API.

Quick Start

Use the create-tool skill to make a new tool that fetches the current weather for a given city.

Frequently Asked Questions about create-tool

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

FAQPage Schema
How do I create custom JavaScript tools for an AI agent?

To create custom JavaScript tools for an AI agent, you can use a guided skill to define the tool's name, description, parameters, and JavaScript code without extensive manual coding. It streamlines the entire tool creation process.

What APIs can I integrate into custom JavaScript tools?

You can integrate built-in APIs for HTTP requests, file system access, and time operations when creating custom JavaScript tools. The skill facilitates API integration by guiding you through leveraging these provided utilities in your code.

Does the custom JavaScript tool creation process support asynchronous execution?

Yes, the custom JavaScript tool creation process supports both synchronous and asynchronous execution patterns. This allows you to handle API integration and time operations effectively within your tool's JavaScript code.

How do I add real-time data fetching to an AI agent?

To add real-time data fetching, you create a custom JavaScript tool by defining parameters like a stock symbol or city, then write JavaScript code to interact with external HTTP APIs. The guided skill helps you structure this implementation.

What is the best way to define tool parameters for an AI extension?

The best way to define tool parameters for an AI extension is through a guided tool creation process that walks you through specifying requirements and descriptions. This ensures the custom JavaScript tool accepts the correct input for API integration.