language-server-navigation

language-server-navigation is a skill for Codex from p1va/symbols. It costs 44 tokens per session (617 once invoked), scanned A, original, MIT.

A workflow for using a language server to understand and change code based on its actual symbols and relationships. A language server is a program that understands a programming language and can locate definitions, references, errors, and rename targets.

In plain words
What is it for?
Use it to inspect symbols, find references, rename code safely, view file structure, discover APIs, and check diagnostics.
Why use it?
It reduces mistakes caused by treating code as plain text, especially when the same name appears in unrelated places.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

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.

agentmods
npx agentmods add skills/p1va/symbols/language-server-navigation
Any agent
npx skills add p1va/symbols --skill language-server-navigation
Clone the repo
git clone --depth 1 https://github.com/p1va/symbols

Made for: Codex.

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 language-server-navigation

README.md
[![agentmods](https://agentmods.dev/badge/skills/p1va/symbols/language-server-navigation.svg)](https://agentmods.dev/skills/p1va/symbols/language-server-navigation)
Your own site
<a href="https://agentmods.dev/skills/p1va/symbols/language-server-navigation"><img src="https://agentmods.dev/badge/skills/p1va/symbols/language-server-navigation.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 617 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00044 $0.00617
Opus 5 $0.00022 $0.00309
Sonnet 5 $0.00009 $0.00123
Haiku 4.5 $0.00004 $0.00062

Measured 5d ago against content hash 872d33cfef21, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

language-server-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 5d 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.

.agents/skills/language-server-navigation/SKILL.md · 54 lines

How it starts

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

Language Server Navigation

Use this skill when the codebase already has a relevant language server, or when the task should check that first. The goal is to use the current Language Servers tool surface deliberately instead of falling back to grep-driven workflows too early.

For a compact tool-selection cheat sheet, read references/tool-selection.md.

Workflow

  1. Check language-servers://profiles for a matching profile.
    • If there is no suitable profile, use the install-language-server skill.
  2. Start with the narrowest LSP-backed tool that answers the question.
    • outline for file structure and symbol locations
    • inspect for symbol details and docs
    • references for usages
    • rename for semantic renames
    • diagnostics for compile or type errors
    • completion for API discovery at a point
    • search when the server supports language-aware search
  3. Use a real file path and precise line and character coordinates.
    • If the user did not provide coordinates, use outline first to find them.
  4. Treat file-backed tool calls as stateful.
    • They can lazily start a dormant session.
    • They can change the runtime state you see in the resources.
  5. If results look wrong, inspect:
    • language-servers://profiles/{name}
    • language-servers://profiles/{name}/logs
    • then use reload only if the config changed

Tool Choice Rules

  • Prefer rename over grep-based renames when a matching LSP exists.
  • Prefer references over text search for call sites or symbol usage.
  • Prefer inspect over opening arbitrary files when you need docs, types, or declaration context.
  • Use search only when the server and current indexing state can support it.
  • Use plain text tools only when there is no working LSP profile or when the task is explicitly text-based.

Known Runtime Behaviors

  • not_started after reload is normal. The first matching file-backed tool call should start the profile.
  • Search quality varies by server. TypeScript 7's native server does not normally need a preload anchor; the legacy typescript-language-server wrapper may still benefit from bounded, glob-based preload_files entries.
  • Logs are best-effort. A running server may still have no window-log messages.
  • Resources are the read surface. Use them for state and log inspection before guessing.

Read the full file on GitHub · 54 lines

Files

What ships with it

2 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. 5d ago First seen · 54 lines · 44 tokens per session scan A 872d33cfef21

Subscribe to this mod's changes

language-server-navigation is a skill published in the GitHub repository p1va/symbols (3 stars, last pushed 1mo ago), licensed MIT. It adds 44 tokens to every session and 617 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-31.

Related

Other skills, from other repositories

x402-list

Discover x402 payment services and on-chain-verified facilitator settlement volume via the x402-list directory. Use when a user or agent needs to find an API/service that accepts x402 (HTTP 402 stablecoin) payments, compare services by reliability and price, check service uptime/health, see whether a service has…

mcccsm/x402-list-mcp · 99 tokens

anyapi

Get live data from LinkedIn, Instagram, TikTok, YouTube, X/Twitter, Reddit, Facebook, Google Search, Google Maps, and Amazon, plus clean JSON from any web page that blocks bots - one key, USD pay-per-request, free trial built in. Use whenever a task needs third-party data that a direct fetch or a general web search…

getanyapi-com/skills · 0 tokens

plan-equity-portfolio

Build one prioritized plan across a person's whole equity position - incentive stock options (ISOs), non-qualified stock options (NSOs), restricted stock units (RSUs), and held company stock - instead of answering one grant at a time. Use when someone has more than one grant type, asks "what should I do with my…

AlvisoOculus/optionsahoy-mcp · 113 tokens

equity-comp-tax

Equity-compensation tax planning. Use when the user asks about exercising incentive stock options (ISO) or the alternative minimum tax (AMT), non-qualified stock option (NSO) exercise tax, restricted stock unit (RSU) vesting decisions, Section 1202 Qualified Small Business Stock (QSBS) qualification, single-stock…

AlvisoOculus/optionsahoy-mcp · 123 tokens

charming

Create, update, inspect, or troubleshoot Charming-hosted interactive web apps via the Charming MCP server, or connect an AI client (Claude, Cursor, Codex, Gemini CLI, ChatGPT) to Charming.

tambo-labs/charming-mcp · 45 tokens

bestprice-shopping

Guide for using BestPrice Shopping MCP tools effectively.

TheBestCo/bestprice-mcp · 13 tokens