github-search

Search GitHub code, issues, and PRs using the gh CLI.

2|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/SiTaggart/.agents --skill github-search-sitaggart
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-search
Source: https://github.com/SiTaggart/.agents/tree/main/skills/github-search
Command: npx skills add https://github.com/SiTaggart/.agents --skill github-search-sitaggart

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables efficient discovery on GitHub by searching code, issues, and PRs through the gh CLI.

Core Features & Use Cases

  • Search code across repositories
  • Search issues and pull requests
  • Filter results by owner or repository
  • Requires gh CLI authentication and setup

Quick Start

Run gh search code "authentication language:python" to locate relevant results.

Frequently Asked Questions about github-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search GitHub code across multiple repositories using the command line?

You can search GitHub code across multiple repositories by running a gh search command with your query string. The Skill leverages the gh CLI to locate matching code snippets and returns relevant results from your specified scope.

Can I filter GitHub issues and pull requests by a specific owner or repository?

Yes, you can filter GitHub issues and pull requests by applying optional owner and repository filters. This narrows your search results to specific projects during repository triage and issue tracking.

Do I need to authenticate the gh CLI before searching issues and pull requests?

Yes, you need the gh CLI installed and authenticated to search issues and pull requests. Authentication is required to query GitHub effectively and retrieve accurate search results for your repositories.

What's the best way to limit GitHub search results for code exploration?

The best way to limit GitHub search results for code exploration is by using the optional results limit parameter. This constrains the number of returned items from your gh search query to a manageable amount for review.

Does this approach support searching for both code and pull requests simultaneously?

This approach supports searching GitHub for code, issues, and pull requests. You specify the search type in your query, allowing you to target code exploration, repository triage, or PR reviews independently.