Show HN: Ggrab, Grug Grab Tool to manually gather context for pasting into LLMs

by keizoon 12/22/2024, 11:07 AMwith 0 comments

After a few days using o1, it solved a few hard problems for me. And now chatgpt is my largest monthly expense after rent, childcare, and food. Anyway, I needed an easier way to gather context over multiple files to paste code in. Made a little command line tool that copies to the clipboard and formats in xml for easy pasting. Simple, nothing fancy. Funnily enough, I couldn't prompt my way to a finished script. o1 pro couldn't get some things right. But I did the trick where you read the code and got it working good enough :) It's pretty basic and not tested too heavily, so send patches. Happy copying and pasting.

0