nvim-lsp-navigation

nvim-lsp-navigation is a skill for Claude Code from shabaraba/vibing.nvim. It costs 102 tokens per session (772 once invoked), scanned A, original, MIT.

A guide for navigating code through Neovim's language server. A language server is a program that understands a programming language and can locate definitions, references, types, symbols, and diagnostics.

In plain words
What is it for?
Finding symbol definitions and references, checking types and documentation, viewing errors and warnings, exploring symbols, and tracing call relationships in a running Neovim session.
Why use it?
It gives more reliable answers than searching for matching text when code uses imports, overloads, generics, or other relationships that text search cannot understand.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Part of the vibing-nvim plugin — 12 skills, 1 agent shipped together

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/shabaraba/vibing.nvim/nvim-lsp-navigation
Any agent
npx skills add shabaraba/vibing.nvim --skill nvim-lsp-navigation
Clone the repo
git clone --depth 1 https://github.com/shabaraba/vibing.nvim

Made for: Claude Code.

Or install vibing-nvim, the plugin that ships this one along with the rest of its 12 skills, 1 agent.

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 nvim-lsp-navigation

README.md
[![agentmods](https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/nvim-lsp-navigation.svg)](https://agentmods.dev/skills/shabaraba/vibing.nvim/nvim-lsp-navigation)
Your own site
<a href="https://agentmods.dev/skills/shabaraba/vibing.nvim/nvim-lsp-navigation"><img src="https://agentmods.dev/badge/skills/shabaraba/vibing.nvim/nvim-lsp-navigation.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 772 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.00102 $0.00772
Opus 5 $0.00051 $0.00386
Sonnet 5 $0.00020 $0.00154
Haiku 4.5 $0.00010 $0.00077

Measured 6d ago against content hash 8405a87d4a72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

nvim-lsp-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 6d 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-plugin/skills/nvim-lsp-navigation/SKILL.md · 44 lines

How it starts

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

Neovim LSP Navigation

Text search (Grep/Glob) finds string matches; a language server understands imports, overloads, generics, and cross-file symbol resolution. When vibing-nvim MCP tools are available and the target filetype has an LSP client attached, prefer LSP-backed answers.

Before calling anything: pass rpc_port on every tool call — the exact value from your system prompt inside a vibing.nvim chat, or from your task prompt if you are a subagent. Only when neither supplies one, call nvim_list_instances; if that reports more than one instance, say which you found and ask rather than picking one. And if the mcp__vibing-nvim__ prefix below is unavailable, look for a tool name ending in the one you need — loaded as a plugin they are mcp__plugin_vibing-nvim_vibing-nvim__<tool>. The nvim-context skill explains both in full.

Tool mapping

Question Tool
Where is this symbol defined? mcp__vibing-nvim__nvim_lsp_definition
Where is this symbol used? mcp__vibing-nvim__nvim_lsp_references
What type/doc does this have? mcp__vibing-nvim__nvim_lsp_hover
What are the errors/warnings here? mcp__vibing-nvim__nvim_diagnostics
What symbols exist in this file? mcp__vibing-nvim__nvim_lsp_document_symbols
What's the underlying type of this alias? mcp__vibing-nvim__nvim_lsp_type_definition
Who calls this function? mcp__vibing-nvim__nvim_lsp_call_hierarchy_incoming
What does this function call? mcp__vibing-nvim__nvim_lsp_call_hierarchy_outgoing

Workflow

  1. LSP tools operate on a loaded buffer, not an arbitrary path. If the target file isn't open, load it in the background first with mcp__vibing-nvim__nvim_load_buffer (returns bufnr) — this doesn't disrupt the user's current window/view.
  2. Pass that bufnr plus 1-indexed line / 0-indexed col to the LSP tool for the exact symbol position.
  3. Surface relevant nvim_diagnostics results before proposing a fix for a file you're editing.
  4. Fall back to Grep/Glob for things LSP doesn't cover: string/comment search, config files, non-code text, or a filetype with no attached LSP client (an empty/error result from an LSP tool is a signal to fall back, not to retry).

Read the full file on GitHub · 44 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. 6d ago First seen · 44 lines · 102 tokens per session scan A 8405a87d4a72

Subscribe to this mod's changes

nvim-lsp-navigation is a skill published in the GitHub repository shabaraba/vibing.nvim (13 stars, last pushed yesterday), licensed MIT. It adds 102 tokens to every session and 772 once invoked, about $0.0005 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

context-optimizer

Reduce Claude AI token consumption by 5x-27x using prompt-native workflows and structural code manifests. Forces Claude to reason from CONTEXTMANIFEST.md first, fetch max 3 files per turn, and output in a strict compressed format. Use when user says optimize context, reduce tokens, context optimizer, manifest, blast…

anshmajumdar121/context-optimizer · 75 tokens

context-optimizer

Reduce Claude AI token consumption by 5x-27x using prompt-native workflows and structural code manifests. Forces Claude to reason from CONTEXTMANIFEST.md first, fetch max 3 files per turn, and output in a strict compressed format. Use when user says optimize context, reduce tokens, context optimizer, manifest, blast…

anshmajumdar121/context-optimizer · 75 tokens

telegram-setup

Connect a Telegram bot to the Vellum Assistant gateway with automated webhook registration and credential storage.

vellum-ai/vellum-assistant · 22 tokens

chat-complex-documents

Chat with and search your complex documents — ask questions, extract tables and fields, and get answers grounded in the source. Connects the hosted Unstructured Transform MCP server to parse, structure, and enrich PDFs, Word/Excel/PowerPoint, images, scanned files, emails, and 60+ other formats into clean, AI-ready…

vellum-ai/vellum-assistant · 90 tokens

analytics-strategy

Design measurement frameworks including event taxonomy, KPI hierarchy, dashboard architecture, attribution models, and analytics implementation strategy. Use this skill whenever the user wants to plan analytics, design dashboards, build event taxonomies, define KPIs, set up tracking, or audit existing measurement.…

rampstackco/claude-skills · 126 tokens

content-strategy

Develop a content strategy covering editorial positioning, content pillars, formats, calendar, governance, and topical authority planning. Use this skill whenever the user wants to plan a content program, define content pillars, build an editorial calendar, structure topic clusters, set up content governance, or align…

rampstackco/claude-skills · 120 tokens