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-sharedWrote 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-shared)<a href="https://agentmods.dev/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared"><img src="https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared/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-shared"><img src="https://agentmods.dev/badge/skills/tqtuan1201/ttbaseuikit/ttb-skill-shared.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.00040 | $0.03261 |
| Opus 5 | $0.00020 | $0.01631 |
| Sonnet 5 | $0.00008 | $0.00652 |
| Haiku 4.5 | $0.00004 | $0.00326 |
Grade A, and why
ttb-skill-shared 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 10d 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 — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
ttb-skill-shared
Shared resources referenced by ALL TTBaseUIKit skill sets. Rules | Phases | References | Anti-Patterns | Standards | Scripts
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.mdfor feature updates, new features, and bug fixesttb-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.
For feature updates, new feature development, and bug fixes, always apply cross-functional analysis as Product Owner, Business Analyst, UX/UI Designer, Solution Architect, Senior Developer, and QA. Compare implementation options across business, 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 blocker clarification questions before design/development.
Directory Structure
ttb-skill-shared/
├── SKILL.md ← This file
├── ttb-skill-registry.md ← compatibility shim to ../ttb-skill-registry.md
├── routing/
│ ├── intent-manifest.json ← machine-readable semantic routing
│ ├── multilingual-aliases.json ← EN/VI aliases, typos, shorthand
│ ├── intent-router.md ← human-readable routing contract
│ └── router-examples.md ← routing regression examples
├── workflows/
│ └── ttb-workflow-standard.md ← preflight, state, retry, fallback, verification contract
├── rules/
│ ├── ttb-rule-anti-patterns.md ← Component, pattern, performance anti-patterns
│ ├── ttb-rule-coding-standards.md ← File header, imports, MARK, naming
│ ├── ttb-rule-memory-leaks.md ← Retain cycle & memory detection
│ └── ttb-rule-comments.md ← Doc comments, inline comments, SwiftUI MARK
├── phases/
│ ├── ttb-phase-feature-research.md ← Phase 1: Research & validation
│ ├── ttb-phase-feature-spec.md ← Phase 2: PRD, data model, BDD
│ ├── ttb-phase-implementation.md ← Phase 4: Build with xcodebuild
│ ├── ttb-phase-code-review.md ← Phase 5: FCR 7-Dimension audit
│ └── ttb-phase-verify.md ← Phase 6: Post-build verification (MANDATORY)
├── refs/
│ ├── ttb-ref-ttbasesui.md ← TTBaseSUI component reference
│ ├── ttb-ref-ttbaseuikit.md ← TTBaseUIKit API reference
│ ├── ttb-ref-config-tokens.md ← Colors, sizes, fonts
│ ├── ttb-ref-ios14-compatibility.md ← iOS 14 API compatibility guide
│ ├── ttb-ref-swiftui-performance.md ← SwiftUI performance optimization
│ ├── ttb-ref-swiftui-architecture.md ← Clean Architecture for SwiftUI
│ └── ttb-ref-navigation.md ← Navigation pattern reference (NEW)
├── fragments/
│ ├── ttb-preflight-execution-gate.frag.md ← requirement/context/ambiguity/confidence gate
│ ├── ttb-cross-functional-analysis-gate.frag.md ← product/BA/UX/architecture/dev/QA analysis gate
│ ├── ttb-iron-laws.frag.md ← 11 mandatory Iron Laws
│ └── ttb-marker.frag.md ← Code generation marker
├── templates/
│ ├── SKILL.md.template ← new skill template
│ ├── prompt.md.template ← new prompt template
│ └── ttb-clarification-survey.md ← standardized clarification surveys
└── scripts/
├── ttb-verify.sh ← Post-build verification
├── ttb-compliance-check.sh ← grep-based compliance checks
├── ttb-precheck.sh ← Pre-skill prerequisite gate
└── ttb-routing-validate.sh ← Routing metadata validation
What ships with it
34 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.
- fragments/ttb-cross-functional-analysis-gate.frag.md 3.7 KB
- fragments/ttb-iron-laws.frag.md 3.5 KB
- fragments/ttb-marker.frag.md 1.3 KB
- fragments/ttb-preflight-execution-gate.frag.md 6.9 KB
- phases/ttb-phase-code-review.md 5.4 KB
- phases/ttb-phase-feature-research.md 3.5 KB
- phases/ttb-phase-feature-spec.md 3.4 KB
- phases/ttb-phase-implementation.md 3.7 KB
- phases/ttb-phase-verify.md 11 KB
- refs/ttb-ref-config-tokens.md 8.5 KB
- refs/ttb-ref-ios14-compatibility.md 5.1 KB
- refs/ttb-ref-navigation.md 10 KB
- refs/ttb-ref-swiftui-architecture.md 14 KB
- refs/ttb-ref-swiftui-performance.md 4.5 KB
- refs/ttb-ref-ttbasesui.md 14 KB
- refs/ttb-ref-ttbaseuikit.md 9.7 KB
- routing/intent-manifest.json 12 KB
- routing/intent-router.md 6.3 KB
- routing/multilingual-aliases.json 4.3 KB
- routing/router-examples.md 2.0 KB
- rules/ttb-rule-anti-patterns.md 11 KB
- rules/ttb-rule-coding-standards.md 7.8 KB
- rules/ttb-rule-comments.md 6.0 KB
- rules/ttb-rule-memory-leaks.md 4.0 KB
- scripts/ttb-compliance-check.sh 5.8 KB runs code
- scripts/ttb-precheck.sh 6.4 KB runs code
- scripts/ttb-routing-validate.sh 2.0 KB runs code
- scripts/ttb-verify.sh 10 KB runs code
- templates/prompt.md.template 2.3 KB
- templates/README.md 2.5 KB
- templates/SKILL.md.template 3.3 KB
- templates/ttb-clarification-survey.md 4.7 KB
- ttb-skill-registry.md 1.8 KB
- workflows/ttb-workflow-standard.md 6.0 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.
- 10d ago First seen · 241 lines · 40 tokens per session scan A 3266c9b694b1
ttb-skill-shared is a skill published in the GitHub repository tqtuan1201/TTBaseUIKit (23 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 3,261 once invoked, about $0.0002 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
ai-loop
Runs a bounded spec-build-review development loop with explicit scope, stop conditions, and human approval gates for risky or ambiguous work.
mpm-workflow
Manage and customize MPM workflow configurations with local overrides.
langgraph
LangGraph 1.x (LTS) Python workflow patterns for state management, delta channels, resilience (node timeouts, error handlers, graceful drain), routing, parallel execution, supervisor-worker, tool calling, checkpointing, human-in-loop, streaming (v2 format), subgraphs, and functional API. Use when building LangGraph…
plan
Epic decomposition into trackable, right-sized tasks. Three modes — audit-aware (codebase-audit reports), workflow-audit-aware (handoff.yaml with pre-rated findings), standalone (from scratch). Light convention scanning for projects without CLAUDE.md.
workflow-audit
Systematic UI workflow auditing for SwiftUI applications. Discovers entry points, traces user flows, detects dead ends and broken promises, audits data wiring, evaluates from user perspective. Triggers: "workflow audit", "audit flows", "find dead ends", "check navigation".
aios-workflow-router
A workflow router for AIOS, a system that chooses and runs software-development capabilities. It coordinates planning, execution, safety checks, teams, recovery, and verification.