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

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York