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/si)<a href="https://agentmods.dev/commands/jzl-maker/ea-skill/si"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/si/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/si"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/si.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.00973 |
| Opus 5.5 | $0.00000 | $0.00389 |
| Sonnet 5.5 | $0.00000 | $0.00195 |
| Haiku 4.5 | $0.00000 | $0.00097 |
Grade A, and why
si 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.
What it actually says
命令: /ea si (存量项目接入)
ESP32 分支
ESP32 工程先读取 ESP32 适配流程,识别框架配置、具体目标、任务/组件和分区;源码扫描排除 SDK、依赖及生成目录。保持只读接入,不迁移框架或升级 SDK。
功能
分析现有嵌入式工程,重建项目状态:建立 <STATE_DIR>/(.ea/ 或沿用老 .em/)+ 完整 context.md + 基线快照,让老项目进入可被 AI 增量开发/调试的状态。
触发
/ea si [路径]
不带路径时使用当前目录。
执行流程
- 【进入目录】 定位项目根
- 【状态目录】
get_state_dir():已有.ea//.em/→ 沿用并合并;否则新建.ea/ - 【代码审计 + 上下文构建】 走
workflows/context-build.md:- 芯片识别:
system_*.c/startup_*.s→ chips.json 学习(复用workflows/chip-learning.md正则) - 外设识别:搜索
gpio_init/usart_init/i2c_init等关键词 - 构建入口:扫描
*.uvprojx/*.uvproj/*.ioc/sdkconfig/platformio.ini - 模块地图:main / 驱动层 / 应用层 / 中断处理 / printf 重定向 / LED·按键调试接口
- 既有约定:编码(GB2312 检测)、命名规范、架构约束
- 保护区清单:
startup_*.s、向量表、*.sct/*.ld/*.icf、system_*.c - 全部写入
<STATE_DIR>/context.md
- 芯片识别:
- 【基线快照】
python <SKILL>/tools/shared/project_guard.py --snapshot- 保护区 + 关键源文件 SHA-256 → context.md 基线区
- 老工程保护从此生效:之后任何改动都能 diff / 审计
- 【git 检查】
git log -1读最后一次提交信息写入 state.md - 【生成规格】
<STATE_DIR>/project-spec.md步骤表(从代码推断已完成步骤)+state.md - 【输出审计报告】
输出格式
🔍 代码审计完成
📟 芯片: GD32F407VET6 (GigaDevice) 外设: GPIO/UART/I2C/SPI/CAN/Timer
🔧 工程: Keil (.uvprojx) target=GD32F407 linker=xxx.sct
🗺 模块: main → task/Display/Drv_UART... printf→串口3 调试: LED_PC13/按键KEY0
🛡 保护区: startup_gd32f407.s / system_gd32f4xx.c / xx.sct 已加基线
✅ 已完成: S1 板级驱动 S2 显示 ...
🔄 当前状态: 主循环 + 看门狗 250ms;上次提交: <git log 一行>
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
下一步: /ea rec 或 /ea new <功能描述>
设计原则
- ✅ 老工程零破坏:不改任何源文件,只建状态/上下文
- ✅ 增量开发前提:context + 基线让后续所有改动可 diff、保护区可审计
- ✅ 既有
.em/项目兼容:沿用不迁移
相关文件
workflows/context-build.md— 上下文感知构建(本命令核心)workflows/chip-learning.md— 芯片识别/学习tools/shared/project_guard.py— 基线快照templates/context.md— context 模板
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.
- 1mo ago Changed · +4 lines dfd2813aba45
- 2mo ago Changed b45222e7834a
- 2mo ago Changed ab917f1c2640
- 3mo ago First seen · 56 lines · 0 tokens per session scan A 00c810334bf2
si 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 973 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.
si compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sijzl-maker/EA-SKILL | Command | 15 | 1mo ago | MIT | A | 0 | Claude Code |
| rtosHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 27 | Claude Code |
| cortex-mHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 25 | Claude Code |
| debug-embeddedHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 27 | Claude Code |
| embedded-linuxHermeticOrmus/LibreEmbed-Claude-Code | Command | 50 | 1mo ago | MIT | A | 23 | Claude Code |
| esp-teachmathisk2095/jko-claude-plugins | Command | 3 | 1mo ago | MIT | A | 19 | Claude Code |
| tapeout-checkMidstall/claude-for-hardware | Command | 20 | 4mo ago | Apache-2.0 | A | 12 | Claude Code |