CLAUDE.mdA
CLAUDE.md from dwgx/smartcli is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.
mdr add dwgx/smartcli/CLAUDE.md@git:20261011.24da983Pins git:20261011.24da983 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- CLAUDE.md file
- Repository
- dwgx/smartcli
- Path
CLAUDE.md- Versions recorded
- 11
- Latest version
- git:20261011.24da983, committed Oct 11, 2026
- First version recorded
- Aug 5, 2026
- Size
- 19,116 bytes
- Repository stars
- 6
- 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 This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. ## ⚠️ 硬性红线:严禁密集/并发 spawn 真实进程(会卡死/崩溃本机) 2026-07-13 事故:在一个会话里短时间内反复 spawn 大量真实进程(多个 grok/codex/ kiro-cli 全屏 TUI + 反复起关 daemon + mutation 来回 git checkout + verify_fx 每次 又开一堆 PTY 子进程),累积瞬时并发把用户 Windows 机器拖到卡死,用户被迫重启。 单个进程都清理干净了(零残留),元凶是**叠加的瞬时并发峰值**。 以后必须遵守: 1. **一次只驱动一个 PTY/TUI 会话。** 跑完立刻 `close` + 确认 `tui.py list` 零残留, 再起下一个。绝不同时开多个 agent CLI(grok/codex/kiro-cli 每个都拉起 node/rust 进程 + winpty,极吃资源)。 2. **重活(verify_fx、run_all、drive-probe 全套)先征得用户同意再跑**,且串行、 分开跑,不在一个会话里堆几十个进程。verify_fx 每跑一次要 spawn 一大批 PTY 特效 子进程——尤其重。 3. **mutation 验证要克制**:来回 git checkout + 重跑 PTY 探针代价高;能用代码级 断言证明的就别反复起真实进程。 4. **看到 spawn 层错误**(`uv_spawn`、`EUNKNOWN`、exit 143/45、Git-bash spawn 失败)= 系统在示警资源紧张,**立即停手**,别换 shell 硬上。 5. 需要用户自己跑重活时,建议用 `! python tests/verify_fx.py`(前缀 `!` 在会话里 直接跑),而不是我又开一批子进程。 ## Tool priorities 本仓库已建 CodeGraph 索引。优先用配好的工具: - **查代码用 CodeGraph**:搞清符号、调用链、改动影响面时先 `codegraph explore`, 再决定要不要读文件。别一上来就 grep。 - **搜文件用 `rg` 不用 `grep`**;找文件用 `fd` 不用 `find`。 - **读文件用 Read 工具**,不用 `cat`/`head` 读代码。 - 本仓库是 Python:`ruff`/`mypy` 已装,pyproject.toml 已配好,直接用。 …
Read the whole file at its exact version.
How to install
mdr add dwgx/smartcli/CLAUDE.md@sha256:7fc16e89b48433b6The line at the top of this page pins the label git:20261011.24da983, 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_s7rc7pxh3ojbvain)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 11 versions of this file, between Aug 5, 2026 and Oct 11, 2026, about one every 7 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261011.24da983 latest | 2026-10-11 | 24da983 | 19,116 B | A | view · diff |
| git:20260930.47e11af | 2026-09-30 | 47e11af | 18,791 B | A | view · diff |
| git:20260930.e41db73 | 2026-09-30 | e41db73 | 18,229 B | A | view · diff |
| git:20260930.69f63a0 | 2026-09-30 | 69f63a0 | 18,156 B | A | view · diff |
| git:20260930.26e38cf | 2026-09-30 | 26e38cf | 17,460 B | A | view · diff |
| git:20260930.903293a | 2026-09-30 | 903293a | 16,480 B | A | view · diff |
| git:20260809.7b9596c | 2026-08-09 | 7b9596c | 14,021 B | A | view · diff |
| git:20260809.2d06d5d | 2026-08-09 | 2d06d5d | 13,563 B | A | view · diff |
| git:20260809.58407bd | 2026-08-09 | 58407bd | 13,206 B | A | view · diff |
| git:20260807.38c05cc | 2026-08-07 | 38c05cc | 10,210 B | A | view · diff |
| git:20260805.0bdac70 | 2026-08-05 | 0bdac70 | 9,880 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (19116 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
dwgx/smartcli · 6 stars · license MIT · pushed 2026-10-11 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_s7rc7pxh3ojbvain GET https://markdownregistry.com/api/v1/resolve?ref=dwgx/smartcli/CLAUDE.md GET https://markdownregistry.com/api/v1/blob/7fc16e89b48433b6f6f86059ca5a9cb2424f389b0b806660a2cb7827ec30f5bf
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.