Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

stuck

Skill by QwenLM

Diagnoses frozen, stuck, or slow Qwen Code sessions on the local machine. Use it when another session seems hung and you want a report on its processes, resource use, and logs.

  • Score 91
  • 31k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install stuck

Built from the published package, never by AI.

git clone --depth 1 https://github.com/QwenLM/qwen-code /tmp/qwen-code && mkdir -p ~/.claude/skills && cp -r /tmp/qwen-code/packages/core/src/skills/bundled/stuck ~/.claude/skills/stuck

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install stuck in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The /stuck skill checks other Qwen Code sessions running on the same machine when a user thinks one is frozen, stuck, or very slow. It finds Qwen Code processes by their command lines and reads the runtime sidecar files to map process IDs to session IDs. It then checks CPU use, memory use, process state, and child processes, and can inspect network connections and recent debug log lines. The skill can be run with no argument, with a process ID such as /stuck <PID>, or with a short symptom description.

The skill is written for Qwen Code users who need to find out why another session has stopped responding. It is meant to produce a diagnostic report rather than fix the problem. The source says it limits scans to the current user and redacts credentials it finds in command lines.

Written from the project's SKILL.md and checked against it.

What it can do

  • Process scanLists live Qwen Code processes with CPU, memory, state, and uptime using ps.
  • Session mappingReads runtime.json sidecar files to match process IDs with session IDs and working directories.
  • Hang signaturesFlags high sustained CPU, uninterruptible sleep, stopped, zombie, and very high memory processes.
  • Child process checkLooks for hung git, node, or shell subprocesses under a Qwen Code process.
  • Network checkInspects open connections for a process to spot a long-lived idle connection to a model host.
  • Debug log readReads the tail of the latest or matching session debug log to show what it was doing.
  • Stack dumpTakes an optional native stack sample of a frozen process on macOS or Linux.

What you need

  • Qwen Code installed
  • Node.js
  • macOS or Linux
  • Shell access for run_shell_command

Try asking

  • /stuck
  • /stuck 12345
  • Check whether another Qwen Code session on this machine is frozen

Good to know

  • Scans only processes owned by the current user.
  • On Linux, the ss PID column needs root or CAP_NET_ADMIN, otherwise the check falls back to lsof.
  • Debug logs may contain prompts, file contents, or tokens, so only relevant lines should be shared.
  • Stack dumps may include sensitive values held in memory and need redaction.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: packages/core/src/skills/bundled/stuck/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md13 KB

Alternatives to stuck

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

stuck: common questions

What does the /stuck skill check?

It checks Qwen Code processes for high CPU, high memory, uninterruptible sleep, stopped or zombie state, and hung child processes. It also looks at network connections and recent debug log lines.

Can I check one specific session?

Yes. Pass a digit-only process ID, such as /stuck 12345, to skip the full scan and diagnose that process. The skill first confirms it is a live Qwen Code process owned by the current user.

Does the skill read my debug logs?

It reads the tail of the matching debug log, limited to the last 200 lines. The source says to share only lines related to the hang and never quote secrets or API keys.

How do I install stuck?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is stuck free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is stuck safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to stuck?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

Add to stack

Loading.