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.
git clone --depth 1 https://github.com/jzl-maker/EA-SKILLWrote 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.
[](https://agentmods.dev/commands/jzl-maker/ea-skill/record)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
执行流程
-
【状态目录】
get_state_dir()→<STATE_DIR> -
【改动清单】 先跑 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的基线副本就是为此存的)。 - 退出 0 →
-
【保护区核对】 改动清单中是否有保护区文件:
- 有且无 approve 记录 → 告警,列出 diff 待用户确认
- 有且有 approve 记录 → 附上审批条目
-
【测试证据】 收集本步骤测试结果(单测 PASS/FAIL、板级用例、编译/烧录/J-Link/串口记录)
-
【调试证据】 如本步骤有调试过程,附 debug 的 PC/变量/寄存器现场 → 根因结论
-
【写记录】 生成
<STATE_DIR>/records/<step>-<YYYYMMDD>.md -
【回写 context】 增量更新
context.md:新增模块/新约定/新增保护区文件 -
【输出摘要 + 提议 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旧命令已被本命令替代
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.
- 2mo ago Changed 51f85fd74923
- 2mo ago Changed · +8 lines b4cb74b30b7c
- 2mo ago Changed 369f5e9ced2b
- 3mo ago First seen · 80 lines · 0 tokens per session scan A 155c3e730077
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.
record compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| recordjzl-maker/EA-SKILL | Command | 15 | 1mo ago | MIT | A | 0 | Claude Code |
| auditmantacron/manta | Command | 10 | 1mo ago | none | A | 0 | Claude Code |
| fixmantacron/manta | Command | 10 | 1mo ago | none | A | 0 | Claude Code |
| generate-testsmantacron/manta | Command | 10 | 1mo ago | none | A | 0 | Claude Code |
| pre-commit-reviewmantacron/manta | Command | 10 | 1mo ago | none | A | 0 | Claude Code |
| debtmantacron/manta | Command | 10 | 1mo ago | none | A | 0 | Claude Code |
| pre-push-reviewmantacron/manta | Command | 10 | 1mo ago | none | A | 0 | Claude Code |