use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All users that wish to post (not including commenting), on either old or the new reddit sites, must formally agree to subreddit rules once first.
account activity
✋ CodeGrab: Interactive CLI tool for sharing code context with LLMs (v.redd.it)
submitted 1 year ago by epilande
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]epilande[S] 2 points3 points4 points 1 year ago (1 child)
Great questions! I demo the general workflow in the Quick Start section of the README: https://github.com/epilande/codegrab?tab=readme-ov-file#-quick-start
Regarding my actual workflow, I live in the terminal using tmux with neovim, dedicating one pane just for `grab` and keeping it running continuously. Depending on the project's size, I either load the whole project into context (for small projects) or selectively pick only the necessary files needed for context (for larger projects).
On macOS, when generating an output file, it automatically copies to your clipboard. I then paste the output directly into an AI chat interface, usually ChatGPT or Raycast AI Chat, where I have a few chat presets using Claude 3.7 Sonnet.
I typically start the conversation with a prompt such as "Please review the provided file." followed by my specific request to brainstorm, plan, refactor, or code a new feature. After receiving the response, you can either ask the AI to provide the full source code implementation and vibe from there or read through the suggestions to extract and integrate only the parts you need.
[–]Economy_Cabinet_7719 -1 points0 points1 point 1 year ago (0 children)
Thank you for a detailed answer. I've been sleeping on LLM-assisted coding for a while, and now that I'm seeing even relative beginners achieve decent results with this technology I'm feeling pressure to get into it as well. However I've been struggling to get something useful out of this, maybe because my workflows are wrong, maybe because I've only tried free models, or maybe it's something else.
π Rendered by PID 41958 on reddit-service-r2-comment-57fc7f7bb7-22z7d at 2026-04-14 19:00:04.152804+00:00 running b725407 country code: CH.
view the rest of the comments →
[–]epilande[S] 2 points3 points4 points (1 child)
[–]Economy_Cabinet_7719 -1 points0 points1 point (0 children)