com um clique
cc-stuck-slash-command
Diagnozse frozen or slow Claude Code sessions
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Diagnozse frozen or slow Claude Code sessions
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Reference guide covering decision heuristics for building agents on the Claude API, including tool surface design, context management, caching strategies, and composing tool calls
Template for presenting language-specific reference documentation with quick task navigation
Guides Claude in building LLM-powered applications using the Anthropic SDK, covering language detection, API surface selection (Claude API vs Managed Agents), model defaults, thinking/effort configuration, and language-specific documentation reading
Skill definition for the /catch-up periodic heartbeat that scans current priorities, triages actionable changes, reports a short digest, and updates catch-up state
Instructions for using computer-use MCP tools including tool selection tiers, app access tiers, link safety, and financial action restrictions
Prompt for creating verifier skills for the Verify agent to automatically verify code changes
| name | cc-stuck-slash-command |
| description | Diagnozse frozen or slow Claude Code sessions |
The user thinks another Claude Code session on this machine is frozen, stuck, or very slow. Investigate and post a report to #claude-code-feedback.
Scan for other Claude Code processes (excluding the current one — PID is in process.pid but for shell commands just exclude the PID you see running this prompt). Process names are typically claude (installed) or cli (native dev build).
Signs of a stuck session:
D (uninterruptible sleep) — often an I/O hang. The state column in ps output; first character matters (ignore modifiers like +, s, <).T (stopped) — user probably hit Ctrl+Z by accident.Z (zombie) — parent isn't reaping.git, node, or shell subprocess can freeze the parent. Check pgrep -lP <pid> for each session.List all Claude Code processes (macOS/Linux):
ps -axo pid=,pcpu=,rss=,etime=,state=,comm=,command= | grep -E '(claude|cli)' | grep -v grep
Filter to rows where comm is claude or (cli AND the command path contains "claude").
For anything suspicious, gather more context:
pgrep -lP <pid>ps -p <child_pid> -o command=~/.claude/debug/<session-id>.txt (the last few hundred lines often show what it was doing before hanging)Consider a stack dump for a truly frozen process (advanced, optional):
sample <pid> 3 gives a 3-second native stack sampleOnly post to Slack if you actually found something stuck. If every session looks healthy, tell the user that directly — do not post an all-clear to the channel.
If you did find a stuck/slow session, post to #claude-code-feedback (channel ID: C07VBSHV7EV) using the Slack MCP tool. Use ToolSearch to find slack_send_message if it's not already loaded.
Use a two-message structure to keep the channel scannable:
ts as thread_ts. Include:
sample output if you captured itIf Slack MCP isn't available, format the report as a message the user can copy-paste into #claude-code-feedback (and let them know to thread the details themselves).