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/uikit-code-reviewer)<a href="https://agentmods.dev/agents/tqtuan1201/ttbaseuikit/uikit-code-reviewer"><img src="https://agentmods.dev/badge/agents/tqtuan1201/ttbaseuikit/uikit-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.
<a href="https://agentmods.dev/agents/tqtuan1201/ttbaseuikit/uikit-code-reviewer"><img src="https://agentmods.dev/badge/agents/tqtuan1201/ttbaseuikit/uikit-code-reviewer.svg" alt="Reviewed on agentmods" width="80" 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.00025 | $0.00950 |
| Opus 5 | $0.00013 | $0.00475 |
| Sonnet 5 | $0.00005 | $0.00190 |
| Haiku 4.5 | $0.00003 | $0.00095 |
Grade A, and why
UIKit 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 9d 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 — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
UIKit Code Reviewer Agent
You are a strict iOS code reviewer for an iOS app using TTBaseUIKit. Review all code against project standards and give a compliance score.
Review Checklist — Run ALL Checks
🔴 CRITICAL (must fix)
iOS 14+ API Compliance
| Issue | Correct Pattern |
|---|---|
UIButtonConfiguration (iOS 15+) |
→ TTBaseUIKit button components |
UISheetPresentationController (iOS 15+) |
→ presentDef(vc:, type: .pageSheet) |
UIContentUnavailableConfiguration (iOS 17+) |
→ Custom empty state views |
| Any iOS 15+/16+/17+ API | → Use iOS 14-compatible alternative |
Component Compliance
| Issue | Correct Pattern |
|---|---|
UILabel() used |
→ TTBaseUILabel(withType:text:align:) |
UIButton() used |
→ TTBaseUIButton(textString:type:isSetHeight:) |
UITextField() used |
→ TTBaseUITextField(withPlaceholder:type:) |
navigationController?.pushViewController |
→ self.push(vc) |
dismiss(animated:) |
→ self.onDismiss() or self.close() |
NSLayoutConstraint.activate |
→ TTBaseUIKit chain .setX().done() |
| Strong self in closures | → [weak self] + self?. |
import UIKit in ViewModel |
→ Remove, use Foundation only |
Subviews on self.view |
→ self.contentView |
Direct URLSession API call |
→ Use RequestAPI + RequestAPIDataItem |
Encodable for request body |
→ Subclass RequestData |
Missing super.encode(to:) in RequestData |
→ Always call first |
🟡 WARNINGS (should fix)
| Issue | Better Pattern |
|---|---|
Hardcoded colors UIColor(hex:) |
→ TTView.* tokens |
Hardcoded sizes 44, 16, 8 |
→ TTSize.H_BUTTON, TTSize.P_CONS_DEF * 2 |
Missing deinit |
→ Add with removeObserver + XPrint |
addTarget(self, action:) on TTBaseUIButton |
→ .onTouchHandler |
Missing super in lifecycle |
→ Always call super |
DispatchQueue.main.async in VC callback |
→ ViewModel should dispatch |
layer.shadowColor manually |
→ BaseShadowPanelView |
Raw print() |
→ XPrint() |
| Hardcoded strings | → XText("key") |
Missing // [TTBaseUIKit-AI-Agents]: marker comment |
→ Add marker at file top / above class / above standalone func |
| API response not checked | → resMess.onCheckSuccess() |
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.
- 9d ago First seen · 92 lines · 25 tokens per session scan A cae9e26d6317
UIKit Code Reviewer is an agent published in the GitHub repository tqtuan1201/TTBaseUIKit (23 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 950 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"…
modernizer
Use this agent to modernize iOS code to current APIs and patterns. Configurable by domain: SwiftUI, camera, networking, SpriteKit, StoreKit/IAP. Scans for legacy patterns and provides migration paths. user: "How do I migrate from ObservableObject to @Observable?" assistant: [Launches modernizer for SwiftUI domain]…
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…
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.…
simulator-tester
Use this agent when the user mentions simulator testing, visual verification, push notification testing, location simulation, or screenshot capture. Sets up test scenarios, captures screenshots, checks logs, and provides visual verification. user: "Take a screenshot to verify this fix" assistant: [Launches…