code-navigation

code-navigation is a skill for Claude Code from RSafargalin/sextant. It costs 74 tokens per session (664 once invoked), scanned A, original, Apache-2.0.

A guide for navigating and changing Swift, Objective-C, C, or C++ code with sextant's code index.

In plain words
What is it for?
Use it to inspect APIs, find callers, estimate what a change may affect, locate protocol implementations, search code structure, and compare declaration-level changes.
Why use it?
An index can find definitions, callers, implementations, and structural code patterns more reliably than text search, including links across languages.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sextant plugin — 1 skill, 1 command, 1 MCP server shipped together

Good fit Use it to inspect APIs, find callers, estimate what a change may affect, locate protocol implementations, search code structure, and compare declaration-level changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rsafargalin/sextant/code-navigation
Install

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.

Any agent
npx skills add RSafargalin/sextant --skill code-navigation
Clone the repo
git clone --depth 1 https://github.com/RSafargalin/sextant

Made for: Claude Code.

Or install sextant, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 MCP server.

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 code-navigation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rsafargalin/sextant/code-navigation"><img src="https://agentmods.dev/badge/skills/rsafargalin/sextant/code-navigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 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.
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.00074 $0.00664
Opus 5.5 $0.00030 $0.00266
Sonnet 5.5 $0.00015 $0.00133
Haiku 4.5 $0.00007 $0.00066

Measured 1mo ago against content hash bb3319970f8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-navigation 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 1mo 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.

plugins/sextant/skills/code-navigation/SKILL.md · 47 lines

How it starts

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

The project's build already wrote an index store — the data behind "jump to definition" in an editor. The sextant MCP tools read it. An exact answer is one call away, so a grep-and-read loop over the same question is both slower and wrong more often: a text search finds a name in a comment, misses a call spelled through a protocol, and cannot see across the Swift ↔ Objective-C boundary.

Ask the index, not the filesystem

The question What to do
Where is X defined? Who uses it? What does it call? One context call — not a Grep followed by three Reads
What breaks if I change X? blast_radius
Who calls this function? find_callers — it accounts for protocol dispatch, which grep cannot
What implements this protocol / subclasses this type? list_implementations
What does this package or type expose? api — an order of magnitude cheaper than reading the sources
Where is this code shape used (try? $X.save(), [$X reloadData])? structural_search — an AST pattern, not a regex
What changed between two revisions? changed — declaration-level, not a line diff
I need the implementation, not the signature body

Reach for Grep or a file read when the target is not a symbol: a string literal, a comment, a build setting, a resource, a file whose name you already know.

Read the index line of every answer

Every answer carries a line naming the store it was read from and whether it is fresh — the last line of the result, in brackets. Treat it as part of the answer:

  • stale — the store predates the current sources; a symbol added since the last build is absent from it. Say so rather than reporting "no references".
  • no index — the semantic tools return a hint instead of an empty result. Building one runs the project's own build (sextant index), and that is the user's decision to make, not a step to take on their behalf. Ask.
  • repo_map, structural_search and lint need no index for Swift; for Objective-C, C and C++ they need the compile flags that sextant index records.

Read the full file on GitHub · 47 lines

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. 1mo ago First seen · 47 lines · 74 tokens per session scan A bb3319970f8c

Subscribe to this mod's changes

code-navigation is a skill published in the GitHub repository RSafargalin/sextant (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 74 tokens to every session and 664 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

Other skills, from other repositories

sweetpad

Build, run, and test Xcode and Swift Package apps from the terminal with the sweetpad CLI ("xcodebuild for humans"). Use when the user wants to compile an iOS/macOS/Swift app, run it on a simulator or device, read build errors, run tests, or inspect resolved build settings from the command line — with agent-safe…

sweetpad-dev/sweetpad · 90 tokens

macos-rebuild-dev

A macOS development helper that stops the running Termio development app, rebuilds it with Swift Package Manager, and opens it again. It keeps the development app separate from the installed release app.

termio-sh/termio · 62 tokens

swift-concurrency

Diagnose Swift Concurrency issues, refactor callback-based code to async/await, and guide Swift 6 migration when working with tasks, actors, @MainActor, Sendable, data races, thread safety, or concurrency-related compiler and linter warnings.

AvdLee/Swift-Concurrency-Agent-Skill · 56 tokens

swift-testing-expert

Expert guidance for Swift Testing: test structure, #expect/#require macros, traits and tags, parameterized tests, test plans, parallel execution, async waiting patterns, and XCTest migration. Use when writing new Swift tests, modernizing XCTest suites, debugging flaky tests, or improving test quality and…

AvdLee/Swift-Testing-Agent-Skill · 73 tokens

swift-expert

Expert-level Swift development for iOS, macOS with SwiftUI, Combine, and modern Swift 5.9+. Use when the user mentions iOS, macOS, SwiftUI, Combine, async await, or Apple platforms, or when the task involves Modern Swift Features, Basics and Optionals, Functions and Closures, or Structs and Classes.

personamanagmentlayer/pcl · 76 tokens

ios-expert

Expert in iOS development with SwiftUI, UIKit, Combine, and Apple ecosystem integration. Use when the user mentions mobile, Swift, SwiftUI, UIKit, Apple platforms, or Xcode, or when the task involves iOS App Architecture, SwiftUI Fundamentals, UIKit Essentials, or Combine Framework.

personamanagmentlayer/pcl · 64 tokens