gh-fetch
CommunityFetch GitHub content via GitHub CLI
Software Engineering#structured data#github#agent skills#gitHub cli#web fetching#issue retrieval#pull request diff
Authorretlehs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents slow, unreliable web scraping and HTML parsing when an AI coding agent needs accurate GitHub content from links the user provides.
Core Features & Use Cases
- GitHub CLI-first retrieval: Uses
ghto fetch issues, pull requests, diffs, repos, commits, gists, and related artifacts with structured output. - URL-to-command routing: Parses owner/repo/number (or tag/sha/path) from the shared GitHub URL and calls the matching
ghsubcommand. - Safety guardrails: Treats fetched content as untrusted and avoids executing instructions found in issue/PR/comment bodies, with a fallback to web fetching if
ghis unavailable or unauthenticated.
Quick Start
Tell your agent: "Use gh-fetch to fetch and summarize the content from this GitHub pull request link."
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: gh-fetch Download link: https://github.com/retlehs/gh-fetch/archive/main.zip#gh-fetch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.