rasros/lx
Recursively find, filter, and format code files for ChatGPT and Claude context windows directly from your terminal.
This tool helps software developers prepare their codebases to be analyzed by large language models (LLMs) like ChatGPT or Claude. It takes your project's code files as input and intelligently bundles them into a single text string, formatted for optimal LLM understanding, complete with estimated token counts. The output, which can be Markdown, XML, or HTML, is then easily copied to your clipboard or piped to another tool. This is for developers who want to quickly provide context-rich code snippets to AI for tasks like code review, refactoring, or explanation.
Use this if you need to quickly and intelligently bundle specific parts of your codebase into a single, clean text string for an AI assistant, ensuring all relevant files are included while ignoring irrelevant ones.
Not ideal if you're looking for an AI coding assistant that integrates directly into your IDE and offers real-time suggestions or code generation without manual context preparation.
Stars
45
Forks
2
Language
Go
License
MIT
Category
Last pushed
Mar 10, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/rasros/lx"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
shcherbak-ai/contextgem
ContextGem: Effortless LLM extraction from documents
mufeedvh/code2prompt
A CLI tool to convert your codebase into a single LLM prompt with source tree, prompt...
ShahzaibAhmad05/gitree
An upgrade from "ls" for developers. An open-source tool to analyze folder structures and to...
nicepkg/ctxport
Copy AI conversations as clean Markdown Context Bundles — one click from ChatGPT, Claude,...
nikolay-e/treemapper
Export your entire codebase to ChatGPT/Claude in one command. Structure + contents in YAML/JSON...