← 开源
hitmux

HitCC

Complete reverse-engineering documentation of the full logic of Claude Code CLI Node.js version v2.1.197

TutorialsTool-specific tutorialsPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
747
Star
238
Fork
+-2
本周
1
贡献者
创建于 2026-03-29 · 更新于 2026-10-12 · 今日第 14266 名
主要开发者
caokai674

hitmux/HitCC 排名第 14,266,有 747 个星标。

同类别比较

hitmux/HitCC 排名第 14,266,此处有 8 个同类条目;yuxitong/TensorFlowAndroidDemo 排名第 14,277。

同类别比较
名称排名指标
chenyuntc/pytorch-best-practice14,223
语言:
Python
星标数:
751
分叉数:
222
简介:
A Guidance on PyTorch Coding Style Based on Kaggle Dogs vs. Cats
muellerzr/Practical-Deep-Learning-for-Coders-2.014,235
语言:
Jupyter Notebook
星标数:
750
分叉数:
160
简介:
Notebooks for the "A walk with fastai2" Study Group and Lecture Series
datalogue/keras-attention14,242
语言:
Python
星标数:
749
分叉数:
242
简介:
Visualizing RNNs using the attention mechanism
yeuxuan/openclaw-docs14,253
语言:
JavaScript
星标数:
749
分叉数:
108
简介:
OpenClaw 中文文档站 | AI 智能体框架 源码剖析 安装教程 | WhatsApp Telegram Discord 飞书 多通道机器人
yuxitong/TensorFlowAndroidDemo14,277
语言:
Java
星标数:
746
分叉数:
206
简介:
TensorFlow android demo 车道线 车辆 人脸 动作 骨架 识别 检测 抽烟 打电话 闭眼 睁眼
Fraud-Detection-Handbook/fraud-detection-handbook14,294
语言:
Jupyter Notebook
星标数:
744
分叉数:
225
简介:
Reproducible Machine Learning for Credit Card Fraud Detection - Practical Handbook
ipython-books/cookbook-2nd-code14,312
语言:
Jupyter Notebook
星标数:
743
分叉数:
437
简介:
Code of the IPython Cookbook, Second Edition, by Cyrille Rossant, Packt Publishing 2018 [read-only repository]
SciML/SciMLTutorials.jl14,316
语言:
CSS
星标数:
742
分叉数:
128
简介:
Tutorials for doing scientific machine learning (SciML) and high-performance differential equation solving with open source software.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Tutorials
子类别Tool-specific tutorials
关键词MCP, Prompt engineering, System prompts, Tool use
星标数747
分叉数238
贡献者1
创建日期2026-03-29
更新日期2026-10-12
1 天星标数0
7 天星标数-2
排名14,266
上次排名14,126
排名变化-140
7 天星标排名18,437
上次 7 天星标排名18,372
7 天星标排名变化-65
总星标排名14,126
上次总星标排名14,101
总星标排名变化-25
README 摘录

**English** | 中文 HitCC Complete reverse-engineering documentation of the full logic of Claude Code CLI v2. 197 HitCC is not a source code repository. It is a documentation knowledge base for learning, analysis, and rewrite work. The goal of this project is not to reconstruct the original file tree, but to recover Claude Code CLI's core runtime logic, module boundaries, configuration system, and surrounding ecosystem as faithfully as possible, so it can serve as a stable reference for a

runnable alternative or a high-similarity rewrite. This project is not affiliated with Anthropic PBC. The repository does not contain Claude Code original source code, cracking content, or implementations intended to bypass product policies or permission mechanisms. Notes To obtain the Claude Code CLI package analyzed by this repository: The Python scripts under can perform an initial round of cleanup on obfuscated or encrypted source code. This repository is based on local analysis of Claude Code CLI v2. 197 obtained

through the method above and the extracted bundle from its native binary package. It does not rely on Anthropic PBC network services, including LLM inference services. 197 Update The knowledge base has been updated from the previous v2. The current evidence model now reflects the newer distribution shape: a wrapper package, a platform native binary package, and a JavaScript bundle extracted from the native executable's section. This update refreshes the runtime entry chain, command surface, background and remote capabilities, Plugin

