github-search — how to use github-search how to use github-search, github-search setup guide, github-search alternative, github-search vs git, github-search install, what is github-search, github-search for developers, github-search efficient code search, github-search commands, github-search skill

v1.0.0
GitHub

About this Skill

Ideal for Development Agents requiring efficient GitHub repository and code search capabilities. github-search is a skill that allows developers to search GitHub using commands like 'gh search repos' and 'gh search code' to find specific repositories, code, issues, and PRs.

Features

Searches repositories using 'gh search repos' command
Finds code using 'gh search code' command with limit options
Supports searching issues with 'gh search issues' command
Allows searching PRs using 'gh search prs' command
Uses specific query formats for tailored search results
Limits search results with '--limit' option for efficient browsing

# Core Topics

majiayu000 majiayu000
[0]
[0]
Updated: 3/11/2026

Quality Score

Top 5%
36
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
> npx killer-skills add majiayu000/claude-skill-registry-data/github-search
Supports 18+ Platforms
Cursor
Windsurf
VS Code
Trae
Claude
OpenClaw
+12 more

Agent Capability Analysis

The github-search MCP Server by majiayu000 is an open-source Community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use github-search, github-search setup guide, github-search alternative.

Ideal Agent Persona

Ideal for Development Agents requiring efficient GitHub repository and code search capabilities.

Core Value

Empowers agents to efficiently search GitHub repositories, code, issues, and PRs using specific commands and protocols like `gh search repos`, `gh search code`, `gh search issues`, and `gh search prs`, leveraging GitHub's API for precise results.

Capabilities Granted for github-search MCP Server

Searching repositories by specific criteria like stars, language, or topic
Finding code snippets or examples within GitHub repositories using `gh search code`
Debugging issues or pull requests by searching for specific keywords or error messages

! Prerequisites & Limits

  • Requires GitHub API access or CLI installation
  • Limited to searching public repositories and code unless authenticated
  • Results limited to 30 items per query by default
Project
SKILL.md
4.0 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

GitHub Search

Quick Commands

GoalCommand
Search reposgh search repos "<query>" --limit 30
Search codegh search code "<query>" --limit 30
Search issuesgh search issues "<query>" --limit 30
Search PRsgh search prs "<query>" --limit 30

Patterns

Finding Repositories

When you see: User wants to find projects/repos by criteria Use: gh search repos

bash
1# Basic search with stars 2gh search repos "stars:>500 language:rust" --sort=stars --limit=50 3 4# Multiple languages (OR logic) 5gh search repos "language:rust language:go language:typescript" 6 7# Exclude topics 8gh search repos "stars:>1000 -topic:cryptocurrency -topic:blockchain" 9 10# By topic 11gh search repos "topic:cli topic:terminal stars:>100" 12 13# Recently updated 14gh search repos "language:python pushed:>2024-01-01"

Output formats:

bash
1--json name,url,description,stargazersCount # JSON output 2--web # Open in browser

Finding Code Examples

When you see: User wants to know how to use a library Use: gh search code

bash
1# Find usage patterns 2gh search code "from zod import" --limit=20 3gh search code "import { z } from 'zod'" --limit=20 4 5# In specific file types 6gh search code "useQuery" extension:tsx --limit=30 7 8# In specific paths 9gh search code "tanstack/query" path:src/ extension:ts 10 11# Exact phrase 12gh search code '"createTRPCRouter"' extension:ts

Pro tip: Combine with repo filter for focused results:

bash
1gh search code "pattern" repo:owner/repo

Finding Issues/Discussions

When you see: User looking for bug reports, feature requests, or discussions Use: gh search issues or gh search prs

bash
1# Open issues with label 2gh search issues "is:open label:bug repo:facebook/react" 3 4# PRs by author 5gh search prs "author:username is:merged" 6 7# Issues mentioning error 8gh search issues '"connection refused" language:go'

Query Qualifiers Reference

Repo Search

QualifierExampleDescription
stars:stars:>1000, stars:100..500Star count
forks:forks:>100Fork count
language:language:rustPrimary language
topic:topic:cliRepository topic
-topic:-topic:blockchainExclude topic
pushed:pushed:>2024-01-01Last push date
created:created:>2023-01-01Creation date
license:license:mitLicense type
archived:archived:falseArchive status
is:is:public, is:privateVisibility

Code Search

QualifierExampleDescription
extension:extension:tsFile extension
path:path:src/File path
repo:repo:owner/nameSpecific repo
language:language:javascriptCode language
filename:filename:package.jsonFile name

Common Flags

FlagDescription
--limit NNumber of results (max 1000)
--sort XSort by: stars, forks, updated, best-match
--order Xasc or desc
--json FIELDSJSON output with specific fields
--webOpen results in browser

Common Use Cases

"Find popular X repos"

bash
1gh search repos "language:X stars:>500" --sort=stars --limit=50

"How do people use library Y"

bash
1gh search code "import Y" extension:ts --limit=30 2gh search code "from Y import" extension:py --limit=30

"Find repos like Z but exclude crypto"

bash
1gh search repos "topic:Z -topic:cryptocurrency -topic:blockchain -topic:web3"

"Find recent active projects"

bash
1gh search repos "language:go pushed:>2024-06-01 stars:>100" --sort=updated

Tips

  1. Quote the query when it contains special chars: gh search repos "stars:>500"
  2. Multiple languages = OR: language:rust language:go matches either
  3. Use --json for scripting: --json name,url,stargazersCount
  4. Date ranges: pushed:2024-01-01..2024-06-01
  5. Numeric ranges: stars:100..500

Related Skills

Looking for an alternative to github-search or building a Community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

linear

Logo of lobehub
lobehub

Linear is a workflow management system that enables multi-agent collaboration, effortless agent team design, and introduces agents as the unit of work interaction.

73.4k
0
Communication

testing

Logo of lobehub
lobehub

Testing is a process for verifying AI agent functionality using commands like bunx vitest run and optimizing workflows with targeted test runs.

73.3k
0
Communication

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication