add-backend-tool

Add a typed Python helper tool to the agent's backend function registry.

Updated Dec 28, 2025
One-click install
npx skills add https://github.com/AppleLamps/web-term --skill add-backend-tool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-backend-tool
Source: https://github.com/AppleLamps/web-term/tree/main/.claude/skills/add-backend-tool
Command: npx skills add https://github.com/AppleLamps/web-term --skill add-backend-tool

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables adding a new helper tool to the agent's backend function registry. It helps you extend the AI's capabilities on demand by introducing a custom function that the agent can call.

Core Features & Use Cases

  • Discover existing tool patterns in backend/main.py to maintain consistency.
  • Create a small, typed Python function (with a docstring) that implements the tool.
  • Add the tool definition to the tools list in the backend so the agent can expose it as a function.
  • Wire the tool invocation into the WebSocket message loop so the agent can call it.

Quick Start

Define a new_tool_name(param1: str, param2: int = 10) function in backend/main.py, add a tool entry to the tools list, and implement a handler in the WebSocket loop as shown in the guide.