sourcegraph-integration

star 629

Sourcegraph code search across repositories. Use for searching code patterns, finding implementations, and exploring codebases. Supports repo and file filters.

incidentfox By incidentfox schedule Updated 2/17/2026

name: sourcegraph-integration description: Sourcegraph code search across repositories. Use for searching code patterns, finding implementations, and exploring codebases. Supports repo and file filters. allowed-tools: Bash(python *)

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.

Install via CLI
npx skills add https://github.com/incidentfox/incidentfox --skill sourcegraph-integration
Repository Details
star Stars 629
call_split Forks 73
navigation Branch main
article Path SKILL.md
More from Creator