format

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

A code-formatting add-on for Swift projects. Swift is Apple's programming language; formatting makes code follow a consistent layout and style.

In plain words
What is it for?
Run it from the project folder to format Swift files and apply SwiftLint fixes.
Why use it?
It removes manual style cleanup and helps catch formatting issues in Swift code.

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/format
Any agent
npx skills add adamayoung/TMDb --skill format
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 format

README.md
[![agentmods](https://agentmods.dev/badge/skills/adamayoung/tmdb/format.svg)](https://agentmods.dev/skills/adamayoung/tmdb/format)
Your own site
<a href="https://agentmods.dev/skills/adamayoung/tmdb/format"><img src="https://agentmods.dev/badge/skills/adamayoung/tmdb/format.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 79 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 $0.00010 $0.00079
Opus 5 $0.00005 $0.00039
Sonnet 5 $0.00002 $0.00016
Haiku 4.5 $0.00001 $0.00008

Measured 5d ago against content hash 4bb8b3d1adc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

format 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 5d 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/format/SKILL.md · 13 lines

What it actually says

Format code

Run make format from the project root to fix code style issues (swiftlint --fix then swiftformat).

Run this directly — it is fast and low-output, so delegating to a subagent would cost more (subagent overhead) than it saves.

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. 5d ago First seen · 13 lines · 10 tokens per session scan A 4bb8b3d1adc3

Subscribe to this mod's changes

format is a skill published in the GitHub repository adamayoung/TMDb (177 stars, last pushed 5d ago), licensed Apache-2.0. It adds 10 tokens to every session and 79 once invoked, about $0.0001 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 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-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

boutique-best-practices

Best practices for using Boutique with Swift 6 concurrency, @Observable, @ObservationIgnored, Sendable conformance, testing with preview stores, and dependency injection. Use when troubleshooting Boutique issues, migrating to Swift 6, or setting up tests.

mergesort/Boutique · 56 tokens

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

broadcast-logging-best-practices

Integrate Broadcast into a Swift app or package, including configuring shared Log destinations, dependency injection, structured Log.Signal, Log.Category, and Log.Payload APIs, app-specific logging helpers, buffered log export, and logging tests.

mergesort/Broadcast · 52 tokens