Claude Code Snapshot Backup — Development skill for Claude Code
Claude Code source snapshot backup - instructkr/claude-code mirror.
How to install Claude Code Snapshot Backup
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open youmengde/claude-code-snapshot-backup and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Snapshot Backup does
Claude Code source snapshot backup - instructkr/claude-code mirror.
Alternatives in Development
- Backup 14.5k ★
- Claude Code Source Code Leak — Claude Code Snapshot for Research 271 ★
- LiveBrowser — Browser tools (browser_navigate, browser_get_state, browser_snapshot, browser_get_text, browser_click, browser 250 ★
README
Claude Code Source Snapshot - TypeScript Version
**⚠️ 注意**:本仓库是从 [instructkr/claude-code](https://github.com/instructkr/claude-code) 备份的 **TypeScript 源码版本**。
原始仓库在 2026-03-31 之后已变更为 Python 移植版本,本仓库保留了 **原始 TypeScript 源码快照**。
仓库来源
- 原始仓库: instructkr/claude-code
- 备份时间: 2026-03-31
- 源码类型: TypeScript (Bun 运行时)
- 文件数量: 1,902 个文件
- 代码行数: 513,517 行
来源说明
This repository mirrors a **publicly exposed Claude Code source snapshot** that became accessible on **March 31, 2026** through a source map exposure in the npm distribution. It is maintained for **educational, defensive security research, and software supply-chain analysis**.
源码概述
本备份包含 Claude Code 的完整 TypeScript 源码,涵盖:
| 目录 | 说明 |
|---|---|
src/assistant/ |
AI助手核心模块 |
src/bootstrap/ |
启动引导模块 |
src/bridge/ |
桥接模块 |
src/cli/ |
命令行接口 |
src/commands/ |
101个斜杠命令 |
src/components/ |
React组件 |
src/coordinator/ |
多Agent协调器 |
src/hooks/ |
React钩子 |
src/ink/ |
Ink CLI框架 |
src/server/ |
服务器模块 |
src/services/ |
服务模块 |
src/skills/ |
技能系统 |
src/state/ |
状态管理 |
src/tasks/ |
任务管理 |
src/tools/ |
工具注册表 |
src/types/ |
TypeScript类型定义 |
src/utils/ |
工具函数 |
src/voice/ |
语音模块 |
关键文件
src/main.tsx- 主入口文件 (803KB)src/QueryEngine.ts- 查询引擎src/query.ts- 查询模块 (68KB)src/Tool.ts- 工具基类src/Task.ts- 任务基类src/commands.ts- 命令定义 (25KB)src/tools.ts- 工具定义
重要说明
- 本仓库仅用于研究和学习目的
- Claude Code 是 Anthropic 的商业产品,本源码是通过非正常渠道获取的泄露版本
- 请勿用于商业目的或侵犯版权
研究价值
通过分析此源码,可以了解:
- AI Agent 的架构设计
- 多Agent协调机制 (Coordinator + Worker Pool)
- 工具注册和调用系统
- 斜杠命令的实现方式
- 与大语言模型的交互方式
**备份日期**: 2026-03-31 **备份工具**: OpenClaw AI Agent
Related Skills
Claude Code Sourcemap
This is a mirror file of the leaked source code of Claude code(2026.3.31)
Claw Code
Rewriting Project Claw Code — Python rewrite of Claude Code agent harness. Forked from instructkr/claw-code.
Claude Plugins Community
Community plugin marketplace for Claude Cowork and Claude Code. Read-only mirror — submit plugins at clau.de/p
Crow Crosspost
F.12 cross-app publishing — mirror a post from one federated bundle to another via pure-function transforms.
Unity Network
Set up multiplayer networking — writes network scripts, configures NetworkManager via MCP. Supports Netcode, M
03 Repair Batch Consistency
Repair Prompt: Batch Consistency and Mirror Recovery
Related Agents
Tracker Id Auditor
PR-time backup — regex-scans diffs for tracker IDs (sprint tags, iteration markers, ticket numbers, ask number
Beads Guru
Use this agent for general beads (bd) expertise — the three-layer mirror (bd to GitHub to Plane via bd-sync),
UX A11y Reviewer
UX lens that checks a captured screen for accessibility defects using the accessibility-tree snapshot, screens