claude-source-binary-analysis SKILL.md skillA

claude-source-binary-analysis 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-source-binary-analysis@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-source-binary-analysis/SKILL.md
Versions recorded
1
Latest version
v0.2.0, committed Jul 18, 2026
Size
5,086 bytes
Repository stars
43
License
none declared

This skill should be used when the user asks to statically analyze authorized Claude Code source or official-claude/built-claude binaries, extract Bun .bun or __BUN,__bun sections and cli.original.js, improve extracted JavaScript readability with webcrack/restringer, inspect symbols or sections with objdump/nm/otool, perform read-only local Frida observation, compare source and binary behavior, or reproduce the offline CCH checksum for an authorized fixture. Use claude-runtime-debug for…

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` 源码仓库,以及 `official-claude` / `built-claude` 二进制。分析时应保持证据来源清晰、假设最少、边界明确。

此 skill 适用于仓库所有者有权测试、调试、提取和检查程序行为的合法分析场景。工作范围应聚焦于理解运行时逻辑、构建产物、兼容性和 checksum 行为。

## 必要流程

1. 确认目标位于 `{PROJECT_ROOT}` 内,或属于官方 Claude Code 源码产物,或是仓库所有者明确授权分析的二进制。
2. 使用二进制或反混淆工具前,先说明分析目标:提取、符号检查、运行时观察、checksum 复现或源码/二进制一致性分析。
3. 优先使用源码证据。只有源码不足以回答问题时,再使用二进制工具补充证据。
4. 提取产物仅保留在本地。不要把私有代码、日志、二进制、请求体或提取出的 JavaScript 上传到第三方服务。
5. 记录结论时标注证据类型:
   - `Source-confirmed`
   - `Binary-observed`
   - `Runtime-observed`
   - `Inference / needs verification`
6. 除非用户明确要求本地授权实验,否则不要修改二进制行为。不得提供绕过、持久化、凭证窃取、数据外传或隐蔽规避指导。

## Reference map

按任务只读取需要的 reference:

- [`references/source-analysis.md`](references/source-analysis.md) — 源码入口、调用链、配置/状态来源、测试证据和动态验证升级条件。
- [`references/js-extraction.md`](references/js-extraction.md) — `webcrack`、`restringer`、[`scripts/native-extra.mjs`](scripts/native-extra.mjs) 和 Bun standalone JS 提取。
- [`references/binary-debugging.md`](references/binary-debugging.md) — `objdump`、`nm`、`otool`,以及对 `official-claude` 二进制的安全本地 Frida 观察。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add esonhugh/claude-code/claude-source-binary-analysis@sha256:1ec90ac1801f44f7

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_m2ngmwrhximujcod.svg)](https://markdownregistry.com/a/art_m2ngmwrhximujcod)

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 5,086 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 (5086 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_m2ngmwrhximujcod
GET https://markdownregistry.com/api/v1/resolve?ref=esonhugh/claude-code/claude-source-binary-analysis
GET https://markdownregistry.com/api/v1/blob/1ec90ac1801f44f7be3ca4da05f4566fb5460ba6174359830589cae77922719d

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-runtime-debug SKILL.md skill
esonhugh/claude-code · .claude/skills/claude-runtime-debug/SKILL.md · This skill should be used when the user asks to diagnose Claude Code CLI/runtime behavior, including “运行时调试”…
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.