CLAUDE.mdA

CLAUDE.md from dwgx/smartcli is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add dwgx/smartcli/CLAUDE.md@git:20261011.24da983

Pins 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

The exact contents, by fingerprint
mdr add dwgx/smartcli/CLAUDE.md@sha256:7fc16e89b48433b6

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

Badge

mdr badge

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

versioncommittedcommitsizeaudit
git:20261011.24da983 latest2026-10-11 24da983 19,116 BA view · diff
git:20260930.47e11af2026-09-30 47e11af 18,791 BA view · diff
git:20260930.e41db732026-09-30 e41db73 18,229 BA view · diff
git:20260930.69f63a02026-09-30 69f63a0 18,156 BA view · diff
git:20260930.26e38cf2026-09-30 26e38cf 17,460 BA view · diff
git:20260930.903293a2026-09-30 903293a 16,480 BA view · diff
git:20260809.7b9596c2026-08-09 7b9596c 14,021 BA view · diff
git:20260809.2d06d5d2026-08-09 2d06d5d 13,563 BA view · diff
git:20260809.58407bd2026-08-09 58407bd 13,206 BA view · diff
git:20260807.38c05cc2026-08-07 38c05cc 10,210 BA view · diff
git:20260805.0bdac702026-08-05 0bdac70 9,880 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 (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

GitHub

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.

More from dwgx/smartcli

cmd-art SKILL.md skill
dwgx/smartcli · skills/cmd-art/SKILL.md · Design and render terminal/CMD visual effects and ASCII art from a one-line request via the pluggable `fx` engine (30…
v0.3.5 · audit A · 6 stars
drive-tui SKILL.md skill
dwgx/smartcli · skills/drive-tui/SKILL.md · Drive interactive terminal (TUI) programs — CLIs, REPLs, installers, menu apps, agent CLIs, and editors like vim —…
v0.3.5 · audit A · 6 stars
tui-ui SKILL.md skill
dwgx/smartcli · skills/tui-ui/SKILL.md · Design web-like user interfaces in the terminal and inside tmux with a cell-grid Canvas, CSS-like box model…
v0.3.5 · audit F · 6 stars

Every file in dwgx/smartcli

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.