CLAUDE.mdA

CLAUDE.md from watertian/cc-hud is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add watertian/cc-hud/CLAUDE.md@git:20261106.74e0de7

Pins 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

The exact contents, by fingerprint
mdr add watertian/cc-hud/CLAUDE.md@sha256:9c64fd804dd4d622

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fgp5ycpsrv7rl2tu.svg)](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.

versioncommittedcommitsizeaudit
git:20261106.74e0de7 latest2026-11-06 74e0de7 12,359 BA view · diff
git:20261105.e62a8182026-11-05 e62a818 11,826 BA view · diff
git:20261105.e440f842026-11-05 e440f84 11,275 BA view · diff
git:20261105.5c813e82026-11-05 5c813e8 11,457 BA view · diff
git:20261105.9fb60562026-11-05 9fb6056 10,689 BA view · diff
git:20261031.88fb9f42026-10-31 88fb9f4 5,890 BA view · diff
git:20261031.bd739a22026-10-31 bd739a2 5,921 BA view · diff
git:20261025.e26b3292026-10-25 e26b329 5,984 BA view · diff
git:20261019.c530de82026-10-19 c530de8 5,896 BA view · diff
git:20261019.eb08aec2026-10-19 eb08aec 5,284 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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

AGENTS.md AGENTS.md file
watertian/cc-hud · AGENTS.md
git:20261106.74e0de7 · audit B · 9 stars
codex-setup SKILL.md skill
watertian/cc-hud · skills/codex-setup/SKILL.md · Set up, check, restore, diagnose misleading quota colors, or style the cc-hud native footer in Codex CLI when…
git:20261105.e62a818 · audit A · 9 stars

Every file in watertian/cc-hud

Other files named CLAUDE.md

CLAUDE.md CLAUDE.md file
affaan-m/ecc · CLAUDE.md
git:20261020.9471ef4 · audit A · 299,696 stars
CLAUDE.md CLAUDE.md file
firecrawl/firecrawl · CLAUDE.md
git:20261008.5a75dca · audit A · 199,595 stars
CLAUDE.md CLAUDE.md file
garrytan/gstack · CLAUDE.md
git:20261107.ef99eb5 · audit A · 140,694 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261106.af560e1 · audit B · 118,366 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 113,383 stars
CLAUDE.md CLAUDE.md file
nexu-io/open-design · CLAUDE.md
git:20260430.9b57c22 · audit B · 106,541 stars
CLAUDE.md CLAUDE.md file
pbakaus/impeccable · CLAUDE.md
git:20261105.71dfd50 · audit A · 106,186 stars
CLAUDE.md CLAUDE.md file
debpalash/voicestudio · CLAUDE.md
git:20261104.c2998f6 · audit A · 102,675 stars

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