CFDesktop: Command for Claude Code

.claude/commands/status.md

status is a command for Claude Code from Awesome-Embedded-Learning-Studio/CFDesktop. It costs 0 tokens per session (706 once invoked), scanned A, original, MIT.

A project-status command that builds a short snapshot from the repository's status file, recent Git commits, current branch, and architecture checks.

In plain words
What is it for?
Use `/status` for onboarding, checking progress, reviewing recent changes, finding the next planned work, and spotting forbidden dependencies between project layers.
Why use it?
It helps newcomers and returning contributors understand the current state without searching through many files or relying on memory.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is Awesome-Embedded-Learning-Studio/CFDesktop's own configuration. It tells Claude Code how to work on CFDesktop itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CFDesktop configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Awesome-Embedded-Learning-Studio/CFDesktop. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Awesome-Embedded-Learning-Studio/CFDesktop/main/.claude/commands/status.md
Clone the repo
git clone --depth 1 https://github.com/Awesome-Embedded-Learning-Studio/CFDesktop

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for status

README.md
[![agentmods](https://agentmods.dev/badge/commands/awesome-embedded-learning-studio/cfdesktop/status/github.svg)](https://agentmods.dev/commands/awesome-embedded-learning-studio/cfdesktop/status)
Your own site
<a href="https://agentmods.dev/commands/awesome-embedded-learning-studio/cfdesktop/status"><img src="https://agentmods.dev/badge/commands/awesome-embedded-learning-studio/cfdesktop/status/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for status

Your own site · 80×15
<a href="https://agentmods.dev/commands/awesome-embedded-learning-studio/cfdesktop/status"><img src="https://agentmods.dev/badge/commands/awesome-embedded-learning-studio/cfdesktop/status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 706 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00706
Opus 5.5 $0.00000 $0.00282
Sonnet 5.5 $0.00000 $0.00141
Haiku 4.5 $0.00000 $0.00071

Measured 2mo ago against content hash b076c791bda6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

status scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/status.md · 73 lines

What it actually says

/status — 项目现状快照

合成并输出项目当前状态的精炼摘要,让任何人或新 AI 会话 30 秒看懂「现在到哪了、下一步干什么」。

触发方式

  • /status — 输出项目现状快照
  • 用户说「项目现状 / 现在什么进度 / 快速了解项目 / onboarding / 帮我上手」

工作流程(全部自动合成,禁止臆造)

Step 1: 读取进度真相源

  1. 读取 document/status/current.md(项目进度的唯一事实来源)
  2. 抽取:当前阶段、三层进度状态、Phase 状态、下一步路线

Step 2: 采集近期变更

git log -10 --oneline           # 最近 10 次提交
git rev-parse --abbrev-ref HEAD # 当前分支

Step 3: 验证架构健康度

grep -r '#include.*\(ui/\|desktop/\)' base/   # 期望 0(base 不可向上依赖)
grep -r '#include.*desktop/' ui/              # 期望 0(ui 不可依赖 desktop)
  • 任一返回非 0 = 三层依赖违规,必须在输出中标注 ⚠️ 并列出违规文件。

Step 4: 合成输出

按下方「输出格式」拼装,保持一屏可读。

输出格式(中文)

# CFDesktop 现状快照

**版本 / 分支**: 0.19.0 / <branch>
**校准**: <current.md 顶部校准日期>

## 当前阶段
<取自 current.md「当前阶段」>

## 进度状态(定性)
### 三层架构
<base / ui / desktop,取自 current.md>
### Phase
<取自 current.md>

## 下一步路线
<取自 current.md「下一步路线」,列出 MS2-MS5 与首要任务>

## 最近变更(最近 10 提交)
<git log oneline 列表>

## 架构健康度
- 三层依赖: ✅ 0 违规  /  ❌ N 处违规(列出文件)

## 新人入口
<指向 README / CLAUDE.md / current.md 下一步路线>

规则

  • 数据来源强制:所有状态必须取自 document/status/current.md 或实时 git / grep,禁止凭记忆臆造,禁止编造百分比(current.md 本身用定性状态)。
  • 断链报警:若 current.md 导航表指向的文件不存在,必须在输出中以 ⚠️ 显式报警(这正是本命令要守护的「进度漂移 / 指针断裂」问题)。
  • 精炼优先:一屏可读,不展开 CLAUDE.md 的构建命令细节,指向即可。
  • 只读操作:本命令只读取与合成,不修改任何文件。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 73 lines · 0 tokens per session scan A b076c791bda6

Subscribe to this mod's changes

status is a command published in the GitHub repository Awesome-Embedded-Learning-Studio/CFDesktop (11 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 706 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.