test

test is a skill for Claude Code, Codex from adamayoung/TMDb. It costs 76 tokens per session (831 once invoked), scanned A, original, Apache-2.0.

A test-running helper for the TMDb app's Swift unit tests, which check small parts of the code in isolation.

In plain words
What is it for?
Run the TMDb unit-test target after changes, review individual failures, and recheck only previously failing tests. Live API tests use a separate command.
Why use it?
It verifies code changes before a pull request and reports how many tests passed or failed, including where each failure occurred.

Skill for Claude CodeCodex

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 skills/adamayoung/tmdb/test
Any agent
npx skills add adamayoung/TMDb --skill test
Clone the repo
git clone --depth 1 https://github.com/adamayoung/TMDb

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 test

README.md
[![agentmods](https://agentmods.dev/badge/skills/adamayoung/tmdb/test.svg)](https://agentmods.dev/skills/adamayoung/tmdb/test)
Your own site
<a href="https://agentmods.dev/skills/adamayoung/tmdb/test"><img src="https://agentmods.dev/badge/skills/adamayoung/tmdb/test.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00076 $0.00831
Opus 5 $0.00038 $0.00415
Sonnet 5 $0.00015 $0.00166
Haiku 4.5 $0.00008 $0.00083

Measured 6d ago against content hash 9abf8cc65f1d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

test 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 6d 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/skills/test/SKILL.md · 62 lines

How it starts

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

Run tests

Spawn the tooling-runner agent (Agent tool, subagent_type: tooling-runner — its Haiku pin, command recipes, and reporting contract live in .claude/agents/tooling-runner.md) with the one-line task:

Run the test target: the TMDb unit test suite. Package directory: <your current working directory, absolute>

Always include that directory line. The subagent does not reliably inherit your working directory, and without it a run inside a git worktree silently tests the main checkout instead — which reports "no matching test cases found" for suites that exist, or passes without ever seeing your changes (see .claude/agents/tooling-runner.md). Use your actual CWD — run pwd if you are not certain of it.

Relay its report. Do not run the tests yourself — unless the report is missing or malformed (below), which is the only sanctioned fallback.

If the report is unclear on a failure, read the log path it reports (.build/last-test.log) rather than re-running. After fixing the issues, re-invoke this skill to re-check. To re-check just the previously failing tests faster, ask the runner for a scoped run instead:

Run the test target scoped to SuiteName/testName. Package directory: <your current working directory, absolute>

A count is not evidence that your new test ran

The full-suite log is an aggregate — it names failures only, never the tests that passed. So passed_tests: 3105 looks the same whether a test you just wrote ran, or never compiled into the bundle. The runner is instructed not to claim otherwise and to report Names observed: no for a full run; treat any per-test claim about a passing test in a full-suite report as unfounded, and a rising total as no evidence about any individual test.

When it matters that a specific new test executed — a reproducer for the bug you are fixing, or a test guarding a branch that had none — ask for the scoped run above and read the test names in its output. That output does name each test. It costs seconds against an already-built bundle, and it is the difference between "the suite is green" and "the thing I wrote is doing its job".

Read the full file on GitHub · 62 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. 6d ago First seen · 62 lines · 76 tokens per session scan A 9abf8cc65f1d

Subscribe to this mod's changes

test is a skill published in the GitHub repository adamayoung/TMDb (177 stars, last pushed 5d ago), licensed Apache-2.0. It adds 76 tokens to every session and 831 once invoked, about $0.0004 per session on Opus 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 skills, from other repositories

swift-testing-expert

Expert guidance for Swift Testing: test structure, #expect/#require macros, traits and tags, parameterized tests, test plans, parallel execution, async waiting patterns, and XCTest migration. Use when writing new Swift tests, modernizing XCTest suites, debugging flaky tests, or improving test quality and…

AvdLee/Swift-Testing-Agent-Skill · 73 tokens

Swift Patterns

Use this skill when working on Swift projects (SwiftPM packages, iOS/macOS apps) and you want consistent patterns for concurrency, structure, and safety.

AmariahAK/atlarix-skills · 2 tokens

using-xtool

This skill should be used when building iOS apps with xtool (Xcode-free iOS development), creating xtool projects, adding app extensions, or configuring xtool.yml. Triggers on "xtool", "SwiftPM iOS", "iOS on Linux", "iOS on Windows", "Xcode-free", "app extension", "widget extension", "share extension". Covers project…

2389-research/xtool · 93 tokens

swift-testing

Expert guidance on Swift Testing best practices, patterns, and implementation. Use when developers mention: (1) Swift Testing, @Test, #expect, #require, or @Suite, (2) "use Swift Testing" or "modern testing patterns", (3) test doubles, mocks, stubs, spies, or fixtures, (4) unit tests, integration tests, or snapshot…

bocato/swift-testing-agent-skill · 124 tokens

swift-testing-pro

Writes, reviews, and improves Swift Testing code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use Swift Testing.

jacklandrin/OnlySwitch · 34 tokens

swift-concurrency

Diagnose Swift Concurrency issues, refactor callback-based code to async/await, and guide Swift 6 migration when working with tasks, actors, @MainActor, Sendable, data races, thread safety, or concurrency-related compiler and linter warnings.

AvdLee/Swift-Concurrency-Agent-Skill · 56 tokens