/ Skill, TUI, control plane, telemetry, abuse/risk/refusal, tool execution, and topics. Several evidence-heavy pages have also been split into parent navigation pages and child topic pages so the evidence can be followed by runtime path. It also adds a standalone topic page, docs/standalone/abuse-control-and-telemetry. md, for the client-side evidence around abuse/risk controls and telemetry. This page groups prompt markers, request identity, telemetry/logging channels, managed policy limits, execution gates, remote-control trust

, gateway safeguards, and refusal/fallback handling into one cross-cutting view, while keeping private server-side enforcement outside the documented evidence boundary. The documentation content in this repository may be quite extensive. The current statistics for the directory (the following data may not be updated in real time): What This Repository Provides Structured reverse-engineering documentation based on the Claude Code CLI v2. 197 local package and extracted bundle A topic-oriented evidence base organized around runtime, execution, ecosystem, rewrite

, and appendix materials Boundary judgments, candidate architecture, and next evidence work for learning, analysis, and high-similarity rewrite efforts What This Repository Does Not Provide Reconstruction of the original source file structure Private server-side implementation details A guarantee of 1:1 behavioral reproduction A directly runnable CLI, SDK, or installation script Documentation Coverage The current knowledge base is not organized by the original source tree. It is organized by runtime topics that can be reconstructed with stable confidence. The

main knowledge base lives under , with standalone topics under . At present, coverage can be understood by directory: - Scope boundaries, evidence

常见问题

记录了多少星标和分叉?

hitmux/HitCC 有 747 个星标和 238 个分叉。

仓库排名是多少?

hitmux/HitCC 排名第 14,266。

记录的语言和类别是什么?

hitmux/HitCC 有 747 个星标,语言为 Python,类别为 Tutorials。

哪个仓库排名最接近?

hitmux/HitCC 与 yuxitong/TensorFlowAndroidDemo 比较,后者排名第 14,277,有 746 个星标。

README

English | 中文

HitCC

Complete reverse-engineering documentation of the full logic of Claude Code CLI v2.1.197

HitCC is not a source code repository. It is a documentation knowledge base for learning, analysis, and rewrite work.
The goal of this project is not to reconstruct the original file tree, but to recover Claude Code CLI's core runtime logic, module boundaries, configuration system, and surrounding ecosystem as faithfully as possible, so it can serve as a stable reference for a runnable alternative or a high-similarity rewrite.

This project is not affiliated with Anthropic PBC. The repository does not contain Claude Code original source code, cracking content, or implementations intended to bypass product policies or permission mechanisms.

Notes

To obtain the Claude Code CLI package analyzed by this repository:

npm pack @anthropic-ai/claude-code@2.1.197

The Python scripts under recovery_tools/ can perform an initial round of cleanup on obfuscated or encrypted source code.

This repository is based on local analysis of Claude Code CLI v2.1.197 obtained through the method above and the extracted bundle from its native binary package. It does not rely on Anthropic PBC network services, including LLM inference services.

Version 2.1.197 Update

The docs/ knowledge base has been updated from the previous v2.1.84 baseline to Claude Code CLI v2.1.197. The current evidence model now reflects the newer distribution shape: a wrapper package, a platform native binary package, and a JavaScript bundle extracted from the native executable's .bun section.

This update refreshes the runtime entry chain, command surface, background and remote capabilities, Plugin / Skill, TUI, control plane, telemetry, abuse/risk/refusal, tool execution, and contextLayers topics. Several evidence-heavy pages have also been split into parent navigation pages and child topic pages so the evidence can be followed by runtime path.

It also adds a standalone topic page, docs/standalone/abuse-control-and-telemetry.md, for the client-side evidence around abuse/risk controls and telemetry. This page groups prompt markers, request identity, telemetry/logging channels, managed policy limits, execution gates, remote-control trust, gateway safeguards, and refusal/fallback handling into one cross-cutting view, while keeping private server-side enforcement outside the documented evidence boundary.

The documentation content in this repository may be quite extensive. The current statistics for the docs/ directory (the following data may not be updated in real time):

TOTAL
  Files: 110
  Lines: 32013
  Chars: 961767
  Bytes: 1288945

