sourcegraph-integration
Sourcegraph code search across repositories. Use for searching code patterns, finding implementations, and exploring codebases. Supports repo and file filters.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Sourcegraph Code Search
Authentication
IMPORTANT: Credentials are injected automatically by a proxy layer. Just run the scripts directly.
Available Scripts
All scripts are in .claude/skills/vcs-sourcegraph/scripts/
search.py - Code Search
python .claude/skills/vcs-sourcegraph/scripts/search.py --query "func handleError" [--repo-filter "github.com/org/*"] [--file-filter "*.go"] [--limit 20]
Search Syntax
| Filter | Example | Description |
|---|---|---|
repo: |
repo:github.com/org/* |
Filter by repository |
file: |
file:*.py |
Filter by file path |
lang: |
lang:python |
Filter by language |
type: |
type:symbol |
Search type (symbol, file, diff, commit) |
Regex patterns are supported in queries.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-03-11
- Index updated
- 2026-03-11
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!