td-integrator

td-integrator is an agent for Claude Code from hybridlabor-api/bdb-dev-optimized-agent-skills. It costs 68 tokens per session (942 once invoked), scanned A, a copy of td-integrator, Apache-2.0.

An integration agent that connects completed tdmcp features to shared project files. It registers tools, adds matching CLI commands, regenerates documentation, and checks that the project builds.

In plain words
What is it for?
Use it to integrate tool registrations, CLI commands, generated tool documentation, and final build checks.
Why use it?
It provides one controlled place for shared-file changes, reducing conflicts and incomplete wiring when builders work in parallel.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

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/hybridlabor-api/bdb-dev-optimized-agent-skills/td-integrator
Clone the repo
git clone --depth 1 https://github.com/hybridlabor-api/bdb-dev-optimized-agent-skills

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/hybridlabor-api/bdb-dev-optimized-agent-skills/td-integrator.svg)](https://agentmods.dev/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/td-integrator)
Your own site
<a href="https://agentmods.dev/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/td-integrator"><img src="https://agentmods.dev/badge/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/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 100% copy Near-identical to another mod 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 2d ago against content hash 1db25eae7f41, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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

This is a copy

100% identical to td-integrator — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

mcps/tdmcp/.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. 2d 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 hybridlabor-api/bdb-dev-optimized-agent-skills (6 stars, last pushed yesterday), licensed Apache-2.0. 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. It is 100% identical to td-integrator, differing in 0 lines, and is treated as a copy.