claude-runtime-debug SKILL.md skillA

claude-runtime-debug from esonhugh/claude-code is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add esonhugh/claude-code/claude-runtime-debug@v0.2.0

Pins v0.2.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
esonhugh/claude-code
Path
.claude/skills/claude-runtime-debug/SKILL.md
Versions recorded
1
Latest version
v0.2.0, committed Jul 18, 2026
Size
4,073 bytes
Repository stars
43
License
none declared

This skill should be used when the user asks to diagnose Claude Code CLI/runtime behavior, including “运行时调试”, “命令输出不一致”, “退出码”, “debug log”, or “InteractiveTerminal 快速复现”. It covers --print, stdout/stderr, exit codes, --debug/--debug-file, non-network settings parity, output formats, hooks, and focused single-process PTY/TUI smoke checks. Use claude-network-debug for proxy/OAuth/network/MITM, claude-source-binary-analysis for static extraction, and claude-agent-workflow-validation for strict…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Claude Code 运行时诊断

规划并执行可复现的 Claude Code CLI/runtime 诊断。优先采用真实 CLI 执行和本地产物作为证据,不根据源码存在或命令未立即报错推断功能已通过。

## 证据层边界

- Assistant-side 工具用于构建、启动 PTY、输入按键、捕获输出和检查文件。
- Slash command、bundled skill、hook、statusline 和子进程工具只存在于运行中的 binary-side;必须输入 binary stdin 并观察该进程输出。
- Assistant-side `Agent`、`Workflow`、`Skill`、Task/Run ID 不能证明 binary-side 同名能力。
- 报告中区分 `assistant-side action` 与 `binary-side observation`。

## 任务路由

| 任务 | 使用 |
|---|---|
| `--print`、stdout/stderr、exit code、JSON/stream-json、debug flags/log | 本 skill |
| prompt、permission、statusline、按键、resize、取消恢复、简单 slash command smoke diagnosis | 本 skill 的 InteractiveTerminal reference |
| proxy、OAuth、`HTTP_PROXY`/`HTTPS_PROXY`、SSE/WebSocket、CONNECT、MITM/CCH wire summary | `claude-network-debug` |
| Agent/Workflow fan-out、`/deep-research`、`/code-review`、task lifecycle、notification、scheduling、foreground/background、official/local stable pane parity | `claude-agent-workflow-validation` |
| 源码/二进制静态分析、Bun extraction、反混淆、离线 CCH | `claude-source-binary-analysis` |

简单 slash command 在本 skill 中仅用于快速定位输入、解析或渲染问题,不构成正式回归验收。需要稳定 pane/debug 证据、完整生命周期或 official parity 时立即升级到 `claude-agent-workflow-validation`。

## 核心流程
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add esonhugh/claude-code/claude-runtime-debug@sha256:fcbde0d5680db441

The line at the top of this page pins the label v0.2.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_rz4pltxyb3bihiaq.svg)](https://markdownregistry.com/a/art_rz4pltxyb3bihiaq)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jul 18, 2026.

versioncommittedcommitsizeaudit
v0.2.0 latest2026-07-18 3df519a 4,073 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4073 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

esonhugh/claude-code · 43 stars · license none declared · pushed 2026-10-20 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_rz4pltxyb3bihiaq
GET https://markdownregistry.com/api/v1/resolve?ref=esonhugh/claude-code/claude-runtime-debug
GET https://markdownregistry.com/api/v1/blob/fcbde0d5680db44149761308be5e85a0008943817ab19e61ab84cc06afcda4d2

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from esonhugh/claude-code

claude-agent-workflow-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-agent-workflow-validation/SKILL.md · This skill should be used automatically when the user asks for strict binary-side validation of Agent, Workflow…
v0.3.0 · audit A · 43 stars
claude-code-feature-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-code-feature-validation/SKILL.md · Use this skill automatically whenever validating a Claude Code repository change: a new feature, modified feature, bug…
v0.1.0 · audit A · 43 stars
claude-network-debug SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-network-debug/SKILL.md · This skill should be used when the user asks about Claude Code “代理不生效”, “OAuth 网络失败”, “抓流”, “CONNECT”, “SSE/WebSocket”…
v0.1.0 · audit A · 43 stars
claude-source-binary-analysis SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-source-binary-analysis/SKILL.md · This skill should be used when the user asks to statically analyze authorized Claude Code source or…
v0.2.0 · audit A · 43 stars
release-validation SKILL.md skill
esonhugh/claude-code · .claude/skills/release-validation/SKILL.md · Validates release readiness with related bun tests, make release-check, current-binary scripted tmux interactions, and…
v0.1.0 · audit A · 43 stars
CLAUDE.md CLAUDE.md file
esonhugh/claude-code · CLAUDE.md
git:20260723.44dceca · audit A · 43 stars
claude-api SKILL.md skill
esonhugh/claude-code · src/skills/bundled/claude-api/SKILL.md
git:20260331.4178dd7 · audit C · 43 stars
verify SKILL.md skill
esonhugh/claude-code · src/skills/bundled/verify/SKILL.md · Verify a code change by running the app and checking the user-facing outcome.
git:20260331.4178dd7 · audit B · 43 stars

Every file in esonhugh/claude-code

Browse by kind, by grade A, or by owner.