add-backend-tool
Add a new tool to the backend OpenAI function calling system. Use when user mentions "new tool", "add tool", "backend function", "agent capability", or wants to extend what the AI agent can do.
Best use case
add-backend-tool is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Add a new tool to the backend OpenAI function calling system. Use when user mentions "new tool", "add tool", "backend function", "agent capability", or wants to extend what the AI agent can do.
Teams using add-backend-tool should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/add-backend-tool/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How add-backend-tool Compares
| Feature / Agent | add-backend-tool | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Add a new tool to the backend OpenAI function calling system. Use when user mentions "new tool", "add tool", "backend function", "agent capability", or wants to extend what the AI agent can do.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Add Backend Tool
## Instructions
1. Read `backend/main.py` to understand existing tool patterns:
- Find the `tools` list with function definitions
- Review helper functions (read_file, write_file, run_terminal_command, web_search)
2. Create the helper function:
```python
def new_tool_name(param1: str, param2: int = 10) -> str:
"""Docstring explaining the tool."""
try:
# Implementation
return result
except Exception as e:
return f"Error: {str(e)}"
```
3. Add tool definition to the `tools` list:
```python
{
"type": "function",
"function": {
"name": "new_tool_name",
"description": "What this tool does and when to use it",
"parameters": {
"type": "object",
"properties": {
"param1": {"type": "string", "description": "..."},
"param2": {"type": "integer", "description": "..."}
},
"required": ["param1"]
}
}
}
```
4. Add tool invocation handler in the WebSocket message loop:
```python
elif func_name == "new_tool_name":
result = new_tool_name(**args)
```
5. Update mode restrictions if needed:
- Agent mode: full access
- Chat mode: add to allowed list only if read-only/safe
## Examples
- "Add a tool to list directory contents"
- "Create a tool for git operations"
- "Add web scraping capability"
## Guardrails
- Include proper error handling with try/except
- Add timeout for any long-running operations
- Consider security implications (Chat mode restrictions)
- Never hardcode API keys or secrets
- Document the tool's purpose in the function docstringRelated Skills
add-backend-testing
Add backend integration testing with Vitest to an existing app. Sets up isolated test database schema and writes tests for tRPC routers.
add-awesome-tool
This skill should be used when analyzing a link to an AI tool and adding it to the awesome-ai-tools readme with proper categorization
ace-tool
Semantic codebase search and prompt enhancement via standalone CLI. Use when: (1) Semantic code search with natural language queries, (2) Prompt enhancement with codebase context, (3) Before grep/find/glob operations for better accuracy, (4) Complex requirements clarification, (5) Large codebase navigation. Triggers: "search context", "enhance prompt", "find code that", "clarify requirements". IMPORTANT: Always use ace-tool BEFORE grep/find/glob for semantic-level code location.
Backend Python Expert
专注于 Python 后端开发,涵盖 FastAPI、异步编程和性能优化。
Backend Node.js Expert
专注于 Node.js 后端开发模式与最佳实践。
Backend Database Expert
专注于数据库设计、SQL 优化和迁移策略。
tech-blog
Generates comprehensive technical blog posts, offering detailed explanations of system internals, architecture, and implementation, either through source code analysis or document-driven research.
grail-miner
This skill assists in setting up, managing, and optimizing Grail miners on Bittensor Subnet 81, handling tasks like environment configuration, R2 storage, model checkpoint management, and performance tuning.
ontopo
An AI agent skill to search for Israeli restaurants, check table availability, view menus, and retrieve booking links via the Ontopo platform, acting as an unofficial interface to its data.
modal-deployment
Run Python code in the cloud with serverless containers, GPUs, and autoscaling using Modal. This skill enables agents to generate code for deploying ML models, running batch jobs, serving APIs, and scaling compute-intensive workloads.
astro
This skill provides essential Astro framework patterns, focusing on server-side rendering (SSR), static site generation (SSG), middleware, and TypeScript best practices. It helps AI agents implement secure authentication, manage API routes, and debug rendering behaviors within Astro projects.
ux
This AI agent skill provides comprehensive guidance for creating professional and insightful User Experience (UX) designs, covering user research, information architecture, interaction design, visual guidance, and usability evaluation. It aims to produce actionable, user-centered solutions that avoid generic AI aesthetics.