lsp-local-symbols

Analyze source files to list symbols, highlight usages, and retrieve type info.

102|5|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/blackwell-systems/agent-lsp --skill lsp-local-symbols
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lsp-local-symbols
Source: https://github.com/blackwell-systems/agent-lsp/tree/main/skills/lsp-local-symbols
Command: npx skills add https://github.com/blackwell-systems/agent-lsp --skill lsp-local-symbols

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fast file-scoped symbol analysis — find all usages of a symbol within the current file, list all symbols defined in the file, and get type info at a position. Use when you need local-scope analysis without a workspace-wide search.

Core Features & Use Cases

  • Find all definitions and declarations within the current file.
  • Locate every usage of a symbol inside the file to support quick refactoring.
  • Retrieve type information at a specific location to confirm symbol shape.

Quick Start

Open the target file and use the lsp commands to list symbols, view their usages, and retrieve type information at the cursor position.

Frequently Asked Questions about lsp-local-symbols

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find all usages of a symbol within a single source file?

File-scoped symbol analysis identifies all symbol usages within the current source file by applying local LSP commands to highlight occurrences inside the active document for quick refactoring.

What is file-scoped symbol analysis and when do I need it?

File-scoped symbol analysis identifies definitions, usages, and type information within a single source file, needed when you require local-scope analysis without triggering a full workspace-wide search.

How do I list all symbols defined in the current file?

Open the target document and use local LSP commands to list all symbols defined in the current file, retrieving document symbols for quick lookups and code navigation across supported languages.

Do I need an active agent-lsp server to retrieve local type info?

Yes, retrieving type information at a specific location requires an active agent-lsp MCP server to process local LSP commands and confirm symbol shapes across supported programming languages.

Can I get type information at a specific position in my code?

Yes, you can retrieve type information at a specific cursor position in your code. This local analysis confirms the symbol shape and type details without needing a full workspace search.

What are the limitations of local file-scoped symbol analysis?

The limitation of local file-scoped symbol analysis is that it only applies to code navigation, quick symbol lookups, and local refactoring within the active file, excluding workspace-wide searches and cross-file references.