URL in, folder out
Paste a GitHub tree or blob URL and get the folder or file, with executable bits preserved on disk.
A tiny GitHub extraction tool
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/pathWhy pluck exists
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.
Paste a GitHub tree or blob URL and get the folder or file, with executable bits preserved on disk.
Use /tmp by default or point at a project directory. Multiple URLs can land in one clean batch.
Public repos work immediately. Private repos use GH_TOKEN, GITHUB_TOKEN, or your active gh login.
A focused Go binary, a thin npm wrapper, and no checkout to clean up when the files arrive.
Good for
Copy a skill, example, or config folder from a repository without cloning the whole thing.
Drop shared conventions into /tmp while exploring a codebase or preparing an agent session.
Choose a destination root and let pluck preserve the source folder or file name for you.
Install once with npm, then keep the terminal command close at hand.
Under the hood
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.
pluck the useful bit and get back to the work.
Get started →