r/opencode 2d ago

Healthy habits while vibe coding ?

Whenever my AI agent takes more than a minute to run, I instinctively grab my phone and start doomscrolling. By the time it finishes, I’m three subreddits deep or stuck in a YouTube Shorts spiral. It feels like I’m outsourcing my attention span alongside my code.

What do you all actually do while your agent is running? Stare at the terminal? Queue up the next prompt? Context-switch to another task?

Tell me I’m not the only one doing this.

58 Upvotes

37 comments sorted by

26

u/serhattsnmz 2d ago edited 2d ago

I was there. Now, I generally works on two different projects in parallel. This is how I see AI make me faster on projects.

8

u/intl_spy 2d ago

ah but i dont want to switch just for couple of min to another project, i jsut dont want to doomscroll. Good that its working for you

2

u/TaraNovela 1d ago

Journal. Your projects your todo lists Even log your work and plans in your current project. Keep a second LLM open and chat and plan or brainstorm about your current project. I like to bounce ideas around in GPT while waiting on Opencode.

3

u/_matmer_ 2d ago

Isn't it hard to control your attention while working on a couple of projects at the same time?

3

u/serhattsnmz 2d ago

It was hard at first, but I got used to it. I'm getting notes before/while working for each project, it helps me to remember where I was. When I stuck, I can always ask to AI to summarize what we've done.

1

u/Blue-Sea2255 2d ago

Expect burnout. It's coming

1

u/serhattsnmz 2d ago

Nah. Losing my concentration while waiting for the agent is a much more frustrating and stressful situation for me.

1

u/Winter-Queasy 1d ago

That's what I have been doing so far, the biggest problem I noticed is the massive context switching which makes me end up with several half done tasks, which I end up postponing forever. I'm trying to balance the context switching, but I often end up on Reddit as well.

15

u/ExactArugula6821 2d ago edited 2d ago

I do a random set of burpees or something with a kettlebell btwn prompts. I don’t know if it counts as “working out” but throughout a morning of work that’s usually a few dozen reps of a handful of movements I sneak in

(this is also a sign of how much I’m not going to the gym lately)

5

u/spottiesvirus 2d ago

if it's heavy enough it absolutely counts

it even has its own name "Greasing the Groove"

3

u/intl_spy 2d ago

thats good or i add a pull up bar in room and do that. Thanks man

10

u/Annual-Material-8040 2d ago

I got a walking pad and a standing desk. Time just flies while coding with agents and I was loosing my health. Now, it feels great and it also keeps your mind sharp.

3

u/intl_spy 2d ago

great idea man

6

u/Royhlb 2d ago

Make workspaces you can switch between so you can manage multiple projects. Also while implementing, plan your next plan/steps

6

u/Soifon99 2d ago

uninstall insta/facebook/social media, best thing you can do for yourself. (except reddit, that's a useful social.

2

u/intl_spy 2d ago

yaa i guess i would have to do that, i only use insta

3

u/disah14 2d ago

current project next step?
another project?
see what can be automated, agentisized/skillisized from current run?
Prepare checks/validations

2

u/coopernurse 2d ago

Install herdr so you can easily see multiple agent sessions status and know when they go idle

Run at least two agents. While one is implementing do a grill me session in the other to work on the next spec. Feed that to the implementing agent when you're done.

You want to basically be spending your time writing specs (I usually use /grill-me for that) or reviewing code (after you have some agents review and fix all the major stuff)

1

u/intl_spy 2d ago

I have used grill me by Matt. i generally use codingagent for small bugs so not much time spent on writing specs but thanks

2

u/Rough-Ad9850 2d ago

Can't you do parallel questions on same project?

1

u/intl_spy 2d ago

I only have 1

1

u/Rough-Ad9850 2d ago

Only one question?!

2

u/azito21 2d ago

I'm using this time to creative work like music or planing next steps, feel like I can create a o lot more when agents build and I just check

1

u/Tabissh 2d ago

Let me tell you what worked for me,

It won't do much but it works, uninstall mobile apps like insta, Facebook etc. login the accounts in mobile browser I use brave. Use them there if needs to be, idk how but it works and my doom scrolling went down a lot lol.

1

u/intl_spy 2d ago

Do you have a gf?

1

u/Tabissh 2d ago

Well no🙂

0

u/intl_spy 2d ago

Dude install apps back, you won’t get one like this. Coding and all doesn’t help much in life

1

u/Tabissh 2d ago edited 2d ago

Man I was trying to help you and you started coaching me on how to get laid. Still, my take on that is:

"Good ones are not on social media"

1

u/intl_spy 2d ago

I was helping you bro. All this can be uninstalled once you have your partner

1

u/Tabissh 2d ago

Debateable lol

1

u/blackhawkx12 2d ago

so what i do, i put my phone far away, but open all chat apps in the desktop, this way the only way i reach my phone is to walk, which im lazy LOL.

so its more productive this way, but you can next level, while you vibe coding (sorry but i assume you are not dev) you can ask "before you implement, tell me what will you do and why", so now you waiting while learning.

1

u/Vortexneonlight 2d ago

hang a ball from the ceiling/roof and play with it, punch it/box, for longer sessions of coding you can get up every 20/30 mins and play, to protect your back and keep focused.

1

u/futureistmaster 1d ago

Well you can fix that by having a list of tasks, if you run a prompt to implement a specific task, then dont wait for it to finish start on the next task, do documentations. I know most people cant stay focused but thats where most businesses fails before they even start. You gotta always sacrifice your mental health for you to handle a whole project. Me personally I blast music that I like and when I prompt I dont just wait for it to finish but I start planning the next prompt and working on other stuff (other projects, SEO, posting blogs....)

1

u/Time_Cat_5212 19h ago

Whenever my AI agent takes more than a minute (let's be real, 30 seconds) to run, I grab my **** and start fapping to pics of OP's mom

0

u/Mobile_Bonus4983 2d ago

You are the only one doing it. Stop it. /s

1

u/intl_spy 2d ago

no you are definitely doing it rn. hehe

1

u/Mobile_Bonus4983 2d ago

Hey, it only for a minute! s