GitHub gave you a URL. pluck gives you the folder.

Copy any folder or file from a GitHub tree or blob URL into a local directory. No full clone, no temporary archive, no ceremony between “I found it” and “it is here.”

github.com/owner/repo/tree/ref/path

The shortest path from a useful link to usable local context.

Repositories are full of folders worth borrowing: skills, rules, examples, presets, and tiny bits of configuration. pluck keeps the operation proportional to the thing you actually wanted.

01

URL in, folder out

Paste a GitHub tree or blob URL and get the folder or file, with executable bits preserved on disk.

02

The path is yours

Use /tmp by default or point at a project directory. Multiple URLs can land in one clean batch.

03

Private by permission

Public repos work immediately. Private repos use GH_TOKEN, GITHUB_TOKEN, or your active gh login.

04

Small enough to trust

A focused Go binary, a thin npm wrapper, and no checkout to clean up when the files arrive.

Borrow the useful piece. Leave the rest of the repository alone.

01

Copy a skill, example, or config folder from a repository without cloning the whole thing.

02

Drop shared conventions into /tmp while exploring a codebase or preparing an agent session.

03

Choose a destination root and let pluck preserve the source folder or file name for you.

04

Install once with npm, then keep the terminal command close at hand.

One command. A deliberate little surface.

GitHub API

Tree and blob requests keep the download focused on the folder you named.

Safe extraction

Staged writes, guarded paths, and an explicit --force before replacing a destination.

Native binary

Go builds for macOS, Linux, and Windows, with npm as the convenient install path.

Private repos

Use a scoped token in CI or let the local GitHub CLI account do the authentication.

Start with one command. Keep the rest nearby when you need it.

The docs cover the basic copy, output layout, GitHub access, release path, and the small Astro site that keeps this tool understandable.

pluck the useful bit and get back to the work.

Get started