CodeSelect
FreeSends structured source context to LLMs.
FreeFree tier
About CodeSelect
CodeSelect is a lightweight, open-source command-line tool that helps developers select and share code with AI assistants like Claude and ChatGPT. It scans a project directory, provides an interactive interface to pick files, analyzes dependencies between files, and exports the selected code in a structured, AI-friendly format. The tool supports multiple output formats (LLM-optimized, Markdown, and plain text), automatically copies output to clipboard, and works with a wide range of programming languages including Python, JavaScript, Java, Go, Rust, and Swift. It has zero external dependencies, requires only standard Python libraries, and can be installed in a single command without admin privileges.
Key Features
Visual file selection with interactive checkbox interface
Intelligent code analysis that detects imports and file relationships
Multi-language support: Python, C/C++, JavaScript, Java, Go, Ruby, PHP, Rust, Swift and more
Zero dependencies – uses only standard Python libraries
Non-admin installation with a one-line curl command
Automatic clipboard integration for easy pasting
Multiple output formats: LLM-optimized, Markdown, and plain text
Supports keyboard shortcuts for navigation and selection
Pros & Cons
Pros
- Lightweight and easy to install with a single curl command
- Zero dependencies – works with standard Python libraries only
- Interactive file selection with keyboard shortcuts for efficiency
- Automatically detects file dependencies to provide context
- Supports multiple output formats tailored for different use cases (LLM, Markdown, TXT)
- Clipboard integration saves time when pasting into AI tools
Cons
- Terminal-based interface only; no graphical IDE plugin available
- Limited to file selection and export; does not offer code editing within the tool
- Requires Python to be installed on the system
Best For
Sharing code context with AI assistants like Claude and ChatGPT for code review or debuggingPreparing structured code snippets for LLM prompting and analysisGenerating Markdown documentation of selected code files for project wikis or reportsExporting code from a project for collaboration or code review without exposing the entire repository
FAQ
What AI assistants does CodeSelect work with?
CodeSelect is designed to work with AI assistants like Claude and ChatGPT, as it generates output optimized for language models.
What programming languages are supported?
CodeSelect supports Python, C/C++, JavaScript, Java, Go, Ruby, PHP, Rust, Swift and more, with automatic detection of imports and relationships.
How do I install CodeSelect?
You can install it with a one-line command: curl -sSL https://raw.githubusercontent.com/maynetee/codeselect/main/install.sh | bash
What output formats are available?
CodeSelect offers three formats: LLM (default, optimized for language models), Markdown (GitHub-compatible with syntax highlighting), and TXT (plain text).
Is CodeSelect free to use?
Yes, CodeSelect is open-source and free to use. You can find the source code on GitHub.