skills/stuck-slash-command/SKILL.md
Diagnozse frozen or slow Claude Code sessions
npx skillsauth add mkusaka/ccskills stuck-slash-commandInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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).
development
Skill for syncing a React design system to claude.ai/design by configuring the target project, running the converter, verifying previews, and uploading verified artifacts
tools
Skill instructions for creating or customizing Cowork plugins, including mode selection, research, implementation, packaging, connector replacement, and plugin delivery
development
Design sync sub-skill instructions for using a repo's Storybook as the fidelity oracle when building, validating, matching, uploading, and re-syncing component previews
development
Skill definition for syncing a React design system to claude.ai/design, including project selection, source-shape detection, converter configuration, validation, upload planning, and self-check behavior