CLAUDE.mdA
CLAUDE.md from watertian/cc-hud is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add watertian/cc-hud/CLAUDE.md@git:20261106.74e0de7Pins git:20261106.74e0de7 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- watertian/cc-hud
- Path
CLAUDE.md- Versions recorded
- 10
- Latest version
- git:20261106.74e0de7, committed Nov 6, 2026
- First version recorded
- Oct 19, 2026
- Size
- 12,359 bytes
- Repository stars
- 9
- License
- MIT
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.md — cc-hud 项目指令
## 项目概述
cc-hud — 精简的 Claude Code 单行状态栏插件,显示模型名称、思考深度(effort)、上下文用量、活跃子代理、速率限制(5h / 7d / spend cap)、顶级模型周用量、工作区(目录 · 分支)。另提供 Codex CLI 原生 footer 的一次性预设(见下文「Codex CLI 原生 footer 预设」)。
面向 AI agent 的英文参考在 `AGENTS.md`(运行契约、读写的文件 / 进程 / 网络端点、环境变量、验证与调试步骤、改代码要守的不变量)。改动行为或接口时,README / AGENTS.md / 本文件一起更新。
## 技术栈
| 层级 | 技术 |
|------|------|
| 语言 | TypeScript(strict) |
| 运行时 | Node.js ≥ 18 |
| 构建 | tsc(ESM, ES2022) |
| 依赖 | 零外部依赖,仅 Node.js 内置模块 |
| 测试 | node:test(内置;`npm test` 经 scripts/test.cjs 显式枚举 ts/cjs) |
| 配色 | Catppuccin Mocha(ANSI 256 色) |
## 项目结构
```
.claude-plugin/plugin.json — Claude Code 插件清单
commands/setup.md — 安装配置命令(v0.5.0+ 写 launcher 到 <cfg>/bin/;cfg = $CLAUDE_CONFIG_DIR 或 ~/.claude)
src/
index.ts — 入口:stdin → 解析 → 渲染 → stdout(全程只写一次 stdout;异常和 2s 超时路径都输出仅含 stdin 数据的行)
stdin.ts — 解析 stdin JSON(非普通对象一律视为 {})
transcript.ts — 思考深度(effort)来自 transcript 尾部 64KB;活跃 agent 来自 <session>/subagents/agent-*.meta.json(Claude Code 异步启动 agent 时写入,结束时标 finished;15 分钟无心跳视为死亡),旧版同步 agent 仍走 transcript
render.ts — 单行紧凑渲染(1/8 精度进度条 + ANSI 颜色;自由文本先剥控制字符)
…Read the whole file at its exact version.
How to install
mdr add watertian/cc-hud/CLAUDE.md@sha256:9c64fd804dd4d622The line at the top of this page pins the label git:20261106.74e0de7, 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.
[](https://markdownregistry.com/a/art_fgp5ycpsrv7rl2tu)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Oct 19, 2026 and Nov 6, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261106.74e0de7 latest | 2026-11-06 | 74e0de7 | 12,359 B | A | view · diff |
| git:20261105.e62a818 | 2026-11-05 | e62a818 | 11,826 B | A | view · diff |
| git:20261105.e440f84 | 2026-11-05 | e440f84 | 11,275 B | A | view · diff |
| git:20261105.5c813e8 | 2026-11-05 | 5c813e8 | 11,457 B | A | view · diff |
| git:20261105.9fb6056 | 2026-11-05 | 9fb6056 | 10,689 B | A | view · diff |
| git:20261031.88fb9f4 | 2026-10-31 | 88fb9f4 | 5,890 B | A | view · diff |
| git:20261031.bd739a2 | 2026-10-31 | bd739a2 | 5,921 B | A | view · diff |
| git:20261025.e26b329 | 2026-10-25 | e26b329 | 5,984 B | A | view · diff |
| git:20261019.c530de8 | 2026-10-19 | c530de8 | 5,896 B | A | view · diff |
| git:20261019.eb08aec | 2026-10-19 | eb08aec | 5,284 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (12359 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
watertian/cc-hud · 9 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_fgp5ycpsrv7rl2tu GET https://markdownregistry.com/api/v1/resolve?ref=watertian/cc-hud/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/9c64fd804dd4d622eff9bd07ef4663b5250bad28e598bca5eec4a2b7c636702a
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: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.
More from watertian/cc-hud
Every file in watertian/cc-hud