tdmcp-coverage-writer

tdmcp-coverage-writer is a skill for Claude Code, Codex from hybridlabor-api/bdb-dev-optimized-agent-skills. It costs 51 tokens per session (319 once invoked), scanned A, a copy of tdmcp-coverage-writer, Apache-2.0.

A testing assistant for adding focused tests to tdmcp when a specific part of the code is not covered. Coverage means how much of the code's behavior is exercised by tests.

In plain words
What is it for?
Writing Vitest and MSW unit, integration, bridge, command-line, configuration, resource, and regression tests for an assigned coverage gap.
Why use it?
It targets the missing behavior with the smallest useful test, helping detect regressions without weakening existing checks or adding artificial coverage.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Writing Vitest and MSW unit, integration, bridge, command-line, configuration, resource, and regression tests for an assigned coverage gap.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-coverage-writer
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 hybridlabor-api/bdb-dev-optimized-agent-skills --skill tdmcp-coverage-writer
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-coverage-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-coverage-writer/github.svg)](https://agentmods.dev/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-coverage-writer)
Your own site
<a href="https://agentmods.dev/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-coverage-writer"><img src="https://agentmods.dev/badge/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-coverage-writer/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 tdmcp-coverage-writer

Your own site · 80×15
<a href="https://agentmods.dev/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-coverage-writer"><img src="https://agentmods.dev/badge/skills/hybridlabor-api/bdb-dev-optimized-agent-skills/tdmcp-coverage-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 319 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.
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.00051 $0.00319
Opus 5 $0.00026 $0.00160
Sonnet 5 $0.00010 $0.00064
Haiku 4.5 $0.00005 $0.00032

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

Security

Grade A, and why

tdmcp-coverage-writer 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.

Origin

This is a copy

100% identical to tdmcp-coverage-writer — 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/.agents/skills/tdmcp-coverage-writer/SKILL.md · 39 lines

What it actually says

tdmcp-coverage-writer

Use this skill when assigned a specific coverage gap.

Workflow

  1. Read the target implementation and the closest existing tests.
  2. Identify the behavior or branch that is currently untested.
  3. Add the smallest test that would fail if that behavior regressed.
  4. Use existing helpers such as tests/helpers/tdMock.ts, KnowledgeBase, RecipeLibrary, and silentLogger instead of inventing new scaffolding.
  5. Run the narrow test and fix any real failure.

Assertions to prefer

  • Real return text/JSON blocks from CallToolResult.
  • Bridge request bodies captured by msw.
  • Friendly isError results instead of thrown handler errors.
  • CLI stdout/stderr and exit status for user-facing commands.
  • Resource URI and payload shape consumed by MCP clients.

Avoid

  • Tests that only import a module to mark lines covered.
  • Broad snapshots where a specific behavior assertion would do.
  • New exclusions in coverage config.
  • Rewriting production code unless the test exposes a real bug and the lead asked you to patch it.

Output

Report the changed files, command run, behavior covered, and any remaining branch or live-TD validation that is still unverified.

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 · 39 lines · 51 tokens per session scan A 335350ecb0df

Subscribe to this mod's changes

tdmcp-coverage-writer is a skill published in the GitHub repository hybridlabor-api/bdb-dev-optimized-agent-skills (6 stars, last pushed 5d ago), licensed Apache-2.0. It adds 51 tokens to every session and 319 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-coverage-writer, differing in 0 lines, and is treated as a copy.