npx skills add ajaynz/sourcegraph-skillREADME
Sourcegraph Skills
AI agent skills for searching and understanding codebases with Sourcegraph.
Installation
Claude Code
npx skills add sourcegraph-community/sourcegraph-skill --skill "searching-sourcegraph"
Or manually copy the .claude/skills/ directory to your project or ~/.claude/skills/.
Any Agent
The skills follow the Agent Skills open standard and can be used with any compatible AI agent.
Available Skills
searching-sourcegraph
Search Sourcegraph-indexed codebases for patterns, examples, and system understanding.
Use when:
- Implementing new features (find similar patterns first)
- Understanding unfamiliar code ("how does X work")
- Debugging issues (trace errors and recent changes)
- Finding examples of API usage
Tools used:
sg_keyword_search- Exact pattern matchingsg_nls_search- Semantic/concept searchsg_deepsearch_read- Architectural understandingsg_find_references- Trace symbol usagesg_go_to_definition- Jump to implementationssg_read_file- Read file contentssg_diff_search- Find code changessg_commit_search- Search commit history
Structure
.claude/skills/searching-sourcegraph/
├── SKILL.md # Main skill instructions
├── query-patterns.md # Regex patterns reference
├── examples/
│ └── common-searches.md # Real-world examples
└── workflows/
├── implementing-feature.md
├── understanding-code.md
└── debugging-issue.md
Publisher
Statistics
Stars0
Forks0
Open Issues0
CreatedJan 21, 2026