sourcegraph-nav
Navigates code using Sourcegraph to locate where symbols are defined and find all places they are used.
Identity proven by GitHub's verified organisation badge (sourcegraph)
- Agents
- Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode
- License
- No license stated
- Pin
- 16a8a85pinned Oct 9, 2026
- Context cost
- about 580 tokenswhen the skill loads
- GitHub stars
- 1on sourcegraph/sourcegraph-mcp-library
- Scripts
- 2 scripts
What it does
“Navigate code using Sourcegraph to find where symbols are defined and where they're used. Use this when you need to jump to a definition or find all references to a function, class, or variable.”
Generated summary from the skill's own text
Navigates code using Sourcegraph to locate where symbols are defined and find all places they are used. Enables jumping to definitions, tracing references across files, and analyzing code impact before refactoring.
When to use it
- Finding where a function, class, or variable is defined in the codebase
- Locating all usages of a symbol across multiple files
- Analyzing impact before refactoring code
- Understanding how functions call each other
When not to
- Searching for text patterns in strings or comments
- When you need general keyword search rather than precise symbol navigation
Install
No license stated: install from the publisher's repository, and ask the author before you reuse or share it.
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add sourcegraph/sourcegraph-mcp-library --skill sourcegraph-navInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install sourcegraph/sourcegraph-mcp-library sourcegraph-nav@16a8a853111525dff110687809a5e2db150a0eb9Installs the commit we checked (16a8a85).
Copy by hand
Download the folder at 16a8a85 and put it in .claude/skills/sourcegraph-nav for Claude Code and in .agents/skills/sourcegraph-nav for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install sourcegraph@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "sourcegraph-nav" by Sourcegraph. Source, pinned to commit 16a8a853111525dff110687809a5e2db150a0eb9: https://github.com/sourcegraph/sourcegraph-mcp-library/tree/16a8a853111525dff110687809a5e2db150a0eb9/src/scenarios/bug-fixing-tests/get-logger-references 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/sourcegraph-nav/ for Claude Code and .agents/skills/sourcegraph-nav/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Its license is restricted or not stated. Show me the license terms from the repository before you copy anything. Listing and checks: https://www.agentnative.dev/skills/sourcegraph/sourcegraph-nav
SKILL.md at the pin
The license of this skill does not let us show its files here.
Files
- SKILL.md2.7 KB · 1a1ebe9b0b08
- index.ts3.0 KB · 3f1c0bed161c
- timeline.ts6.2 KB · cf3223fee8b6
- with-mcp.trajectory.json47 KB · 84a65b6528c3
- without-mcp.trajectory.json4.0 KB · 5f9bb20d3fc6
5 files, 63 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 16a8a85More from Sourcegraph
searching-sourcegraph
This skill enables agents to search and navigate codebases using Sourcegraph, with guided workflows for finding implementations, understanding systems…
Claude Code, Codex, Cursor +4 · about 2.2K tokens · pinned 6 days ago
codeprobe-calibrate
This skill runs a validation gate for a curator version by comparing it against a holdout dataset and a reference curator.
Claude Code · about 870 tokens · pinned 6 days ago
codeprobe-check-infra
This skill diagnoses whether mined task directories can run safely by checking for capability drift and verifying credential time-to-live against expected…
Claude Code · about 970 tokens · pinned 6 days ago
codeprobe-interpret
This skill analyzes results from codeprobe benchmark runs by comparing configurations, computing statistical rankings, and generating actionable…
Claude Code · about 920 tokens · pinned 6 days ago
codeprobe-mine
Extracts reusable eval tasks from a repository's merge history using the codeprobe CLI.
Claude Code · about 1.6K tokens · pinned 6 days ago
codeprobe-run
Execute eval task suites against an AI coding agent using codeprobe, spawning isolated sessions and scoring each task with automated tests.
Claude Code · about 1.5K tokens · pinned 6 days ago
Related in Coding workflow
planning
This skill orchestrates multi-workflow projects with dependencies and shared data tables by creating a task graph in the orchestrator via the create-tasks tool.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 2.4K tokens · pinned 6 days ago
progressive-building
This skill implements incremental workflow development for agents building or extending workflows.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 1.4K tokens · pinned 6 days ago
workflow-builder
Builds and edits n8n workflows using the TypeScript SDK.
by n8nOfficial publisher
Claude Code, Codex, Cursor +3 · about 14.2K tokens · pinned 6 days ago
remotion-upgrade
This skill upgrades Remotion and its related packages to the latest stable version.
by RemotionOfficial publisher
Claude Code, Codex, Cursor +3 · about 460 tokens · pinned 6 days ago
remotion-upgrade
This skill upgrades Remotion and related packages across a project, automatically detecting the package manager and workspaces.
by RemotionOfficial publisher
Claude Code, Codex, Cursor +3 · about 460 tokens · pinned 6 days ago
final-release-review
Audits Python SDK release candidates or plans against the previous release, comparing diffs for regressions, API changes, and version compatibility.
by OpenAIOfficial publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 5.4K tokens · pinned 6 days ago
Open roles at Sourcegraph
2 open roles on the jobs board
- ML & Agentic Systems Engineer [IC4]
Remote (Europe or North America) (Remote)
- Tech Lead - Code Plane [IC5]
Remote (Remote)