dige04/hieu-ccsetup/github-search

Claude Code and agent skill by dige04/hieu-ccsetup

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Search GitHub for repos, code, and usage examples using gh CLI. Capabilities: repo discovery, code search, finding library usage patterns, issue/PR search. Actions: search, find, discover repos/code/examples. Keywords: gh, github, search repos, search code, find examples, how to use library, stars, language filter. Use when: finding repositories, searching code patterns, discovering how libraries are used, exploring open source.

Install

npx vskill@latest install dige04/hieu-ccsetup/github-search

SKILL.md

The same SKILL.md was published earlier as brixtonpham/claude-config/github-search.

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
# Basic search with stars
gh search repos "stars:>500 language:rust" --sort=stars --limit=50
# Multiple languages (OR logic)
gh search repos "language:rust language:go language:typescript"
# Exclude topics
gh search repos "stars:>1000 -topic:cryptocurrency -topic:blockchain"
# By topic
gh search repos "topic:cli topic:terminal stars:>100"
# Recently updated
gh search repos "language:python pushed:>2024-01-01"

Output formats:

bash
--json name,url,description,stargazersCount # JSON output
--web # Open in browser
Finding Code Examples

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

bash
# Find usage patterns
gh search code "from zod import" --limit=20
gh search code "import { z } from 'zod'" --limit=20
# In specific file types
gh search code "useQuery" extension:tsx --limit=30
# In specific paths
gh search code "tanstack/query" path:src/ extension:ts
# Exact phrase
gh search code '"createTRPCRouter"' extension:ts

Pro tip: Combine with repo filter for focused results:

bash
gh 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
# Open issues with label
gh search issues "is:open label:bug repo:facebook/react"
# PRs by author
gh search prs "author:username is:merged"
# Issues mentioning error
gh 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
gh search repos "language:X stars:>500" --sort=stars --limit=50
"How do people use library Y"
bash
gh search code "import Y" extension:ts --limit=30
gh search code "from Y import" extension:py --limit=30
"Find repos like Z but exclude crypto"
bash
gh search repos "topic:Z -topic:cryptocurrency -topic:blockchain -topic:web3"
"Find recent active projects"
bash
gh 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

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dige04/hieu-ccsetup/github-search/badge)](https://verified-skill.com/skills/dige04/hieu-ccsetup/github-search)

Something wrong with this skill or its page? Tell us.