sourcegraph — Agent Skill
by sourcegraph-community · Updated
Code search and understanding across codebases. Search, read, and trace references across repositories; analyze refactor impact; investigate incidents via commit and diff search; run targeted security sweeps.
At a glance
sourcegraph is an Agent Skill by sourcegraph-community in the Coding & Engineering category. In Claude Code it installs with `/plugin install sourcegraph@claude-plugins-official` after adding the anthropics/claude-plugins-official marketplace; other assistants use its SKILL.md instructions as rules. Its source repository has 4 GitHub stars (as of Oct 28, 2026).
How to install sourcegraph in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install sourcegraph in Claude CodeAnthropic's agentic CLI
Add the marketplace
claude/plugin marketplace add anthropics/claude-plugins-officialInstall the skill
claude/plugin install sourcegraph@claude-plugins-officialUse it
These are slash commands for a Claude Code session, not your shell. Claude auto-invokes the skill when your request matches its description — or type its slash command if it exposes one.
How to install sourcegraph in Claude DesktopDesktop app (MCP config)
Clone the source
bashgit clone https://github.com/sourcegraph-community/sourcegraph-claudecode-plugin.gitAdd the SKILL.md to your Skills folder
Settings → Capabilities → Skills → add the folder containing SKILL.md. Claude picks it up automatically.
How to install sourcegraph in CursorAI-first code editor
Clone the source
bashgit clone https://github.com/sourcegraph-community/sourcegraph-claudecode-plugin.gitConvert to a Cursor rule
Create .cursor/rules/sourcegraph.mdc and paste the SKILL.md body. Set `alwaysApply` or a glob so the Agent loads it in context.
How to install sourcegraph in Codex CLIOpenAI coding agent
Clone the source
bashgit clone https://github.com/sourcegraph-community/sourcegraph-claudecode-plugin.gitReference in AGENTS.md
Add the skill's instructions (or a link) to AGENTS.md at your repo root — Codex reads it on every run.
How to install sourcegraph in WindsurfCodeium's agentic IDE
Clone the source
bashgit clone https://github.com/sourcegraph-community/sourcegraph-claudecode-plugin.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
How to install sourcegraph in ClineVS Code autonomous agent
Clone the source
bashgit clone https://github.com/sourcegraph-community/sourcegraph-claudecode-plugin.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
How to install sourcegraph in VS CodeCopilot / MCP support
Clone the source
bashgit clone https://github.com/sourcegraph-community/sourcegraph-claudecode-plugin.gitAdd to your rules / context
Paste the SKILL.md instructions into this tool's custom rules or workspace instructions so the agent follows them.
Documentation
Full READMEsourcegraph-claudecode-plugin
Sourcegraph plugin for Claude Code that adds:
- Sourcegraph MCP server connectivity (code search, navigation, Deep Search, Code Finder, evaluator)
searching-sourcegraphskill for disciplined search workflows (with supporting workflows and query patterns)
Prerequisites
- Claude Code version 1.0.33 or later (
claude --version) - A Sourcegraph instance with MCP enabled
- A Sourcegraph access token with
mcpscope
Set the required environment variables in your shell profile (.zshrc, .bashrc, etc.):
export SOURCEGRAPH_ENDPOINT="https://sourcegraph.example.com"
export SOURCEGRAPH_ACCESS_TOKEN="<your-token>"Install (permanent)
Add this repository as a marketplace, then install the plugin:
# From a local clone
claude plugin marketplace add ./sourcegraph-claudecode-plugin
# Or directly from GitHub
claude plugin marketplace add sourcegraph-community/sourcegraph-claudecode-pluginThen install:
claude plugin install sourcegraph@sourcegraph-claudecode-pluginRestart Claude Code after installing.
Install (per-session, for development)
More Coding & Engineering skills
- Coding & Engineering308k
superpowers
Superpowers teaches Claude brainstorming, subagent driven development with built in code review, systematic debugging, and red/green TDD. Additionally, it teaches Claude how to author and test new skills.
Claude Plugins (Official)by obra
- Coding & Engineering306k
mattpocock skills
Matt Pocock's agent skills for real engineering — grilling, spec/ticket flows, TDD, code review, domain modelling and more. Plug-and-play, not vibe coding.
Claude Plugins (Official)by mattpocock
- Coding & Engineering45k
asana
Asana project management integration. Connects Claude Code to Asana's V2 MCP server to create and manage tasks, search projects, update assignments, and track progress. Requires a one-time Asana OAuth app setup — run /asana-setup after installing.
Claude Plugins (Official)by anthropics
- Coding & Engineering45k
clangd lsp
C/C++ language server (clangd) for code intelligence
Claude Plugins (Official)by anthropics
- Coding & Engineering45k
code modernization
Guided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business rules mined from the code, and a plan you approve, then an upgrade, a rewrite or a rebuild with independent proof that the new code behaves like the old. Includes security hardening, a one-page repo…
Claude Plugins (Official)by anthropics
- Coding & Engineering45k
code review
Automated code review for pull requests using multiple specialized agents with confidence-based scoring to filter false positives
Claude Plugins (Official)by anthropics
Catalog data refreshed . Something wrong? Report it.