Pack files, a folder, or a git diff into LLM-ready context — straight to your clipboard. No more manually opening files one by one to paste into a chat window.
- ctxpack: Pack Selected Files/Folders for LLM Context — right-click one or more files/folders in the Explorer
- ctxpack: Pack Entire Workspace for LLM Context — packs everything (respecting
.gitignore) - ctxpack: Pack Git Diff for LLM Context — prompts for a git ref (e.g.
main), packs only what changed since then
All available from the Command Palette (Cmd/Ctrl+Shift+P) or the Explorer right-click menu.
Download the public v1.0.0 VSIX release, then in VS Code open Extensions → ... → Install from VSIX. Marketplace publication is separate; the release artifact is available now without a publisher account.
- Secret redaction by default — API keys, private key blocks, and env-style credentials are redacted before anything touches your clipboard. Turn off with
ctxpack.redactSecrets: false. - Token budget — set
ctxpack.tokenBudgetto cap output size; keeps the most recently modified files and tells you what got dropped. - Respects
.gitignore— plus sensible defaults (node_modules, lockfiles, binaries, build output).
| Setting | Default | Description |
|---|---|---|
ctxpack.tokenBudget |
0 (no limit) |
Cap total output tokens |
ctxpack.redactSecrets |
true |
Redact likely secrets before copying |
Same engine, for the terminal: llm-ctxpack — npx llm-ctxpack --help
Free, MIT-licensed, no paid tier. If it saves you time: dacode-dev.github.io (QR code + address). Claude Code users can use the same page to unlock the private Power Pack Pro bonus commands/agents after a crypto tip; fulfillment is automated through a transaction-hash claim.