searching-sourcegraph
Installation
SKILL.md
Searching Sourcegraph
You have access to Sourcegraph search and code navigation tools through MCP.
Tools
nls_search({ query }): semantic search for natural-language exploration.keyword_search({ query }): keyword or regex search using Sourcegraph query syntax.read_file({ repo, path, startLine?, endLine?, revision? }): fetch file contents.list_repos({ query, limit?, after?, before? }): discover relevant repositories.list_files({ repo, path?, revision? }): list files and directories.go_to_definition({ repo, path, symbol, revision? }): locate symbol definitions.find_references({ repo, path, symbol, revision? }): find symbol usage.commit_search({ repos, messageTerms?, authors?, contentTerms?, files?, after?, before? }): search commit history.diff_search({ pattern, repos, added?, removed?, author?, after?, before? }): search code diffs.compare_revisions({ repo, base, head, first?, after? }): compare two revisions.get_contributor_repos({ author, limit?, minCommits? }): discover contributor activity by repo.deepsearch({ question }): run Sourcegraph Deep Search for complex, multi-step questions.deepsearch_read({ identifier }): read a Deep Search conversation by URL or token.