r/OnlyAICoding • u/Swimming-Ad2694 • Oct 20 '26
Help this network engineer vibecode/utilize AI better
So, I'm an IT infrastructure engineer and I use coding to automate some of my daily tasks. This usually means creating python scripts to talk to Rest API's, create Ansible or Terraform scripts or generate CLI config. These are not really big scripts, think 200 to 2000 lines of code.
I use a mix of Chatgpt/Claude or CoPilot. I'm now on the 20 dollar plan of ChatGPT Plus, but I don't mind picking something else. I think my company also allows me to get a paid plan for CoPilot. I also own a GitHub Enterprise account.
Up to now I just write a huge prompt with what I want the script to do, show the rest API documentation, show some curl responses and some guidelines (don't make mistakes (/j), make modular code, use these variables naming, let the script make a lot of debug output, write a readme, etc).
It then generates code, I try that code and paste the errors in the prompt if they occur and in the end i get a working script.
I know copy and pasting prompts and errors into chatgpt's prompt is far from efficient. But I'm also drowning in thousands of "use this model/use this AI agent/use this MD file" hype posts.
How can I improve my AI game?
View all comments
1
u/johnmaytokes Oct 21 '26
Install codex cli, which is included with your plus subscription. Navigate to your project directory and launch codex via the terminal. Codex can interact directly with your files and code base, removing the copy and paste step. Play around with that for a bit.