TMDb: Agent for Claude Code

.claude/agents/code-reviewer.md

code-reviewer is an agent for Claude Code from adamayoung/TMDb. It costs 26 tokens per session (913 once invoked), scanned A, original, Apache-2.0.

A local helper that reviews code changes for the TMDb Swift package, a software library written in Swift. It follows the project's shared review rules and performs additional local checks when available.

In plain words
What is it for?
Use it to review changes to the TMDb package, including model and API-related changes, before submitting or delivering them.
Why use it?
It catches issues before a change becomes a pull request and keeps local reviews aligned with the project's automated review.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents; names the NotebookEdit tool.

This is adamayoung/TMDb's own configuration. It tells Claude Code how to work on TMDb 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 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to adamayoung/TMDb. 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/adamayoung/TMDb/main/.claude/agents/code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/adamayoung/TMDb

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 code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/adamayoung/tmdb/code-reviewer/github.svg)](https://agentmods.dev/agents/adamayoung/tmdb/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/adamayoung/tmdb/code-reviewer"><img src="https://agentmods.dev/badge/agents/adamayoung/tmdb/code-reviewer/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 code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/adamayoung/tmdb/code-reviewer"><img src="https://agentmods.dev/badge/agents/adamayoung/tmdb/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 913 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 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.00026 $0.00913
Opus 5.5 $0.00010 $0.00365
Sonnet 5.5 $0.00005 $0.00183
Haiku 4.5 $0.00003 $0.00091

Measured 1mo ago against content hash b24a616051fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-reviewer 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 1mo 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.

.claude/agents/code-reviewer.md · 73 lines

How it starts

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

Claude Subagent: Code Reviewer (local)

You are the local reviewer for the TMDb Swift package, spawned by /pr and /deliver to review a change before it becomes (or while it is) a PR.

Follow the canonical guidelines

The review criteria live in one place — read and follow it:

.github/CODE_REVIEW.md

That file is the single source of truth shared with the GitHub Actions reviewer (.github/workflows/claude.yml), so the two reviews stay aligned. It defines the goal, the severity rubric, project context/architecture, what's in and out of scope, the mandatory adversarial re-evaluation, and the output shape. Do not re-derive or invent criteria; if your memory and the file disagree, the file wins.

Your environment (use it — you have the tools the GitHub reviewer lacks)

You run locally with the full toolset, so do the deep verification the guidelines mark as "tool-permitting / local only":

  • Model ↔ API alignment — when the diff adds or changes a model in Domain/Models/, a fixture in Tests/TMDbTests/Resources/json/, or an endpoint returning an existing model, verify properties/optionality/types/CodingKeys against the live API using mcp__tmdb__* and the OpenAPI spec (https://developer.themoviedb.org/openapi/tmdb-api.json via WebFetch).
  • Apple API specifics — use the sosumi MCP (mcp__sosumi__*) to check concurrency safety, availability, and behaviour rather than guessing.
  • Specialist skills — use swift-concurrency for async/actor/Sendable review and swift-testing-expert for test-code review. Both arrive preloaded via the skills: frontmatter above — you do not (and cannot) invoke them through the Skill tool, which disallowedTools removes.
  • DocC sync — flag missing catalog/README updates as High (build-breaking under warnings-as-errors); the document-swift skill is the doc spec.
  • Do not build or run tests — reviewing is a reading task, and the caller owns the worktree's single build slot (concurrent builds don't queue, they invalidate each other's build plans — see knowledge/gotchas.md → Docs builds need their own scratch path). If a finding genuinely cannot be settled without executing something, say so in the finding and let the caller run it — serially, once. Never read or touch .swiftpm/ or .build/.

Read the full file on GitHub · 73 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. 1mo ago First seen · 73 lines · 26 tokens per session scan A b24a616051fb

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository adamayoung/TMDb (179 stars, last pushed yesterday), licensed Apache-2.0. It adds 26 tokens to every session and 913 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

swift-reviewer

Independent verifier for Swift/iOS changes. Use after another agent (or you) has written code, to check it against the repository rules and prove it builds and tests pass. Runs builds and tests and returns their real output. Read-only — it holds no write tools, so it cannot fix what it should report, and it never…

Nagarjuna2997/ios-agent-skill · 76 tokens

security-reviewer

Read-only security reviewer. Use when reviewing authentication, passkeys, Keychain, LocalAuthentication, CryptoKit, DeviceCheck, App Attest, ATS, permissions, entitlements, privacy manifests, secrets, AI prompt/tool security, or mobile threat models. Reports findings and does not edit code.

Nagarjuna2997/ios-agent-skill · 63 tokens

swiftui-expert

Read-only SwiftUI expert. Use when reviewing SwiftUI layout, navigation, state, observation, gestures, animation, previews, Dynamic Type, iPad adaptation, performance, or modern iOS 27 SwiftUI APIs. Reports recommendations and does not edit code.

Nagarjuna2997/ios-agent-skill · 57 tokens

Native SwiftUI Reviewer

Reviews native SwiftUI code for iOS 14+ API compliance, accessibility, performance, design, and TTBaseUIKit token compliance. Does NOT check for TTBaseSUI components.

tqtuan1201/TTBaseUIKit · 43 tokens

Localization Audit

Audits localization completeness: finds hardcoded strings, missing XText keys, unused keys, and naming violations.

tqtuan1201/TTBaseUIKit · 24 tokens

Performance Audit

Audits Swift/SwiftUI/UIKit code for performance issues: rendering, memory, CPU, main thread blocking, view recomputation.

tqtuan1201/TTBaseUIKit · 28 tokens