Skip to content
Skillv1.0.0

ghgrab

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 automatio

by akillness(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from akillness/jeo-skills (.agent-skills/ghgrab/SKILL.md). Install upstream with npx skills add akillness/jeo-skills --skill ghgrab. Copyright stays with the author (MIT).

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

command -v ghgrab || true

If missing, choose one installer:

# npm
npm install -g @ghgrab/ghgrab

# cargo
cargo install ghgrab

# pipx
pipx install ghgrab

Then verify:

ghgrab --help

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

# 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

# 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).

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/akillness-jeo-skills-ghgrab/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

akillness-jeo-skills-ghgrab.ocm.jsonjson
{
  "ocm": "1",
  "id": "akillness-jeo-skills-ghgrab",
  "kind": "skill",
  "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.",
  "publisher": "akillness",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "ghgrab",
      "github",
      "cli",
      "file-download",
      "developer-productivity",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/akillness/jeo-skills",
      "path": ".agent-skills/ghgrab/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/akillness/jeo-skills/blob/HEAD/.agent-skills/ghgrab/SKILL.md",
      "key": "akillness/jeo-skills/.agent-skills/ghgrab/SKILL.md"
    },
    "allowed_tools": [
      "Bash",
      "Read",
      "Write",
      "Edit",
      "Glob",
      "Grep"
    ],
    "license": "MIT"
  },
  "instructions": "# ghgrab\n\nUse this skill when users need to quickly fetch selected files/folders/release assets from GitHub in terminal workflows.\n\n## When to use\n- \"GitHub에서 파일 몇 개만 가져오고 싶다\"\n- Full clone is too heavy for one-off extraction\n- Need interactive repository navigation/search from CLI\n- Need release artifact download without browser\n\n## Instructions\n\n### Step 1: Verify availability and install path\n\n```bash\ncommand -v ghgrab || true\n```\n\nIf missing, choose one installer:\n\n```bash\n# npm\nnpm install -g @ghgrab/ghgrab\n\n# cargo\ncargo install ghgrab\n\n# pipx\npipx install ghgrab\n```\n\nThen verify:\n\n```bas",
  "cost": {
    "context_tokens": 465
  }
}

Fetch it by URL: GET /api/v1/registry/akillness-jeo-skills-ghgrab/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.