All Skills
Coding & EngineeringClaude Plugins (Official)

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).

Source 4GitHub stars

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

  1. Add the marketplace

    claude
    /plugin marketplace add anthropics/claude-plugins-official
  2. Install the skill

    claude
    /plugin install sourcegraph@claude-plugins-official
  3. Use 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.

Documentation

Full README

sourcegraph-claudecode-plugin

Sourcegraph plugin for Claude Code that adds:

  • Sourcegraph MCP server connectivity (code search, navigation, Deep Search, Code Finder, evaluator)
  • searching-sourcegraph skill 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 mcp scope

Set the required environment variables in your shell profile (.zshrc, .bashrc, etc.):

bash
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:

bash
# From a local clone
claude plugin marketplace add ./sourcegraph-claudecode-plugin

# Or directly from GitHub
claude plugin marketplace add sourcegraph-community/sourcegraph-claudecode-plugin

Then install:

bash
claude plugin install sourcegraph@sourcegraph-claudecode-plugin

Restart Claude Code after installing.

Install (per-session, for development)

More Coding & Engineering skills

Catalog data refreshed . Something wrong? Report it.