stat

stat is a command for Claude Code from jzl-maker/EA-SKILL. It costs 0 tokens per session (892 once invoked), scanned A, original, MIT.

A project-status command for an embedded-software project. It reads saved project notes and shows the current state, progress, next action, or a fuller project overview.

In plain words
What is it for?
Use it to check the current development stage, see the next task, review recent project information, or audit protected areas of the project.
Why use it?
It avoids opening several project files just to find out what is happening. You can choose a brief status or inspect steps, decisions, problems, and context in more detail.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to check the current development stage, see the next task, review recent project information, or audit protected areas of the project.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jzl-maker/ea-skill/stat
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jzl-maker/EA-SKILL

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 stat

README.md
[![agentmods](https://agentmods.dev/badge/commands/jzl-maker/ea-skill/stat/github.svg)](https://agentmods.dev/commands/jzl-maker/ea-skill/stat)
Your own site
<a href="https://agentmods.dev/commands/jzl-maker/ea-skill/stat"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/stat/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 stat

Your own site · 80×15
<a href="https://agentmods.dev/commands/jzl-maker/ea-skill/stat"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/stat.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 892 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.00892
Opus 5.5 $0.00000 $0.00357
Sonnet 5.5 $0.00000 $0.00178
Haiku 4.5 $0.00000 $0.00089

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

Security

Grade A, and why

stat 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 1mo 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.

commands/stat.md · 88 lines

What it actually says

命令: /ea stat (项目状态)

功能

查看项目状态:默认极简(state.md),-v 详细(步骤全表、最近会话、决策、问题、保护区审计)。

触发

/ea stat              # 默认:读 state.md,输出 ≤10 行
/ea stat -v           # 详细:project-spec/最近会话/decisions/problem-log/context
/ea stat steps        # 只显示开发步骤状态表
/ea stat next         # 只显示下一步动作

加载策略

模式 加载文件 用途
默认 state.md + project.json 快速看现在做啥
-v + project-spec.md + context.md + decisions.md + problem-log.md 全景
steps project-spec.md 的步骤表区段 看进度
next state.md 的「下一步动作」区段 极简

执行流程

  1. 【状态目录】 get_state_dir() → <STATE_DIR>

  2. 按模式加载对应文件

  3. 【步骤号一致性校验】(默认与 -v 模式都做)三处步骤号必须一致:

    来源 取法
    state.md Meta 区 - **当前步骤**: S<N>
    project-spec.md Meta 区 - **当前步骤**: S<N>
    project-spec.md 步骤表 「开发步骤状态」表里编号最大的 S 行,并检查 S<N> 那一行是否存在

    不一致时必须显式告警,不要默默按其中一个显示。这是纯粹的一致性比对, 不靠人工发现 —— 否则 AI 每轮都要重新撞一次这个矛盾。

  4. 输出对应格式

输出格式

默认模式

📍 <项目名> — S<N> <状态>  (embedded)
更新: YYYY-MM-DD   会话: sess-...

下一步:
1. <动作1>

详情: /ea stat -v

步骤号不一致时,紧接着补一行(只在真不一致时出现,一致就不占地方):

⚠️ 步骤号不一致: state.md=S8 / project-spec.md 当前步骤=S7 / 步骤表最大=S7
   → S8 在步骤表里还没有行,建议先补 project-spec.md 再继续

-v 模式

📍 <项目名> (embedded) — S<N> <状态>
芯片: <chip> | 工具链: <uv4+openocd+jlink>

━━ 步骤状态 ━━
| S1 | ✅ | 板级驱动 |
| S2 | 🔄 | <当前> |

━━ 一致性 ━━
state.md=S<N> | spec 当前步骤=S<N> | 步骤表最大=S<N>   ✅ 一致
(不一致时改为:⚠️ <各处取值> + 缺哪一行 / 该补什么)

━━ 工程上下文 ━━
<芯片/外设/模块地图/保护区摘要>

━━ 待解决问题 ━━
<P0/P1 列表>

下一步:
- ...

设计原则

  • ✅ 默认极简 → 用户主动 -v 才详细(渐进式查询)
  • ✅ 嵌入式:-v 并入 context 摘要与保护区提醒

相关文件

  • commands/rec.md — 恢复,加载同样的 state.md
  • templates/state.md — state 模板
  • templates/context.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. 1mo ago Changed · +20 lines a2b2de045ac7
  2. 1mo ago First seen · 68 lines · 0 tokens per session scan A 0bdf994f043f

Subscribe to this mod's changes

stat is a command published in the GitHub repository jzl-maker/EA-SKILL (9 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 892 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.