devtu-create-tool
Create new scientific tools for ToolUniverse framework with proper structure, validation, and testing.
Skill by Zaoqu-Liu
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/zaoqu-liu-devtu-create-tool
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, testing, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/devtu-create-tool
What's inside
- Skill name
devtu-create-tool- Description
- Create new scientific tools for ToolUniverse framework with proper structure, validation, and testing. Use when users need to add tools to ToolUniverse, implement new API integrations, create tool wrappers for scientific databases/services, expand ToolUniverse capabilities, or follow ToolUniverse contribution guidelines. Supports creating tool classes, JSON configurations, validation, error handling, and test examples.
- License
- MIT
- Instructions
- 946 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- body: 946 lines (spec recommends under 500)
- files: referenced but missing: examples/my_api_examples.py, references/implementation-guide.md, scripts/test_new_tools.py
Files (1)
- SKILL.md
SKILL.md (first lines)
# ToolUniverse Tool Creator
Create new scientific tools for the ToolUniverse framework following established best practices.
---
## Table of Contents
1. [Critical Knowledge](#critical-knowledge)
2. [Core Concepts](#core-concepts)
3. [Implementation Guide](#implementation-guide)
4. [Testing Strategy](#testing-strategy)
5. [Common Patterns](#common-patterns)
6. [Troubleshooting](#troubleshooting)
7. [Reference](#reference)
---
## Critical Knowledge
### Top 7 Mistakes (90% of Failures)
1. **Missing `default_config.py` Entry** - Tools silently won't load
2. **Non-nullable Mutually Exclusive Parameters** - Validation errors (NEW #1 issue in 2026)
3. **Fake test_examples** - Tests fail, agents get bad examples
4. **Single-level Testing** - Misses registration bugs
5. **Skipping `test_new_tools.py`** - Misses schema/API issues
6. **Tool Names > 55 chars** - Breaks MCP compatibility
7. **Raising Exceptions** - Should return error dicts instead
**Most Common (2026)**: Mistake #2 affects 60% of new tools. Always make mutually exclusive parameters nullable: `{"type": ["string", "null"]}`
### Tool Creator vs SDK User
| SDK User (Using) | Tool Creator (Building) |
|------------------|-------------------------|
| `tu.tools.ToolName()` | `@register_tool()` + JSON |
| Handle responses | Design schemas |
| One-level usage | Three-step registration |
---
## Core Concepts
### Two-Stage Architecture
```
Stage 1: Tool Class Stage 2: Wrappers (Auto-Generated)
Python Implementation From JSON Configs
↓ ↓
@register_tool("MyTool") MyAPI_list_items()
class MyTool(BaseTool): MyAPI_search()
def run(arguments): MyAPI_get_details()
```
**Key Points**:
- One class handles multiple operations
- JSON defines individual tool wrappers
- Users call wrappers, which route to class
- Need BOTH for tools to work
### Three-Step Registration
**Step 1: Class Registration**
```python
@register_tool("MyAPITool") # Decorator registers class
class MyAPITool(BaseTool):
pass
```
**Step 2: Config Registration** ⚠️ MOST COMMONLY MISSED
```python
# In src/tooluniverse/default_config.py
TOOLS_CONFIGS = {
"my_category": os.path.join(current_dir, "data", "my_category_tools.json"),
}
```
**Step 3: Wrapper Generation** (Automatic)
```bash
tu = ToolUniverse()
tu.load_tools() # Auto-generates wrappers in tools/
```
**Verification Script**:
```python
import sys
sys.path.insert(0, 'src')
# Step 1: Check class registered
from tooluniverse.tool_registry import get_tool_registry
import tooluniverse.your_tool_module
registry = get_tool_registry()
assert "YourToolClass" in registry, "❌ Step 1 FAILED"
print("✅ Step 1: Class registered")
# Step 2: Check config registered
from tooluniverse.default_config import TOOLS_CONFIGS
assert "your_category" in TOOLS_CONFIGS, "❌ Step 2 FAILED"
print("✅ Step 2: Config registered")
# Step 3: Check wrappers generated
from tooluniverse import ToolUniverse
tu = ToolUniverse()
tu.load_tools()
assert hasattr(tu.tools, 'YourCategory_operation1'), "❌ Step 3 FAILED"
print("✅ Step 3: Wrappers generated")
print(f"✅ All steps complete!")
```
### Standard Response Format
**All tools must return**:
```json
{
"status": "success" | "error",
"data": {...}, // On success
"error": "message" // On failure
}From Zaoqu-Liu/ScienceClaw, MIT.
More from Zaoqu-Liu/ScienceClaw
- 0.508score
browser-automation
Zaoqu-Liu
Browser automation for accessing scientific databases that lack REST APIs.
SkillDFreshness: D★ 60Claude Code +9 - 0.508score
devtu-fix-tool
Zaoqu-Liu
Fix failing ToolUniverse tools by diagnosing test failures, identifying root causes, implementing fixes, and validating solutions.
SkillDFreshness: D★ 60Claude Code +9 - 0.508score
devtu-github
Zaoqu-Liu
GitHub workflow for ToolUniverse - push code safely by moving temp files, activating pre-commit hooks, running tests, and cleaning staged files.
SkillDFreshness: D★ 60Claude Code +9 - 0.508score
devtu-optimize-descriptions
Zaoqu-Liu
Optimize tool descriptions in ToolUniverse JSON configs for clarity and usability.
SkillDFreshness: D★ 60Claude Code +9 - 0.508score
asta-corpus-search
Zaoqu-Liu
Search Allen AI's Asta Scientific Corpus (225M+ papers, 12M+ full-text, 2.4B+ citations) via MCP endpoint.
SkillDFreshness: D★ 60Claude Code +9 - 0.505score
biomedical-search
Zaoqu-Liu
Complete biomedical information search combining PubMed, preprints, clinical trials, and FDA drug labels.
SkillDFreshness: D★ 60Claude Code +9 - 0.505score
chembl-search
Zaoqu-Liu
Search ChEMBL bioactive molecules database with natural language queries.
SkillDFreshness: D★ 60Claude Code +9 - 0.504score
biomni
Zaoqu-Liu
Autonomous biomedical AI agent framework for executing complex research tasks across genomics, drug discovery, molecular biology, and clinical analysis.
SkillDFreshness: D★ 60Claude Code +9 - 0.499score
devtu-auto-discover-apis
Zaoqu-Liu
Automatically discover life science APIs online, create ToolUniverse tools, validate them, and prepare integration PRs.
SkillDFreshness: D★ 60Claude Code +9 - 0.495score
create-tooluniverse-skill
Zaoqu-Liu
Create high-quality ToolUniverse skills following test-driven, implementation-agnostic methodology.
SkillDFreshness: D★ 60Claude Code +9 - 0.475score
longevity-scholar
Zaoqu-Liu
This skill should be used when users explicitly request academic papers, recent research, most cited research, or scholarly articles about longevity, aging…
SkillDFreshness: D★ 60Claude Code +9 - 0.271score
academic-literature-search
Zaoqu-Liu
No description from the publisher yet.
SkillDFreshness: D★ 60Claude Code +9
Signals
- Stars
- 60
- Forks
- 14
- Open issues
- 2
- Last commit (this folder)
- Mar 6, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Zaoqu-Liu/ScienceClaw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Zaoqu-Liu
- 0.508score
devtu-optimize-descriptions
Zaoqu-Liu
Optimize tool descriptions in ToolUniverse JSON configs for clarity and usability.
SkillDFreshness: D★ 60Claude Code +9 - 0.508score
devtu-fix-tool
Zaoqu-Liu
Fix failing ToolUniverse tools by diagnosing test failures, identifying root causes, implementing fixes, and validating solutions.
SkillDFreshness: D★ 60Claude Code +9 - 0.508score
browser-automation
Zaoqu-Liu
Browser automation for accessing scientific databases that lack REST APIs.
SkillDFreshness: D★ 60Claude Code +9 - 0.508score
devtu-github
Zaoqu-Liu
GitHub workflow for ToolUniverse - push code safely by moving temp files, activating pre-commit hooks, running tests, and cleaning staged files.
SkillDFreshness: D★ 60Claude Code +9 - 0.508score
asta-corpus-search
Zaoqu-Liu
Search Allen AI's Asta Scientific Corpus (225M+ papers, 12M+ full-text, 2.4B+ citations) via MCP endpoint.
SkillDFreshness: D★ 60Claude Code +9 - 0.505score
biomedical-search
Zaoqu-Liu
Complete biomedical information search combining PubMed, preprints, clinical trials, and FDA drug labels.
SkillDFreshness: D★ 60Claude Code +9
Cite this page
devtu-create-tool skill. Agent Mart. https://agentmart.dev/skills/zaoqu-liu-devtu-create-tool (last updated 2026-10-24)