Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/tqtuan1201/TTBaseUIKitnpx agentmods add skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-componentsWrote 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/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components)<a href="https://agentmods.dev/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components"><img src="https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components/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/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components"><img src="https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-native-swiftui-components.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.00055 | $0.05337 |
| Opus 5 | $0.00028 | $0.02669 |
| Sonnet 5 | $0.00011 | $0.01067 |
| Haiku 4.5 | $0.00006 | $0.00534 |
Grade A, and why
ttb-skill-native-swiftui-components 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 11d 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 — 452 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ttb-skill-native-swiftui-components
Build reusable native SwiftUI UI components using 100% standard SwiftUI primitives with TTBaseUIKit design tokens. NO TTBaseSUI wrappers | TTBaseUIKit rules still mandatory | iOS 14+
Mandatory Preflight Execution Gate
Before this skill generates code, refactors, migrates, modifies files, creates architecture, updates UI/navigation, changes dependencies, updates workflows, or changes business logic, run the shared gate:
ttb-skill-shared/fragments/ttb-preflight-execution-gate.frag.mdttb-skill-shared/fragments/ttb-cross-functional-analysis-gate.frag.mdwhen component work is part of a feature update, new feature, or bug fixttb-skill-shared/templates/ttb-clarification-survey.mdwhen confidence is below threshold
Required phase order: Requirement Analysis -> Context Validation -> Ambiguity Detection -> Missing Information Detection -> Survey / Clarification -> Confidence Evaluation -> Execution Approval.
Execution thresholds:
| Confidence | Action |
|---|---|
90-100 |
Execute directly and state key assumptions |
70-89 |
Execute only with documented low-risk assumptions |
<70 |
Do not execute; ask a concise survey first |
Cap confidence at 69 when target module, architecture direction, UIKit/SwiftUI choice, navigation behavior, API/business logic, localization format, state management, dependency info, or ownership is unclear. Parse English, Vietnamese, mixed-language, diacritic-free Vietnamese, and light typos before scoring.
When component work supports a feature update, new feature, or bug fix, analyze as Product Owner, Business Analyst, UX/UI Designer, Solution Architect, Senior Developer, and QA. Compare options across business value, architecture, UI/UX, performance, scalability, maintainability, security, testing, and operations; ask at least 5 value-expansion questions after analysis. If requirements are ambiguous/incomplete, ask at least 6 clarification questions before design/development.
What ships with it
21 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- refs/ttb-ref-native-design-tokens.md 8.9 KB
- ttb-skill-native-alert.prompt.md 11 KB
- ttb-skill-native-avatar.prompt.md 11 KB
- ttb-skill-native-bottom-sheet.prompt.md 11 KB
- ttb-skill-native-button.prompt.md 10 KB
- ttb-skill-native-card.prompt.md 12 KB
- ttb-skill-native-chip.prompt.md 11 KB
- ttb-skill-native-display.prompt.md 14 KB
- ttb-skill-native-divider.prompt.md 11 KB
- ttb-skill-native-empty-state.prompt.md 11 KB
- ttb-skill-native-icon.prompt.md 11 KB
- ttb-skill-native-input.prompt.md 12 KB
- ttb-skill-native-list-row.prompt.md 14 KB
- ttb-skill-native-loading.prompt.md 11 KB
- ttb-skill-native-progress.prompt.md 12 KB
- ttb-skill-native-rating.prompt.md 11 KB
- ttb-skill-native-section-header.prompt.md 11 KB
- ttb-skill-native-selector.prompt.md 12 KB
- ttb-skill-native-snackbar.prompt.md 11 KB
- ttb-skill-native-tab-bar.prompt.md 8.6 KB
- ttb-skill-native-text.prompt.md 8.3 KB
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.
- 11d ago First seen · 452 lines · 55 tokens per session scan A f3ec558b0039
ttb-skill-native-swiftui-components is a skill published in the GitHub repository tqtuan1201/TTBaseUIKit (23 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 5,337 once invoked, about $0.0003 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 skills, from other repositories
swiftui-native-component-design
Use when creating, designing, reviewing, or refactoring a reusable/custom SwiftUI view or component — especially one meant for a design-system module, a shared UI package, or anywhere multiple screens will call into it. Trigger on requests like "build a custom SwiftUI button/toggle/card/rating/badge component"…
ax-design-ref
Design API reference -- HIG color/background/material system, typography (San Francisco, text styles, Dynamic Type, tracking, leading), SF Symbols complete API (rendering modes, effects, UIKit equivalents, platform matrix), Liquid Glass adoption guide (controls, navigation, windows, icons, migration), accessibility…
ax-design
Apple Human Interface Guidelines and SF Symbols -- design decisions, rendering modes, symbol effects/animations, Draw animations (iOS 26), accessibility compliance, and defending HIG decisions in design reviews.
swiftui-liquid-glass
Implement or review SwiftUI Liquid Glass for iOS 26+, including glass effects and containers, controls, toolbars, tab bars, morphing transitions, tinting, scroll edges, background extension, and availability fallbacks. Use when adopting the Liquid Glass visual system.
swiftui-responsive-layout
Diagnose and implement adaptive SwiftUI layouts across iPhone and iPad window sizes, orientation, Dynamic Type, localization, safe areas, keyboard, and multitasking. Use when views clip, overlap, truncate, move off-screen, or depend on brittle fixed frames; route ordinary container selection to…
ios-accessibility
Implement or audit accessibility for SwiftUI, UIKit, and AppKit, including VoiceOver, Dynamic Type, focus, actions, traversal, contrast, motion preferences, keyboard access, and accessibility testing. Use when accessibility behavior or compliance evidence is in scope.