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.
git clone --depth 1 https://github.com/tqtuan1201/TTBaseUIKitWrote 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.
[](https://agentmods.dev/agents/tqtuan1201/ttbaseuikit/localization-audit)<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>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.
| Model | Per session | Once 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 |
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.
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"
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.
- 7d ago First seen · 125 lines · 24 tokens per session scan A 7aac2d174f3a
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.
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…
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"…
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.…
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…
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…
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…