What This Repository Provides

  • Structured reverse-engineering documentation based on the Claude Code CLI v2.1.197 local package and extracted bundle
  • A topic-oriented evidence base organized around runtime, execution, ecosystem, rewrite, and appendix materials
  • Boundary judgments, candidate architecture, and next evidence work for learning, analysis, and high-similarity rewrite efforts

What This Repository Does Not Provide

  • Reconstruction of the original source file structure
  • Private server-side implementation details
  • A guarantee of 1:1 behavioral reproduction
  • A directly runnable CLI, SDK, or installation script

Documentation Coverage

The current knowledge base is not organized by the original source tree. It is organized by runtime topics that can be reconstructed with stable confidence. The main knowledge base lives under docs/docs/, with standalone topics under docs/standalone/. At present, coverage can be understood by directory:

  • 00-overview
    • Scope boundaries, evidence sources, confidence terminology, and documentation maintenance conventions
  • 01-runtime
    • CLI entry, command tree, runtime mode dispatch, and Session / Transcript persistence and recovery
    • Input compilation pipeline, main Agent Loop, compact branch, model adapter, provider selection, and auth
    • Stream events, request telemetry/refusal, remote transport, and request build boundaries
    • Two built-in network tools: web-search and web-fetch
    • API lifecycle, startup telemetry, 1P event logging, nonessential traffic switches, control plane, and non-LLM network paths
    • Settings sources, paths, merging, caching, write-back, CLI injection schema, key consumers, and abuse/risk/refusal controls
  • 02-execution
    • Tool execution core, concurrent execution, Hook runtime, Permission / Sandbox / Approval
    • Instruction discovery, rules, prompt assembly, context layering, and request-level injection boundaries
    • Non-main-thread prompt paths, compat agent definitions, attachment lifecycle, context runtime, and tool-use context
  • 03-ecosystem
    • Resume, Fork, Sidechain, Subagent, and agent team
    • Remote persistence, bridge, bridge credentials, and Plan system
    • MCP, Skill, Plugin, TUI, Monitor / Advisor, and their runtime interaction boundaries
  • 04-rewrite
    • Candidate layering, directory skeleton, open-question tiers, blocking judgments, and next evidence work for rewrite engineering
  • 05-appendix
    • Unified terminology and evidence indexes such as the glossary, evidence map, topic maps, and key conclusion review
  • standalone
    • Cross-directory topic notes outside the main navigation tree, used for evidence that spans runtime, execution, and ecosystem boundaries
    • Abuse Control and Telemetry, covering prompt markers, request identity, telemetry/logging, policy/gates, remote-control trust, gateway safeguards, and refusal/fallback handling within the locally provable client-side boundary

Current Conclusions

For the current evidence boundary, rewrite feasibility, remaining unknowns, and next evidence work, see:

Maintenance Principles

This repository is maintained as a knowledge base rather than a single long-form document. The core principles are:

  • 00-overview/00-index.md is only the global entry point and does not duplicate main content
  • Parent pages only provide navigation and boundary descriptions, not long-form mechanism analysis
  • Child pages hold the actual content, evidence points, counter-evidence, and open questions
  • Unknowns are centralized in the scope page and rewrite judgment page to avoid duplicate maintenance across multiple directory pages
  • When new evidence appears, update the relevant topic page first, then backfill the glossary or evidence map

Detailed conventions are described in:

License

Copyright (c) 2026 Hitmux contributors

This project is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

This means you may:

  • Copy and redistribute the project content
  • Modify, adapt, and republish it
  • Use it in commercial or non-commercial scenarios

But you must:

  • Preserve attribution to the original authors or source
  • Include a link to the license
  • Indicate whether changes were made

See LICENSE in the repository root for the full license text.

Acknowledgements

Thanks to the Linux Do community for its support.

Disclaimer

Please use this project only for learning, research, teaching, or legitimate engineering analysis.
Any use of this project to infringe Anthropic PBC's lawful rights or to bypass product policies is unrelated to this project, and the risk is solely the user's responsibility.

The authors assume no legal responsibility for the accuracy or completeness of the documentation, or for any direct or indirect loss caused by using it, including but not limited to legal risk, technical failure, or data loss.

排名相邻
同类项目