FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Claude Code kept getting stuck while I was AFK — here's how I fixed it with hooks
How-ToTools

Claude Code kept getting stuck while I was AFK — here's how I fixed it with hooks

via Dev.toMauro3w ago

In my previous post I talked about building an MCP server to let Claude Code ask me questions via Slack. Our prototype was working… so nice! It was time to test it more “deeply”, so I passed Claude Code a long enough prompt to keep it busy for a while, and as part of the prompt, I asked it to run the command to enable interaction via Slack (/lassare-slack). Waited a bit, was working, time to go to the gym. It asked me a couple of questions during the walk to the gym… then nothing more. I waited, and waited… and waited… nothing. What happened?! Completed my workout, back at my laptop. Claude Code was waiting for me to approve a “git reset” (a reset that I didn’t ask it to do BTW 🤦🏻‍♂️). Permission prompts are a local thing — they show up in the terminal, not in Slack. So there was no way for me to approve or deny from my phone. Now what?!? HOOKS! Yes, let me try using hooks. 💡 What are hooks? Claude Code has a feature called hooks — scripts that run automatically when certain events hap

Continue reading on Dev.to

Opens in a new tab

Read Full Article
14 views

Related Articles

The Boring Skills That Make Developers Unstoppable in 2026
How-To

The Boring Skills That Make Developers Unstoppable in 2026

Medium Programming • 5h ago

I Installed This VS Code Extension… and My Code Got Instantly Better
How-To

I Installed This VS Code Extension… and My Code Got Instantly Better

Medium Programming • 6h ago

The Age of Personalized Software
How-To

The Age of Personalized Software

Medium Programming • 8h ago

Automating Checkout Add-On Recommendations in WordPress for WooCommerce
How-To

Automating Checkout Add-On Recommendations in WordPress for WooCommerce

Dev.to • 8h ago

How-To

Start Here: Learning to develop your own way with SCSIC

Medium Programming • 12h ago

Discover More Articles