tmdb-mcp: Skill for Claude Code

.agents/skills/fixture-accuracy-check/SKILL.md

fixture-accuracy-check is a skill for Claude Code, Codex from Grinv/tmdb-mcp. It costs 49 tokens per session (537 once invoked), scanned A, original, MIT.

A testing rule for writing mocked API responses that match the real TMDB or OMDb response for the specific endpoint.

In plain words
What is it for?
Use it before adding or changing fetch fixtures in TypeScript test files under src/tests/.
Why use it?
It prevents tests from passing because a hand-written fixture contains fields the real API never sends, which can hide bugs.

Skill for Claude CodeCodex

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

This is Grinv/tmdb-mcp's own configuration. It tells Claude Code and Codex how to work on tmdb-mcp 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 tmdb-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Grinv/tmdb-mcp. 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/Grinv/tmdb-mcp/main/.agents/skills/fixture-accuracy-check/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Grinv/tmdb-mcp

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 fixture-accuracy-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/grinv/tmdb-mcp/fixture-accuracy-check.svg)](https://agentmods.dev/skills/grinv/tmdb-mcp/fixture-accuracy-check)
Your own site
<a href="https://agentmods.dev/skills/grinv/tmdb-mcp/fixture-accuracy-check"><img src="https://agentmods.dev/badge/skills/grinv/tmdb-mcp/fixture-accuracy-check.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00049 $0.00537
Opus 5 $0.00024 $0.00269
Sonnet 5 $0.00010 $0.00107
Haiku 4.5 $0.00005 $0.00054

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

Security

Grade A, and why

fixture-accuracy-check scanned grade A with 1 finding 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 7d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

endpoint once (curl, or the MCP tools themselves via an agent) and check
.agents/skills/fixture-accuracy-check/SKILL.md · 44 lines

How it starts

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

Testing conventions

src/__tests__/*.test.ts mocks fetch and feeds it canned JSON fixtures (see tmdb.test.ts's router() + fixture constants, and helpers.ts). These fixtures are hand-written, which makes it easy to accidentally encode what the code expects instead of what the upstream API actually returns — a test built that way stays green even when it's exercising a bug.

The rule

A fixture must mirror the real response shape for that exact endpoint: only the fields TMDB/OMDb actually send there, in the shape they actually send them. Don't add a field because format.ts reads it, and don't reuse a fixture from a similar-looking endpoint — check the endpoint you're mocking.

Two endpoints can look interchangeable and not be. /search/multi and /trending/* tag every row with media_type; /search/person never does — TMDB only returns person fields there, full stop. searchPeople() used to reuse the media_type-dispatching summarizer, and the test fixture for /search/person had media_type: "person" hand-added to it. The fixture made the dispatch land on the right branch; the real API never would have, so every real search_people call was mis-shaped as a TV result. The test was green throughout.

How to verify a fixture

Before writing or changing a fixture for an endpoint:

  • If you have TMDB_API_TOKEN / OMDB_API_KEY available, hit the real endpoint once (curl, or the MCP tools themselves via an agent) and check which fields are actually present — don't assume from memory or from the TMDB docs page, which sometimes lag the real payload.
  • If two routes share a summarizer, write a fixture per route rather than one shared constant, even if they look identical today — that's what keeps a future divergence (like the one above) from going unnoticed.
  • scripts/check-api.mjs (npm run check:api) hits the live APIs and is a reasonable place to add a minimal shape assertion for a field a unit test fixture depends on, if you want drift caught in CI too.

Read the full file on GitHub · 44 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. 7d ago First seen · 44 lines · 49 tokens per session scan A 72a4983765e5

Subscribe to this mod's changes

fixture-accuracy-check is a skill published in the GitHub repository Grinv/tmdb-mcp (4 stars, last pushed 13d ago), licensed MIT. It adds 49 tokens to every session and 537 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

live-audit

Audit steam-games-mcp — build/test/lint gate, live MCP tool edge-case sweep (input validation, SteamID64/vanity/appid edge cases, key-gating), and source-level code review. Use when asked to test/audit the published or just-fixed steam-games-mcp package, hunt for bugs/edge cases, or repeat "the same kind of testing as…

Grinv/steam-games-mcp · 83 tokens

prompt-check

Live-test every MCP Prompt in src/tools/prompts.ts through the real MCP protocol (not a static read) across every argument combination. Use when a prompt is added or its argument-handling logic changes, or as part of a live-audit pass.

Grinv/steam-games-mcp · 54 tokens

tool-description-check

Self-check a new or edited MCP tool description/field .describe() text before committing — verify every behavioral claim against live testing or source, check for contradictions with sibling tools, and score against Glama's Tool Definition Quality Score (TDQS) rubric. Use whenever a tool description or schema field…

Grinv/steam-games-mcp · 76 tokens

release

Cut a release of steam-games-mcp — draft CHANGELOG entries, check docs/metadata consistency, then bump/tag/push. Use when asked to release, cut a version, or publish a new version of this package.

Grinv/steam-games-mcp · 47 tokens

docs-consistency-check

Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

Grinv/steam-games-mcp · 56 tokens

verify-cli

Run smoke tests against the mpak CLI to verify all commands work correctly before publishing a new release.

NimbleBrainInc/mpak · 23 tokens