gh-search-repos — community gh-search-repos, claude-skill-registry, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Ideal for Developer Agents seeking to streamline GitHub repository discovery and filtering by stars, forks, language, and topics. The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app

majiayu000 majiayu000
[0]
[0]
Updated: 2/20/2026

Agent Capability Analysis

The gh-search-repos skill by majiayu000 is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Ideal for Developer Agents seeking to streamline GitHub repository discovery and filtering by stars, forks, language, and topics.

Core Value

Empowers agents to search across GitHub using gh search repos, filtering by criteria like programming language, topics, license, and archived status, and leveraging GitHub CLI for efficient repository discovery.

Capabilities Granted for gh-search-repos

Searching for popular repositories by stars or forks
Filtering repositories by specific programming languages or topics
Identifying repositories with good first issues for contributor engagement
Discovering repositories under specific licenses or ownership

! Prerequisites & Limits

  • Requires GitHub CLI installation and configuration
  • Dependent on GitHub API and rate limits
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

gh-search-repos

Install gh-search-repos, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

GitHub CLI: Search Repositories

Overview

Search for repositories across GitHub using gh search repos. Filter by stars, forks, language, topics, license, and more.

When to Use This Skill

Use this skill when searching for repositories across GitHub:

  • Finding repositories by popularity (stars/forks)
  • Searching by programming language or topics
  • Finding repos with good first issues
  • Filtering by license or archived status
  • Searching in specific organizations or by owner
  • Need to exclude certain results (requires -- flag)

Syntax

bash
1gh search repos [<query>] [flags]

Key Flags Reference

Repository Attributes

FlagPurposeExample
--language <string>Programming language--language python
--topic <strings>Repository topics--topic machine-learning
--license <strings>License type--license mit
--archived {true|false}Archived state--archived false
--owner <strings>Repository owner--owner github
--visibility <string>Visibility: public, private, internal--visibility public

Popularity Metrics

FlagPurposeExample
--stars <number>Star count--stars ">1000"
--forks <number>Fork count--forks ">100"
--followers <number>Follower count--followers ">50"
--size <string>Size in KB--size "100..1000"

Issue Counts

FlagPurposeExample
--good-first-issues <number>"Good first issue" label count--good-first-issues ">=5"
--help-wanted-issues <number>"Help wanted" label count--help-wanted-issues ">=3"

Date Filters

FlagPurposeExample
--created <date>Creation date--created ">2024-01-01"
--updated <date>Last update date--updated ">2024-06-01"

Search Scope

FlagPurposeExample
--match <strings>Search in: name, description, readme--match name
--include-forks {false|true|only}Include/exclude forks--include-forks false

Output & Sorting

FlagPurposeExample
-L, --limit <int>Max results (default: 30)--limit 100
--sort <string>Sort by: stars, forks, updated, etc.--sort stars
--order <string>Sort direction: asc or desc--order desc
--json <fields>JSON output--json name,stargazersCount,language
-w, --webOpen in browser-w

JSON Output Fields

createdAt, defaultBranch, description, forksCount, fullName, hasDownloads, hasIssues, hasPages, hasProjects, hasWiki, homepage, id, isArchived, isDisabled, isFork, isPrivate, language, license, name, openIssuesCount, owner, pushedAt, size, stargazersCount, updatedAt, url, visibility, watchersCount

Exclusion Syntax (Critical!)

When using inline query exclusions (negations with -), you MUST use the -- separator:

✅ Correct: gh search repos -- "search-terms -qualifier:value" ❌ Wrong: gh search repos "search-terms" --flag=-value ❌ Wrong: gh search repos "search-terms" --flag=!value ❌ Wrong: gh search repos --language=-Go

Examples:

  • gh search repos -- "cli -language:go" (exclude language)
  • gh search repos -- "starter -archived:true" (exclude archived)
  • gh search repos -- "web -topic:deprecated" (exclude topic)
  • gh search repos -- "library -license:gpl-3.0" (exclude license)

Why the -- separator is required: The -- tells the shell to stop parsing flags and treat everything after it as arguments. Without it, -qualifier:value inside quotes may be misinterpreted.

Critical Syntax Rules

When to Use Flag Syntax vs Query Syntax

Decision Tree:

Does your search include:
  - Any exclusions (NOT, minus, without, except)?  → Use Query Syntax with `--`
  - Complex boolean logic (OR, AND)?              → Use Query Syntax with `--`

Otherwise:
  - Simple positive filters only?                  → Use Flag Syntax

Flag Syntax (for positive filters):

bash
1gh search repos "cli" --language go --stars ">100"

Query Syntax with -- (required for exclusions):

bash
1gh search repos -- "cli -language:javascript -archived:true"

⚠️ NEVER mix both syntaxes in a single command!

1. Exclusions and Negations

CRITICAL: When excluding results, you MUST use query syntax with the -- separator.

Exclusion Syntax Rules:

  1. Use the -- separator before your query
  2. Use -qualifier:value format (dash prefix for negation)
  3. Quote the entire query string

Examples:

Single exclusion:

bash
1# Exclude specific language 2gh search repos -- "web framework -language:javascript" 3 4# Exclude archived repos 5gh search repos -- "cli tool -archived:true"

