record

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

A development-record command that documents changed files, a summary of the code differences, test evidence, debugging evidence, and remaining issues.

In plain words
What is it for?
Use it after coding or debugging to record tests, compilation, flashing, hardware checks, approved protected-file changes, and suggested commits.
Why use it?
It keeps a durable record of what happened during a development step and updates the project context with newly learned conventions or modules.

Command for Claude Code

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

Good fit Use it after coding or debugging to record tests, compilation, flashing, hardware checks, approved protected-file changes, and suggested commits.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jzl-maker/ea-skill/record
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 record

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/jzl-maker/ea-skill/record"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/record.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 1,105 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.01105
Opus 5.5 $0.00000 $0.00442
Sonnet 5.5 $0.00000 $0.00221
Haiku 4.5 $0.00000 $0.00111

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

Security

Grade A, and why

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

commands/record.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

命令: /ea record (修改记录)

功能

开发/调试完成后,输出该步骤的修改记录:改动文件清单 + diff 摘要 + 测试/验证证据 + 遗留问题。同时回写 context.md(增量学习:新模块/新约定)。

触发

/ea record s<编号>    # 如 /ea record s7

执行流程

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

  2. 【改动清单】 先跑 git 可用性检查,再决定用哪条路:

    python <SKILL>/tools/shared/git_state.py --root <工程目录> --scope-only
    
    • 退出 0 → git status + git diff(仓库根=工程目录且有提交,可放心用)
    • 退出 1/2 → 用基线比对: python <SKILL>/tools/shared/project_guard.py --check --diff

    ⚠️ 不要跳过这一步直接 git diff --stat:仓库没有提交、或仓库根是工程的父目录时, 它都返回 0 却输出为空 —— 空 diff 会被当成"本次没改东西",记录直接失真。非 git 工程 更是本来就取不到 diff(project_guard 的基线副本就是为此存的)。

  3. 【保护区核对】 改动清单中是否有保护区文件:

    • 有且无 approve 记录 → 告警,列出 diff 待用户确认
    • 有且有 approve 记录 → 附上审批条目
  4. 【测试证据】 收集本步骤测试结果(单测 PASS/FAIL、板级用例、编译/烧录/J-Link/串口记录)

  5. 【调试证据】 如本步骤有调试过程,附 debug 的 PC/变量/寄存器现场 → 根因结论

  6. 【写记录】 生成 <STATE_DIR>/records/<step>-<YYYYMMDD>.md

  7. 【回写 context】 增量更新 context.md:新增模块/新约定/新增保护区文件

  8. 【输出摘要 + 提议 commit】

记录格式

# 修改记录 S<N> — <步骤名>

日期: YYYY-MM-DD   会话: sess-<id>

## 一、改动文件清单
| 文件 | 性质 | 说明 | 涉保护区 |
|------|------|------|----------|
| src/app/task_display.c | 修改 | 新增翻转逻辑 | 否 |
| src/drv/drv_uart.c | 修改 | 调整波特率配置 | 否 |

## 二、Diff 摘要
<关键 diff 片段,或指向 git diff / project_guard --check 输出>

## 三、测试结果
| 类型 | 结果 |
|------|------|
| 单元测试 | ✅ 5/5 PASS |
| 板级用例 | 3/4 PASS(1 待复查)|
| 编译 | ✅ 错误:0 警告:2 |
| 烧录 | ✅ verified |
| J-Link 验证 | ✅ PC=0x08000xxx 进入 main,RTT 有启动日志 |
| 串口 | ✅ 启动日志正常 |

## 四、调试证据(如有)
- 现象: LED 不翻转
- 断点: task_display() PC=0x08001d28
- 根因: 定时器计数未使能 → 修复 drv_timer
- 验证: 上电后 LED 正常翻转

## 五、遗留问题 & 下一步
- [ ] P1: 板级用例 #4 在低温下待复查
- 下一步: /ea verify s<N+1> 或 /ea new <下一功能>

增量学习(context 回写)

record 完成后更新 context.md:

  • 新增/修改模块 → 模块地图更新
  • 新踩的坑 → 既有约定「注意事项」
  • 新加的文件在保护区 → 保护区清单补充

设计原则

  • ✅ 每次开发/调试留痕:文件 + diff + 证据齐全
  • ✅ 保护区审计闭环:改动有据可查
  • ✅ 工程越用越懂:context 随 record 增量学习

相关文件

  • tools/shared/project_guard.py — 改动清单/保护区审计
  • commands/verify.md — 验证(record 通常在 verify 后)
  • templates/context.md — 工程上下文(增量回写目标)
  • commands/result 旧命令已被本命令替代

Read the full file on GitHub · 88 lines

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 Changed 51f85fd74923
  2. 2mo ago Changed · +8 lines b4cb74b30b7c
  3. 2mo ago Changed 369f5e9ced2b
  4. 3mo ago First seen · 80 lines · 0 tokens per session scan A 155c3e730077

Subscribe to this mod's changes

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

Related

record compared with commands from other repositories

record next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
recordjzl-maker/EA-SKILLCommand151mo agoMITA0Claude Code
auditmantacron/mantaCommand101mo agononeA0Claude Code
fixmantacron/mantaCommand101mo agononeA0Claude Code
generate-testsmantacron/mantaCommand101mo agononeA0Claude Code
pre-commit-reviewmantacron/mantaCommand101mo agononeA0Claude Code
debtmantacron/mantaCommand101mo agononeA0Claude Code
pre-push-reviewmantacron/mantaCommand101mo agononeA0Claude Code