Navigator: Skill for Claude Code

.claude/skills/swiftui-navigation-navigator/SKILL.md

swiftui-navigation-navigator is a skill for Claude Code from hmlongco/Navigator. It costs 73 tokens per session (1,468 once invoked), scanned A, original, MIT.

A navigation guide for SwiftUI apps that use the Navigator or NavigatorUI library. SwiftUI is Apple's framework for building app interfaces, and navigation controls how screens and links move between views.

In plain words
What is it for?
Use it to implement screen navigation, links, deep links, return points, modular destinations, and navigation-related discussions in SwiftUI codebases using Navigator.
Why use it?
It provides consistent patterns for moving between screens and handling destinations, deep links, checkpoints, sheets, and dismissible views in Navigator-based projects.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is hmlongco/Navigator's own configuration. It tells Claude Code how to work on Navigator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Navigator configures →

Part of the .claude plugin — 1 skill shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to hmlongco/Navigator. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hmlongco/Navigator/main/.claude/skills/swiftui-navigation-navigator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hmlongco/Navigator

Made for: Claude Code.

Or install .claude, the plugin that ships this one along with the rest of its 1 skill.

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 swiftui-navigation-navigator

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmlongco/navigator/swiftui-navigation-navigator/github.svg)](https://agentmods.dev/skills/hmlongco/navigator/swiftui-navigation-navigator)
Your own site
<a href="https://agentmods.dev/skills/hmlongco/navigator/swiftui-navigation-navigator"><img src="https://agentmods.dev/badge/skills/hmlongco/navigator/swiftui-navigation-navigator/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.

agentmods 80×15 button for swiftui-navigation-navigator

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmlongco/navigator/swiftui-navigation-navigator"><img src="https://agentmods.dev/badge/skills/hmlongco/navigator/swiftui-navigation-navigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,468 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.01468
Opus 5 $0.00036 $0.00734
Sonnet 5 $0.00015 $0.00294
Haiku 4.5 $0.00007 $0.00147

Measured 12d ago against content hash 202e0e961e5c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

swiftui-navigation-navigator 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 12d 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.

.claude/skills/swiftui-navigation-navigator/SKILL.md · 59 lines

How it starts

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

SwiftUI Navigation with Navigator

When assisting the user with SwiftUI navigation in a project that uses Navigator or the NavigatorUI library, follow the conventions and patterns below. The skill is agent-agnostic; apply it whenever the user mentions Navigator, NavigatorUI, SwiftUI navigation, deep linking, checkpoints, managed navigation stack, or navigation destinations.

When to use this skill

Apply this skill when the user:

  • Mentions Navigator, NavigatorUI, or navigation in a Navigator-based codebase.
  • Asks about SwiftUI navigation patterns (push, sheet, deep link, return to a screen).
  • Works on deep linking, checkpoints, routes, or dismissible behavior.
  • Defines or refactors NavigationDestination enums or ManagedNavigationStack usage.

Core conventions

  • Destinations: Enums conforming to NavigationDestination (Hashable + View). Provide a body that returns the correct view for each case; use associated values for parameters. Do not use NavigationLink(value:label:) or NavigationLink(destination:label:) for destination-driven navigation when using Navigator's no-registration flow.
  • Links: Use NavigationLink(to: SomeDestination.case, label: { ... }), or the text shorthand NavigationLink("Title", to: SomeDestination.case) (Navigator 2.1.2+; title may be a String, LocalizedStringKey, or LocalizedStringResource). Navigator wraps the value internally; no per-type navigationDestination(for: MyType.self) registration is required.
  • Stack: Use ManagedNavigationStack { ... } where a NavigationStack would go. It provides the Navigator in the environment and a single internal registration for all NavigationDestination types.
  • Navigator access: Use @Environment(\.navigator) var navigator. Use the navigator for the current stack (from the closure of ManagedNavigationStack or from a child view). Do not assume the environment navigator is the root when inside a tab or presented view—it is the navigator for that stack.

Read the full file on GitHub · 59 lines

Files

What ships with it

6 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.

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. 12d ago First seen · 59 lines · 73 tokens per session scan A 202e0e961e5c

Subscribe to this mod's changes

swiftui-navigation-navigator is a skill published in the GitHub repository hmlongco/Navigator (540 stars, last pushed 15d ago), licensed MIT. It adds 73 tokens to every session and 1,468 once invoked, about $0.0004 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 skills, from other repositories

ttb-skill-swiftui

SwiftUI full-stack development for TTBaseUIKit apps. Use for SwiftUI/SUIBaseView/TTBaseSUI screens, reusable SwiftUI views, list/grid screens, SwiftUI ViewModels, and native SwiftUI fallback when TTBaseSUI has no equivalent. Supports English and Vietnamese user prompts. iOS 14+.

tqtuan1201/TTBaseUIKit · 74 tokens

SwiftUI Multiplatform Design Guide

Unified SwiftUI architecture for iOS, iPadOS, macOS, and visionOS with spatial design principles.

mosif16/codex-Skills · 31 tokens

app-store-review

Evaluates code against Apple's App Store Review Guidelines. Use this skill when reviewing iOS, macOS, tvOS, watchOS, or visionOS app code (Swift, Objective-C, React Native, or Expo) to identify potential App Store rejection issues before submission. Triggers on tasks involving app review preparation, compliance…

jacklandrin/OnlySwitch · 76 tokens

swift-concurrency-pro

Reviews Swift code for concurrency correctness, modern API usage, and common async/await pitfalls. Use when reading, writing, or reviewing Swift concurrency code.

jacklandrin/OnlySwitch · 35 tokens

swiftui-pro

Comprehensively reviews SwiftUI code for best practices on modern APIs, maintainability, and performance. Use when reading, writing, or reviewing SwiftUI projects.

jacklandrin/OnlySwitch · 36 tokens

iOS SwiftUI Accessibility

Enforces WCAG 2.2 accessible coding patterns when writing SwiftUI — labels, traits, Dynamic Type, contrast, touch targets, focus management, orientation, and more. Based on the ios-swiftui-accessibility-techniques project with 41 static analysis rules across 23 WCAG criteria.

cvs-health/ios-swiftui-accessibility-techniques · 67 tokens