Multiple exclusions:

bash
1# Exclude multiple languages 2gh search repos -- "game engine -language:javascript -language:python" 3 4# Exclude archived and small repos 5gh search repos -- "starter -archived:true -stars:<10"

Combine with positive filters using flags:

bash
1# Wrong - mixing syntaxes: 2gh search repos "cli" --language go -archived:true # ❌ 3 4# Correct - use query syntax for everything when excluding: 5gh search repos -- "cli language:go -archived:true" # ✅

PowerShell exclusions:

powershell
1# Use --% to prevent PowerShell parsing 2gh --% search repos -- "cli -language:javascript"

Common Exclusion Patterns:

User RequestCommand
"Find repos but not archived"gh search repos -- "starter -archived:true"
"Repos excluding specific language"gh search repos -- "web framework -language:php"
"Repos not in specific topic"gh search repos -- "cli -topic:deprecated"
"Repos excluding multiple languages"gh search repos -- "game -language:javascript -language:css"
"Repos not forks"gh search repos -- "template -is:fork" (or use --include-forks false)
"Repos excluding low stars"gh search repos -- "framework -stars:<100"
"Repos not with specific license"gh search repos -- "library -license:gpl-3.0"

2. Special Values

  • Multiple topics: --topic unix,terminal
  • Boolean flags: --archived false or --archived true
  • Fork inclusion: --include-forks false|true|only

3. Quoting Rules

Multi-word search:

bash
1gh search repos "machine learning"

Comparison operators need quotes:

bash
1gh search repos "python" --stars ">1000"

Ranges use quotes:

bash
1gh search repos "cli" --stars "100..500"

Common Use Cases

Find popular Python repos:

bash
1gh search repos "data science" --language python --stars ">5000"

Find repos with good first issues:

bash
1gh search repos --language javascript --good-first-issues ">=10"

Find recently updated repos:

bash
1gh search repos "react" --updated ">2024-01-01" --stars ">100"

Find repos by topic:

bash
1gh search repos --topic machine-learning --language python

Find repos by license:

bash
1gh search repos "web framework" --license mit,apache-2.0

Exclude archived repos:

bash
1gh search repos "cli tool" --archived false

Find repos by organization:

bash
1gh search repos --owner microsoft --visibility public

Exclude forks:

bash
1gh search repos "starter" --include-forks false

Find only forks:

bash
1gh search repos "template" --include-forks only

Find repos in star range:

bash
1gh search repos "game engine" --stars "100..1000"

Exclude specific language:

bash
1gh search repos -- "cli -language:go"

Search in name only:

bash
1gh search repos "awesome" --match name

Common Mistakes

MistakeProblemFix
--language="NOT javascript" or --archived=-trueFlag syntax doesn't support negationUse query: -- "-language:javascript" or -- "-archived:true"
gh search repos cli -language:js-language interpreted as flagUse --: -- "cli -language:js"
"cli NOT language:js"NOT keyword doesn't workUse -: -- "cli -language:js"
Mixing syntaxes: --stars ">100" "cli -language:js"Can't mix flags with query qualifiersUse query for all: -- "cli stars:>100 -language:js"
Not quoting comparisonsShell interprets >Quote: --stars ">1000"
--archived archivedInvalid valueUse boolean: --archived true or false
Not quoting multi-word searchSearches separatelyQuote: "machine learning"
Using @ with ownerInvalid syntaxDrop @: --owner github
PowerShell without --%Breaks with exclusionsAdd: gh --%

Installation Check

If gh command not found:

bash
1# Check if gh is installed 2which gh 3 4# Install: https://cli.github.com/manual/installation

If not authenticated:

bash
1# Authenticate with GitHub 2gh auth login

Comparison Operators

  • > - Greater than
  • >= - Greater than or equal
  • < - Less than
  • <= - Less than or equal
  • .. - Range: 100..1000 or 2024-01-01..2024-12-31

Common Licenses

  • mit - MIT License
  • apache-2.0 - Apache License 2.0
  • gpl-3.0 - GNU GPL v3
  • bsd-2-clause - BSD 2-Clause
  • bsd-3-clause - BSD 3-Clause
  • mpl-2.0 - Mozilla Public License 2.0
  • isc - ISC License

Match Field Options

  • name - Search repository names only
  • description - Search descriptions only
  • readme - Search README files only

Example: gh search repos "documentation" --match readme

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is gh-search-repos?

Ideal for Developer Agents seeking to streamline GitHub repository discovery and filtering by stars, forks, language, and topics. The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app

How do I install gh-search-repos?

Run the command: npx killer-skills add majiayu000/claude-skill-registry/gh-search-repos. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for gh-search-repos?

Key use cases include: Searching for popular repositories by stars or forks, Filtering repositories by specific programming languages or topics, Identifying repositories with good first issues for contributor engagement, Discovering repositories under specific licenses or ownership.

Which IDEs are compatible with gh-search-repos?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for gh-search-repos?

Requires GitHub CLI installation and configuration. Dependent on GitHub API and rate limits.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add majiayu000/claude-skill-registry/gh-search-repos. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use gh-search-repos immediately in the current project.

Related Skills

Looking for an alternative to gh-search-repos or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI