- name
SKILL.md
स्किल फ़ाइल पब्लिशर की रिपॉज़िटरी में ही रहती है।
कॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add omagents/omagents --skill lsp-guide -a cursor -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add omagents/omagents --skill lsp-guide -a claude-code -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add omagents/omagents --skill lsp-guide -a codex -yकॉपी की गई कमांड टर्मिनल में पेस्ट करें। यह इस SKILL.md को उस एजेंट में इंस्टॉल करती है।
npx skills add omagents/omagents --skill lsp-guide -a grok -yकॉपी किया गया संदेश Grok Bot चैट में भेजें। Bot यह SKILL.md GitHub से लाता है और उसे उन स्किल में जोड़ देता है जो आपके सभी Bot साझा करते हैं।
Install this skill: https://github.com/omagents/omagents/tree/HEAD/packages/core/skills/lsp-guideपब्लिशर से
OpenCode has built-in LSP support. This skill helps you choose the right tool for each job.
LSP must be enabled in the project:
// opencode.json
{ "lsp": true }
The lsp tool is experimental. Set this environment variable:
export OPENCODE_EXPERIMENTAL_LSP_TOOL=true
What do you need?
│
├─ Definition / Reference / Hover / Symbol
│ └─ Use OpenCode's built-in `lsp` tool
│ Operations: goToDefinition, findReferences, hover,
│ documentSymbol, workspaceSymbol,
│ goToImplementation, incomingCalls, outgoingCalls
│
├─ Call path / Impact radius / Blast radius
│ └─ Use codegraph MCP: codegraph_codegraph_explore
│ Returns verbatim source + call paths between symbols
│
├─ Precise text search (regex)
│ └─ Use grep tool (ripgrep under the hood)
│
├─ File pattern matching
│ └─ Use glob tool
│
├─ AST pattern matching / structural rewrite
│ └─ Use ast-grep skill (if installed) or fallback to grep
│
└─ Diagnostics (errors/warnings)
└─ Use `lsp` tool with lsp_diagnostics
OR run the project's linter directly via bash
OpenCode auto-detects LSP servers by file extension:
Full list: https://opencode.ai/docs/lsp/
Guide agents to use the right code intelligence tool: OpenCode's native LSP, codegraph MCP, grep, or ast-grep. Trigger when the agent needs code navigation, definition lookup, reference finding, renam
---name: lsp-guidedescription: Guide agents to use the right code intelligence tool: OpenCode's native LSP, codegraph MCP, grep, or ast-grep…---# packages/core/skills/lsp-guide/SKILL.mdओवरव्यू
Guide agents to use the right code intelligence tool: OpenCode's native LSP, codegraph MCP, grep, or ast-grep. Trigger when the agent needs code navigation, definition lookup, reference finding, renaming, or diagnostics.
FAQ
पब्लिशर से packages/core/skills/lsp-guide/SKILL.md डाउनलोड करें, या पाथ कॉपी करके रिपॉज़िटरी खोलें। PlugMCP स्किल को सूचीबद्ध करता है, फ़ाइल होस्ट नहीं करता।
पब्लिशर इसे https://github.com/omagents/omagents पर रखता है।
Claude, Cursor, Codex और Grok Build वह SKILL.md पढ़ सकते हैं जिसे आप पब्लिशर की रिपॉज़िटरी से जोड़ते हैं। जब आप चैट में स्किल के GitHub फ़ोल्डर का लिंक भेजते हैं, तो Grok Bot उसे इंस्टॉल कर देता है।