Skip to main content
skill CX Codex

ghgrab — Claude Code skill: what it does, how to install

The ghgrab skill lets an agent find and download chosen GitHub files, folders, and release assets from the terminal without cloning the whole repository.

MIT 251 installs ★ 61 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add akillness/jeo-skills --skill ghgrab -a claude-code
Open on GitHub

What ghgrab does

ghgrab is suited to terminal workflows where a repository contains only a few files you need. The skill covers interactive tree browsing, repository search, direct opening with a GitHub URL, and selective downloads into the current directory or a destination chosen by the tool. It also describes release-asset selection, including OS and architecture options when ghgrab provides them.

The setup instructions show installation through npm, cargo, or pipx, followed by an ghgrab --help check. Automation guidance asks for the destination to be confirmed and recommends a new folder when the target is uncertain. Private repositories require a valid GitHub authentication context; history and branch operations still belong to git clone.

What it helps with

  • download selected GitHub files without a full clone
  • browse a repository tree from the terminal
  • fetch a binary asset from GitHub Releases
  • prepare a selective download for automation

Example prompts for the agent

  • Use ghgrab to fetch only the files I choose from https://github.com/rust-lang/rust into a new folder.
  • Open https://github.com/OWNER/REPO, search its tree, and download the selected folder without cloning the repository.
  • Find the matching GitHub Releases asset and ask me to confirm the destination before writing it.

How to install ghgrab

1Skills CLI (Vercel)

npx skills add akillness/jeo-skills --skill ghgrab -a claude-code

2Manually: put the files in place

~/.claude/skills/ghgrab/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/ghgrab/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about ghgrab

How do I install ghgrab in Claude Code?

Run npx skills add akillness/jeo-skills --skill ghgrab -a claude-code, then use ~/.claude/skills/ghgrab/SKILL.md.

What does ghgrab do?

It helps an agent search GitHub repositories and download selected files, folders, or release assets from the terminal instead of fetching the complete repository.

Can ghgrab access private repositories?

Yes, when a valid GitHub authentication context is available.

Source text

SKILL.md · MIT
---
name: ghgrab
description: >
  Search and download specific files/folders from GitHub repositories directly from
  terminal using ghgrab, without full clone. Covers install, interactive browsing,
  release asset download, and automation-safe usage patterns.
allowed-tools: Bash Read Write Edit Glob Grep
license: MIT
metadata:
  tags: ghgrab, github, cli, file-download, developer-productivity
  version: "1.0"
  source: https://github.com/abhixdd/ghgrab
---

# ghgrab

Use this skill when users need to quickly fetch selected files/folders/release assets from GitHub in terminal workflows.

## When to use
- "GitHub에서 파일 몇 개만 가져오고 싶다"
- Full clone is too heavy for one-off extraction
- Need interactive repository navigation/search from CLI
- Need release artifact download without browser

## Instructions

### Step 1: Verify availability and install path

```bash
command -v ghgrab || true
```

If missing, choose one installer:

```bash
# npm
npm install -g @ghgrab/ghgrab

# cargo
cargo install ghgrab

# pipx
pipx install ghgrab
```

Then verify:

```bash
ghgrab --help
```

### Step 2: Start in interactive mode or open a target repo directly

```bash
# interactive home
ghgrab

# open repo directly
ghgrab https://github.com/OWNER/REPO
```

### Step 3: Use selective download flow

- Navigate/search inside repository tree
- Select only required files/folders
- Download into current working directory (or tool prompt target)
- Prefer small, explicit selections over bulk pulls

### Step 4: Release artifact mode

When user needs binary assets from GitHub Releases, use ghgrab release selection mode (OS/arch-aware options if shown by tool).

### Step 5: Automation guardrails

- Confirm destination path before writing files
- Prefer non-destructive paths (new folder) when unsure
- Log selected source repo and destination in run notes for reproducibility

## Examples

```bash
# Browse then cherry-pick files
ghgrab https://github.com/rust-lang/rust

# Start home and search repos interactively
ghgrab
```

## Pitfalls
- Installing multiple package-manager variants can shadow binary paths; check `which ghgrab`.
- Private repositories require valid GitHub auth/session context.
- Avoid using ghgrab as a substitute for full repo history operations (use git clone when history/branch operations are required).

© akillness · MIT · akillness/jeo-skills

Similar skills

SKILL.md skills catalog →

From the same set99

The whole set →
github-repo-candidate-quality-gate github-repo-candidate-quality-gate turns raw GitHub repo search output into a shortlist with metadata, freshness and provenance labels. Useful when you have to decide which repos are worth recommending. CX Codex +1 254installs payloadcms Walks the agent through Payload CMS work in a repo: bootstrapping an app, changing collection schemas, debugging the admin panel or API, preparing migrations. CX Codex +1 253installs zeude The zeude Claude Code skill tracks team usage and syncs shared settings. It suggests relevant skills as developers enter prompts. CX Codex +1 252installs hyperfine-benchmarking hyperfine-benchmarking — a skill that runs commands with warmup cycles and collects timing statistics. Compare tool variants or validate performance changes before committing, with exportable evidence. CX Codex +1 251installs semble The semble Claude Code skill searches code by behavior or symbol name. It activates when an agent needs to locate an implementation or find code similar to a known snippet. CX Codex +1 234installs react-bits Steers an agent through react-bits: pick dependencies, drop an animated component into a React project, fix GSAP and Three.js leaks, or send your own component upstream. CX Codex +1 211installs deep-dive deep-dive — a two-stage skill: three parallel lanes trace why something broke, then a requirements interview starts from those findings. Built for bugs and changes in code you don't know yet. CX Codex +1 177installs spec-kit Installs GitHub's specify CLI, bootstraps a spec-driven project for your agent, and runs the /speckit.* pipeline from constitution to implementation. CX Codex +1 167installs

Project sponsors

Companies that keep this analytics open