This is a Claude Code permissions issue! When Claude Code needs user approval for commands (like running git, file modifications, etc.), it can't get that input through Telegram โ so it hangs.
Solution: Auto-approve permissions
You have a few options:
1. Use --dangerously-skip-permissions flag
Pass this when invoking Claude Code:
bash pty:true command:"claude --dangerously-skip-permissions 'Your task'"
2. Set environment variable
Add CLAUDE_SKIP_PERMISSIONS=true to your shell env or Clawdbot's env config.
3. In Clawdbot config (recommended)
Set the env var globally in your ~/.clawdbot/clawdbot.json: