Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ctxpack: LLM Context Packer

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.

Commands

  • 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.

Install

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.

Features

  • 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.tokenBudget to 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).

Settings

Setting Default Description
ctxpack.tokenBudget 0 (no limit) Cap total output tokens
ctxpack.redactSecrets true Redact likely secrets before copying

Also available as a CLI

Same engine, for the terminal: llm-ctxpacknpx llm-ctxpack --help

Support

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.

About

VS Code extension: pack files/folders/git-diff into LLM-ready context, with secret redaction. Companion to llm-ctxpack.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages