Skip to content
Kitbay
Skill

lsp-guide

MITUpdated on Nov 16, 2026360GitHub stars

A skill from the OmAgents toolkit that helps an agent in OpenCode choose the right way to navigate code.

What the skill teaches

A skill from the OmAgents toolkit that helps an agent in OpenCode choose the right way to navigate code. It explains how to turn on OpenCode's experimental built-in language server tool, then gives a decision tree: the language server for definitions, references, hover and symbols; the codegraph MCP server for call paths and the impact of a change; grep for text; glob for file names; ast-grep for structural patterns; and the project's linter for diagnostics across a project. A table lists the language servers OpenCode picks for 13 languages, and tips cover when a plain search is cheaper than starting a language server.

Capabilities

  • Find definitions and references with OpenCode's language server tool
  • Choose between language server, codegraph, grep and ast-grep
  • Get diagnostics for a file or project