files-to-prompt

Concatenate files into a single prompt for LLM use

Description

This command processes multiple files within specified directories and concatenates their contents into a single text prompt, formatted for use with large language models (LLMs). It includes options for filtering files by extension, including or skipping hidden files, ignoring specified patterns and formatting output in Claude XML. Users can choose to print the output directly or save it to a file. The output helps in structuring text that is compatible with and optimized for language model processing, without altering any individual file's content.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/simonw/files-to-prompt


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install files-to-prompt