A one-line prompt 'change 10 to 5' got an agent to modify an existing codebase

thisdudelikesAI · x · 2026-09-10

The author had a project that fetches the top 10 AI stories daily and wanted only 5. Instead of digging through code, he told Agnes 2.5 Pro Beta: "Go into my AI News project, audit the code, and change it to only send the top 5 stories." The agent found the project, located the right code, and made the change.

His take: this is the underappreciated AI coding use case — pointing an agent at the random things you've already built and saying "make this better" is far closer to how normal people will actually build with AI than generating another weather app from scratch.

Related event: One Prompt Lets AI Agent Audit and Modify a Codebase(2 posts)→

Original post →

More from coding & agent

coding & agent channel →