I Made a CLI to Stop Manually Copy-Pasting Code Into Llms
Posted4 months ago
github.comTechstory
excitedpositive
Debate
0/100
Artificial IntelligenceProductivity ToolsCLI Development
Key topics
Artificial Intelligence
Productivity Tools
CLI Development
A developer created a CLI tool to streamline copying code into Large Language Models (LLMs), aiming to improve productivity.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
N/A
Peak period
1
Start
Avg / period
1
Key moments
- 01Story posted
Sep 2, 2025 at 7:55 AM EDT
4 months ago
Step 01 - 02First comment
Sep 2, 2025 at 7:55 AM EDT
0s after posting
Step 02 - 03Peak activity
1 comments in Start
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 2, 2025 at 7:55 AM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45101894Type: storyLast synced: 11/17/2025, 10:05:53 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
I'm David. I built Aicontextator to scratch my own itch. I was spending way too much time manually gathering and pasting code files into LLM web UIs. It was tedious, and I was constantly worried about accidentally pasting an API key.
Aicontextator is a simple CLI tool that automates this. You run it in your project directory, and it bundles all the relevant files (respecting .gitignore ) into a single string, ready for your prompt.
A key feature I focused on is security: it uses the detect-secrets engine to scan files before adding them to the context, warning you about any potential secrets it finds. It also has an interactive mode for picking files , can count tokens , and automatically splits large contexts. It's open-source (MIT license) and built with Python.
I'd love to get your feedback and suggestions.
The GitHub repo is here: https://github.com/ILDaviz/aicontextator