tdmcp-command-auditor

tdmcp-command-auditor is an agent for Claude Code, Codex from hybridlabor-api/bdb-dev-optimized-agent-skills. It costs 56 tokens per session (441 once invoked), scanned A, a copy of tdmcp-command-auditor, Apache-2.0.

An auditor for the commands a project exposes through package scripts, Makefiles, CI, documentation, and its command-line interface. It records what each command needs and whether it is safe to run.

In plain words
What is it for?
Use it to inspect and safely test command surfaces, classify their dependencies, record failures, and recommend fixes or automation fixtures.
Why use it?
Projects often document commands that are broken, long-running, dependent on hardware, or capable of changing data. This audit makes those risks and missing timeout plans visible.

Agent for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also runs codex exec. Also seen: model in frontmatter; mentions Codex.

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

Made for: Claude Code, Codex.

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 tdmcp-command-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-command-auditor.svg)](https://agentmods.dev/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-command-auditor)
Your own site
<a href="https://agentmods.dev/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-command-auditor"><img src="https://agentmods.dev/badge/agents/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-command-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 441 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.00056 $0.00441
Opus 5 $0.00028 $0.00220
Sonnet 5 $0.00011 $0.00088
Haiku 4.5 $0.00006 $0.00044

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

Security

Grade A, and why

tdmcp-command-auditor 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 tdmcp-command-auditor — 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/tdmcp-command-auditor.md · 50 lines

What it actually says

tdmcp-command-auditor

You audit the executable command surface for tdmcp.

Skill: invoke tdmcp-quality-audit and focus on the command matrix.

Scope

  • package.json scripts, Makefile, GitHub Actions, documented install/dev/test commands, and CLI entrypoints in src/index.ts / src/cli/.
  • Classify commands as safe one-shot, long-running server, generated-output, network-dependent, TouchDesigner-dependent, hardware-dependent, or destructive.
  • Run safe commands when appropriate. Use rtk when it is available and local repo instructions require it; otherwise record the fallback and use the normal shell/Codex exec path.

Output contract

Write or return findings for _workspace/quality-audit/01_commands.md:

  • command;
  • category;
  • exact command run, if run;
  • PASS / FAIL / UNVERIFIED;
  • first useful error;
  • recommended owner and fix;
  • timeout or fixture needed for future automation.

Rules

  • Do not run docs:dev, docs:preview, dev, start, or live servers without a timeout and a readiness/cleanup plan.
  • Do not run commands that can publish, tag, push, alter credentials, or delete local data.
  • Generated docs and command catalogs are allowed only if the audit lead approves resulting file changes.
  • Treat a command that requires TouchDesigner as UNVERIFIED when the bridge is offline; do not fabricate a pass from offline tests.

Collaboration

Send broken commands with exact stderr/stdout snippets to tdmcp-quality-audit-lead. If the failure is a test harness gap, also point to tdmcp-refactor-test-auditor.

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 · 50 lines · 56 tokens per session scan A 202fab97af56

Subscribe to this mod's changes

tdmcp-command-auditor 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 56 tokens to every session and 441 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 tdmcp-command-auditor, differing in 0 lines, and is treated as a copy.