About code-search
code-search is a skill for finding and ranking GitHub implementations and libraries related to a topic. It builds search queries, parses repository metadata into findings, and can optionally use the GitHub API for richer details.
Key features
- 01Builds GitHub search queries
- 02Runs searches through WebSearch
- 03Parses repository metadata
- 04Optionally retrieves GitHub API details
- 05Ranks findings by relevance
Use cases
- 01Finding existing implementations of a topic
- 02Discovering relevant GitHub libraries
- 03Supporting a tome research session
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ athola/ claude-night-market --skill code-searchAfter installing, type/code-searchin Claude Code to confirm it loaded.
Details
From the project READMECode Search
When To Use
- Finding existing implementations or libraries on GitHub
- Part of a
/tome:researchsession or standalone search
When NOT To Use
- Searching local codebase (use Grep or Explore agent)
- Academic literature (use
Skill(tome:papers))
Search GitHub for implementations of a given topic.
Usage
Invoked as part of /tome:research or standalone.
Workflow
- Build search queries using
tome.channels.github.build_github_search_queries() - Execute queries via WebSearch
- Parse results via
parse_github_result()(returnsNonefor a result with no URL, which the caller drops) - Optionally use GitHub API via
build_github_api_search()for richer metadata - Rank via
rank_github_findings() - Return Finding objects
Exit Criteria
- At least one GitHub search query built and executed via WebSearch for the requested topic
- Results parsed into Finding objects containing repo metadata (name, URL, stars) and a relevance score
- Findings returned from
rank_github_findings()sorted by relevance score descending - If no results are found for the query, this is reported explicitly rather than returning an empty list silently
Comments
Markdown supported