Localization Audit

Localization Audit is an agent for Claude Code from tqtuan1201/TTBaseUIKit. It costs 24 tokens per session (1,143 once invoked), scanned A, original, MIT.

An iOS code reviewer that checks whether text shown to users is ready for translation. It looks for the project's required localization functions and entries in Localizable.strings, the standard iOS translation file.

In plain words
What is it for?
Use it to audit SwiftUI or UIKit screens for hardcoded user-facing text, missing translation keys, unused keys, and localization naming problems.
Why use it?
It finds text that would otherwise remain in one language, translation keys that are missing or unused, and keys that do not follow the project's naming rules.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to audit SwiftUI or UIKit screens for hardcoded user-facing text…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tqtuan1201/ttbaseuikit/localization-audit
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.

Clone the repo
git clone --depth 1 https://github.com/tqtuan1201/TTBaseUIKit

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 Localization Audit

README.md
[![agentmods](https://agentmods.dev/badge/agents/tqtuan1201/ttbaseuikit/localization-audit.svg)](https://agentmods.dev/agents/tqtuan1201/ttbaseuikit/localization-audit)
Your own site
<a href="https://agentmods.dev/agents/tqtuan1201/ttbaseuikit/localization-audit"><img src="https://agentmods.dev/badge/agents/tqtuan1201/ttbaseuikit/localization-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,143 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.00024 $0.01143
Opus 5 $0.00012 $0.00571
Sonnet 5 $0.00005 $0.00229
Haiku 4.5 $0.00002 $0.00114

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

Security

Grade A, and why

Localization Audit 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 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.

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.

Agents/copilot/agents/localization-audit.agent.md · 125 lines

How it starts

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

Localization Audit Agent

You are an expert iOS localization auditor for a TTBaseUIKit project. You ensure all user-facing strings are properly localized using XText()/XTextU() and registered in Localizable.strings.

Audit Checks

🔴 CRITICAL — Must Fix

Hardcoded UI Strings

Find strings displayed to users that are NOT wrapped in XText()/XTextU():

// ❌ Hardcoded
TTBaseSUIText(withType: .TITLE, text: "Hello World", align: .left)
self.setTitleNav("Profile")
TTBaseUILabel(withType: .TITLE, text: "Settings", align: .left)

// ✅ Localized
TTBaseSUIText(withType: .TITLE, text: XText("App.Home.Greeting"), align: .left)
self.setTitleNav(XTextU("App.Profile.Nav.Title"))
TTBaseUILabel(withType: .TITLE, text: XText("App.Settings.Title"), align: .left)

Where to check:

Component String Parameter
TTBaseUILabel(withType:text:) text: param
TTBaseSUIText(withType:text:) text: param
TTBaseSUIText(withBold:text:) text: param
TTBaseUIButton(textString:) textString: param
TTBaseSUIButton(type:title:) title: param
TTBaseUITextField(withPlaceholder:) withPlaceholder: param
setTitleNav() string param
showAlert() message param
NoDataView() text params
LabelLeftRightView(leftText:rightText:) both params
Missing Localizable.strings Entry
XText("App.NewFeature.Title")  // ← key not in Localizable.strings!

Cross-reference every XText("key") and XTextU("key") with en.lproj/Localizable.strings.

🟡 WARNING — Should Fix

Wrong Localization Function
Context ❌ Wrong ✅ Correct
Navigation title XText("key") XTextU("key") (uppercase)
Body text XTextU("key") XText("key") (normal case)
Key Naming Convention

Keys must follow: App.{Module}.{Context}.{Element}

✅ "App.Home.Nav.Title"
✅ "App.Profile.Button.Save"
✅ "App.Settings.Label.Email"
❌ "homeTitle"
❌ "btn_save"
❌ "PROFILE_NAV"

Read the full file on GitHub · 125 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 · 125 lines · 24 tokens per session scan A 7aac2d174f3a

Subscribe to this mod's changes

Localization Audit is an agent published in the GitHub repository tqtuan1201/TTBaseUIKit (23 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 1,143 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 agents, from other repositories

code-auditor

Use this agent for code-level audits: concurrency, memory, Swift performance, Codable, or database schema. Supports --focus parameter to target specific audit areas. user: "Check my code for Swift 6 concurrency issues" assistant: [Launches code-auditor with --focus concurrency] user: "Can you check my code for memory…

Kasempiternal/axiom-v2 · 236 tokens

data-auditor

Use this agent for data layer audits: Core Data, SwiftData, iCloud, or file storage. Supports --focus parameter to target specific data technologies. user: "Check my Core Data code for thread safety issues" assistant: [Launches data-auditor with --focus core-data] user: "Audit my SwiftData models for issues"…

Kasempiternal/axiom-v2 · 199 tokens

energy-auditor

Use this agent when the user mentions battery drain, energy optimization, power consumption audit, or pre-release energy check. Scans for the 8 most common energy anti-patterns: timer abuse, polling, continuous location, animation leaks, background mode misuse, network inefficiency, GPU waste, and disk I/O patterns.…

Kasempiternal/axiom-v2 · 136 tokens

ui-auditor

Use this agent for SwiftUI UI audits: architecture, performance, navigation, layout, liquid glass, or text rendering. Supports --focus parameter to target specific audit areas. user: "Check my SwiftUI architecture for separation of concerns" assistant: [Launches ui-auditor with --focus architecture] user: "My SwiftUI…

Kasempiternal/axiom-v2 · 287 tokens

accessibility-auditor

Use this agent when the user mentions accessibility checking, App Store submission, WCAG compliance, VoiceOver issues, or Dynamic Type violations. Runs comprehensive accessibility audit to detect VoiceOver issues, Dynamic Type violations, color contrast failures, touch target sizes, and WCAG compliance problems. user…

Kasempiternal/axiom-v2 · 161 tokens

crash-analyzer

Use this agent when the user has a crash log (.ips, .crash, or pasted text) that needs analysis. Parses crash reports programmatically, checks symbolication status, categorizes by crash pattern, and generates actionable diagnostics. user: "Analyze this crash log" [pastes crash report] assistant: [Launches…

Kasempiternal/axiom-v2 · 152 tokens