tooluniverse-custom-tool

tooluniverse-custom-tool is a skill for Claude Code from mims-harvard/ToolUniverse. It costs 78 tokens per session (2,259 once invoked), scanned A, original, Apache-2.0.

A skill for adding custom tools to ToolUniverse, a toolkit that provides many tools for APIs, data access, and analysis. It supports simple configuration files as well as Python implementations for more specialized behavior.

In plain words
What is it for?
Use it to connect a REST, SOAP, or GraphQL service, add local tools, define custom computations, or package reusable ToolUniverse tools.
Why use it?
It provides a documented path when the needed API or calculation is not already available. Starting with configuration can avoid writing code for straightforward web services.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the tooluniverse plugin — 164 skills, 8 commands, 1 agent, 1 hook, 1 MCP server shipped together

Good fit Use it to connect a REST, SOAP, or GraphQL service, add local tools, define custom computations, or package reusable ToolUniverse tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mims-harvard/tooluniverse/tooluniverse-custom-tool
About the project

ToolUniverse is a collection of tools, interfaces, and supporting components for building AI systems that perform scientific work. It is for developers creating AI scientist agents that use APIs, databases, machine-learning tools, and domain-specific utilities. The catalogue includes skills, commands, an MCP server, an agent, and a hook for working with the ecosystem.

mims-harvard/ToolUniverse · 1,813 stars · on GitHub · aiscientist.tools

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mims-harvard/ToolUniverse --skill tooluniverse-custom-tool
Clone the repo
git clone --depth 1 https://github.com/mims-harvard/ToolUniverse

Made for: Claude Code.

Or install tooluniverse, the plugin that ships this one along with the rest of its 164 skills, 8 commands, 1 agent, 1 hook, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tooluniverse-custom-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/tooluniverse-custom-tool/github.svg)](https://agentmods.dev/skills/mims-harvard/tooluniverse/tooluniverse-custom-tool)
Your own site
<a href="https://agentmods.dev/skills/mims-harvard/tooluniverse/tooluniverse-custom-tool"><img src="https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/tooluniverse-custom-tool/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tooluniverse-custom-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/mims-harvard/tooluniverse/tooluniverse-custom-tool"><img src="https://agentmods.dev/badge/skills/mims-harvard/tooluniverse/tooluniverse-custom-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,259 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 29
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 116
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.02259
Opus 5.5 $0.00031 $0.00904
Sonnet 5.5 $0.00016 $0.00452
Haiku 4.5 $0.00008 $0.00226

Measured 25d ago against content hash be73f2a093cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tooluniverse-custom-tool scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 25d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

resp = requests.get(
plugin/skills/tooluniverse-custom-tool/SKILL.md · 257 lines

How it starts

The opening of the file, as written. The whole thing — 257 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Adding Custom Tools to ToolUniverse

When to create a custom tool: Create one if you need to access an API that ToolUniverse doesn't cover, or if you need a specialized data transformation that no existing tool provides. Start with the JSON config approach (simplest — no Python needed); escalate to a Python class only if you need custom response parsing or stateful logic.

Three ways to add tools — pick the one that fits your needs:

Approach When to use
JSON config REST API with standard request/response — no coding needed
Python class (workspace) Custom logic for local/private use only
Plugin package Reusable tools you want to share or install via pip

Option A — Workspace tools (local use)

Tools in .tooluniverse/tools/ are auto-discovered at startup. No installation needed.

mkdir -p .tooluniverse/tools

JSON config

Create .tooluniverse/tools/my_tools.json:

[
  {
    "name": "MyAPI_search",
    "description": "Search my internal database. Returns matching records with id, title, and score.",
    "type": "BaseRESTTool",
    "fields": {
      "endpoint": "https://my-api.example.com/search"
    },
    "parameter": {
      "type": "object",
      "properties": {
        "q": {
          "type": "string",
          "description": "Search query"
        },
        "limit": {
          "type": ["integer", "null"],
          "description": "Max results to return (default 10)"
        }
      },
      "required": ["q"]
    }
  }
]

One JSON file can define multiple tools — just add more objects to the array.

For the full JSON field reference, see references/json-tool.md.

Python class

Create .tooluniverse/tools/my_tool.py:

from tooluniverse.tool_registry import register_tool

@register_tool
class MyAPI_search:
    name = "MyAPI_search"
    description = "Search my internal database. Returns matching records with id, title, and score."
    input_schema = {
        "type": "object",
        "properties": {
            "q": {"type": "string", "description": "Search query"},
            "limit": {"type": "integer", "description": "Max results (default 10)"}
        },
        "required": ["q"]
    }

    def run(self, q: str, limit: int = 10) -> dict:
        import requests
        resp = requests.get(
            "https://my-api.example.com/search",
            params={"q": q, "limit": limit},
            timeout=30,
        )
        resp.raise_for_status()
        return {"status": "success", "data": resp.json()}

Read the full file on GitHub · 257 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 25d ago Changed · +1 tokens per session be73f2a093cc
  2. 3mo ago First seen · 257 lines · 77 tokens per session scan A 7e7ea2f72774

Subscribe to this mod's changes

tooluniverse-custom-tool is a skill published in the GitHub repository mims-harvard/ToolUniverse (1,813 stars, last pushed yesterday), licensed Apache-2.0. It adds 78 tokens to every session and 2,259 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

tooluniverse-custom-tool compared with skills from other repositories

tooluniverse-custom-tool next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tooluniverse-custom-toolmims-harvard/ToolUniverseSkill1.8kyesterdayApache-2.0A78Claude Code
ai-agent-tool-routingsickn33/agentic-awesome-skillsSkill51kyesterdayMITA36Claude Code
ai-agent-architecturesj4flmao/agent-skillsSkill4614d agoMITA86Claude Code, Codex
agent-engineering-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A94Claude Code
external-repo-setupmims-harvard/AutoScientistsSkill8011mo agononeA65Claude Code, Codex
multi-agent-focusmims-harvard/AutoScientistsSkill8011mo agononeA50Claude Code, Codex
agentic-patternscuriositech/windags-skillsSkill214d agononeA143Claude Code