s
April 8, 2024, 8:40 p.m. |

Simon Willison's Weblog simonwillison.net

files-to-prompt is a new tool I built to help me pipe several files at once into prompts to LLMs such as Claude and GPT-4.


When combined with my LLM command-line tool it lets you do things like this:


files-to-prompt README.md files_to_prompt | llm -m opus \
--system 'Update this README to reflect this functionality'

I wrote files-to-prompt almost entirely using Claude 3 Opus, llm-claude-3 and files-to-prompt itself, once it was functional enough to be useful.


Building the initial tool …

ai anthropic building claude claude 3 claude 3 opus command command-line tool files generativeai gpt gpt-4 line llm llms opus projects prompt prompts readme tool update

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

Lead GNSS Data Scientist

@ Lurra Systems | Melbourne

Senior Machine Learning Engineer (MLOps)

@ Promaton | Remote, Europe

Robotics Technician - 3rd Shift

@ GXO Logistics | Perris, CA, US, 92571