Interactive CLI tool to select files and folders from your project, then concatenate them into a single context file for LLMs.

Navigate your filesystem and select files, while the tool intelligently ignores common items like .git and node_modules, preventing them from being added to your context.
Press / to filter the current view in real-time. Instantly find any file or directory with a case-insensitive search.
Press CTRL+P to type or paste paths directly. Supports tab-completion and ~ for home directory.
Real-world scenarios where getctx-cli helps developers
Prepare your codebase context for ChatGPT, Claude, or other AI assistants to review your code, suggest improvements, and identify potential issues.
Aggregate source files and feed them to AI tools to automatically generate comprehensive documentation, README files, and API references.
Select specific modules or components and get AI-powered suggestions for refactoring, optimization, and architectural improvements.
Share relevant code context with AI when troubleshooting bugs. Include only the files that matter for faster, more accurate debugging help.
Help new team members understand complex codebases by feeding selected files to AI for explanations, architecture overviews, and guided walkthroughs.