Embody: Skill for Claude Code

.claude/skills/add-mcp-tool/SKILL.md

add-mcp-tool is a skill for Claude Code from dylanroscover/Embody. It costs 20 tokens per session (378 once invoked), scanned A, original, MIT.

A development procedure for adding an MCP tool to the Envoy server. MCP is a protocol that lets an AI assistant call defined tools; Envoy registers those tools and performs the related TouchDesigner operations.

In plain words
What is it for?
Use it when registering a new tool, adding its TouchDesigner handler, updating contract tests and tool references, documenting it, and restarting Envoy to verify registration.
Why use it?
It keeps the tool's API, main-thread handler, tests, reference documentation, and user documentation synchronized. It also requires input validation and consistent error handling.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is dylanroscover/Embody's own configuration. It tells Claude Code how to work on Embody itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Embody configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dylanroscover/Embody. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dylanroscover/Embody/main/.claude/skills/add-mcp-tool/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/dylanroscover/Embody

Made for: Claude Code.

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 add-mcp-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/dylanroscover/embody/add-mcp-tool/github.svg)](https://agentmods.dev/skills/dylanroscover/embody/add-mcp-tool)
Your own site
<a href="https://agentmods.dev/skills/dylanroscover/embody/add-mcp-tool"><img src="https://agentmods.dev/badge/skills/dylanroscover/embody/add-mcp-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 add-mcp-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/dylanroscover/embody/add-mcp-tool"><img src="https://agentmods.dev/badge/skills/dylanroscover/embody/add-mcp-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 378 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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: 1 finding, 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 Agent Snooping · line 26
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00020 $0.00378
Opus 5 $0.00010 $0.00189
Sonnet 5 $0.00004 $0.00076
Haiku 4.5 $0.00002 $0.00038

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

Security

Grade A, and why

add-mcp-tool scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/add-mcp-tool/SKILL.md · 37 lines

What it actually says

Add MCP Tool to Envoy

Steps for adding a new MCP tool:

  1. Add the tool function inside _register_tools() in EnvoyExt.py

    • Function signature and docstring define the MCP schema (parameter names, types, descriptions)
    • Treat these as API contracts - changes break client integrations
    • The tool function queues the operation for main-thread execution
  2. Add a handler case in _onRefresh() for the TD operation

    • This is where the actual TouchDesigner operations execute (on the main thread)
    • Wrap TD operations in try/except, return {'error': str(e)} dicts on failure
    • Validate all inputs before passing to TD
  3. Update EXPECTED_ENVOY_TOOLS in dev/embody/unit_tests/test_agent_contract.py

    • The Tier-1 agent contract test fails on inventory drift in either direction -- same commit as the tool change
    • Tools register on the MCPServer instance at Envoy START -- restart Envoy before believing a mismatch
  4. Update the MCP tools reference

    • Update the /mcp-tools-reference skill in .claude/skills/mcp-tools-reference/SKILL.md
    • Update the corresponding template DAT if it exists
  5. Update documentation

    • Add to the root CLAUDE.md if the tool is significant
    • Update text_claude.md template DAT for user projects
  6. Test via MCP Inspector or Claude Code

    • Verify the tool appears in the tool list
    • Test with valid and invalid inputs
    • Check error handling
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. 10d ago First seen · 37 lines · 20 tokens per session scan A aa08eac7e624

Subscribe to this mod's changes

add-mcp-tool is a skill published in the GitHub repository dylanroscover/Embody (170 stars, last pushed yesterday), licensed MIT. It adds 20 tokens to every session and 378 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agentcore-investigation

Investigate Bedrock AgentCore runtime sessions via CloudWatch Logs Insights — resolve session/trace IDs, query OTEL spans, filter noise, build timelines. Use when debugging AgentCore agent sessions, tracing tool calls, or analyzing latency.

awslabs/mcp · 52 tokens

amazon aurora dsql

Deprecated compatibility redirect for Aurora DSQL guidance. Use when a request concerns DSQL, Aurora DSQL, distributed SQL, DSQL schemas, migrations, queries, authentication, performance, or application development.

awslabs/mcp · 46 tokens

vibeue

Unreal Engine 5 development using the VibeUE Python API. Use when working in Unreal Engine — blueprints, state trees, materials, actors, landscapes, animation, niagara, widgets, sound, foliage, gameplay tags, enhanced input, skeletons, PCG (procedural content generation), and more. VibeUE is an extension of Unreal's…

kevinpbuckley/VibeUE · 82 tokens

jmcomic

Search, browse, inspect album-specific or site-wide comments, and download manga from JMComic (18comic), obtain the latest Android APK from hect0x7/JMComic-APK, and invoke the upstream jm-view-server jms command for local reading. Use for manga discovery, ranking, comment analysis, downloads, post-processing…

hect0x7/jmcomic-ai · 101 tokens

testing-python

Write and evaluate effective Python tests using pytest. Use when writing tests, reviewing test code, debugging test failures, or improving test coverage. Covers test design, fixtures, parameterization, mocking, async testing, and CI integration.

AI-Riksarkivet/ra-mcp · 48 tokens

issue_analyse_supervisor

Autonomous issue analysis — supervisor delegates to engineer subagents.

MarcusJellinghaus/mcp-tools-py · 11 tokens