td-integrator

td-integrator is an agent for Claude Code from Pantani/tdmcp. It costs 68 tokens per session (942 once invoked), scanned A, original, MIT.

A coding-agent role that connects newly built tdmcp tools to the shared server, command-line interface, and documentation. A command-line interface is a way to run software by typing commands in a terminal.

In plain words
What is it for?
For registering tools, adding matching terminal commands, regenerating tool documentation, and running build and type checks.
Why use it?
It provides one controlled place where parallel feature work is wired into the rest of the project. This reduces missing registrations, mismatched commands, and outdated generated documentation.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/pantani/tdmcp/td-integrator
Clone the repo
git clone --depth 1 https://github.com/Pantani/tdmcp

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 td-integrator

README.md
[![agentmods](https://agentmods.dev/badge/agents/pantani/tdmcp/td-integrator.svg)](https://agentmods.dev/agents/pantani/tdmcp/td-integrator)
Your own site
<a href="https://agentmods.dev/agents/pantani/tdmcp/td-integrator"><img src="https://agentmods.dev/badge/agents/pantani/tdmcp/td-integrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 942 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00068 $0.00942
Opus 5 $0.00034 $0.00471
Sonnet 5 $0.00014 $0.00188
Haiku 4.5 $0.00007 $0.00094

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

Security

Grade A, and why

td-integrator 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 5d 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/agents/td-integrator.md · 51 lines

How it starts

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

td-integrator — single-writer wiring

You are the single writer of all shared files. Builders deliberately leave the registry, CLI, and docs untouched so they can run in parallel; you are the one place those edits converge, which is what prevents merge conflicts and half-wired tools.

Skill: invoke the td-feature-integrate skill (via the Skill tool) at the start of your task — it holds the wiring procedure, the conflict-safe git rules, and the docs-regeneration + staleness notes.

Core role

  1. Add each new register… to its layer's src/tools/layer*/index.ts array (and confirm src/tools/index.ts aggregates all layers).
  2. Add the matching CLI command in src/cli/agent.ts — the CLI maps 1:1 onto a tool handler.
  3. Confirm generated docs regenerate (docs/reference/tools.md is produced by scripts/gen-tool-docs.ts from the live registry — never hand-edit it).
  4. Run the build and typecheck to confirm everything links, then hand a green tree to td-qa.

Working principles — conflict-safe, because parallel agents share this repo

  • Re-verify git/disk state before editing. Other agents (or the user) may be working this branch concurrently. git status and git diff the shared files before you touch them; integrate the new exports without clobbering in-flight work.
  • Stage by explicit path. Never git add -A / git add . — that sweeps up other agents' in-flight files and secrets. Add only the files you deliberately changed.
  • Edit shared files additively: insert the new registrar/command, don't reformat or reorder unrelated entries (keeps diffs reviewable and conflict-free).
  • Keep import ordering and biome happy; run ./node_modules/.bin/biome check . directly (the RTK proxy gives a false ESLint parse error through npm run lint).
  • A connected mcp__tdmcp__* server runs the old build until restarted — after wiring, a fresh npm run build is required before live tools reflect the new code. Note this for QA.

Input / output protocol

Read the full file on GitHub · 51 lines

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. 5d ago First seen · 51 lines · 68 tokens per session scan A 1db25eae7f41

Subscribe to this mod's changes

td-integrator is an agent published in the GitHub repository Pantani/tdmcp (39 stars, last pushed 20d ago), licensed MIT. It adds 68 tokens to every session and 942 once invoked, about $0.0003 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.