si

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

A command for examining an existing embedded project and building a written map of its chip, peripherals, build setup, modules, conventions, and protected files. It also records a baseline snapshot of important source files.

In plain words
What is it for?
Use it when bringing an existing Keil, CubeMX, PlatformIO, or similar embedded project under assisted development. It creates project context, specifications, state information, and an audit report.
Why use it?
It gives an AI coding assistant the context needed to work safely on an older project and makes later changes easier to compare and audit.

Command for Claude Code

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

Good fit Use it when bringing an existing Keil, CubeMX, PlatformIO, or similar embedded project under assisted development. It creates project context, specifications, state information, and an audit report.

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

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

agentmods 80×15 button for si

Your own site · 80×15
<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>
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 973 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.00973
Opus 5.5 $0.00000 $0.00389
Sonnet 5.5 $0.00000 $0.00195
Haiku 4.5 $0.00000 $0.00097

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

Security

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.

commands/si.md · 60 lines

What it actually says

命令: /ea si (存量项目接入)

ESP32 分支

ESP32 工程先读取 ESP32 适配流程,识别框架配置、具体目标、任务/组件和分区;源码扫描排除 SDK、依赖及生成目录。保持只读接入,不迁移框架或升级 SDK。

功能

分析现有嵌入式工程,重建项目状态:建立 <STATE_DIR>/(.ea/ 或沿用老 .em/)+ 完整 context.md + 基线快照,让老项目进入可被 AI 增量开发/调试的状态。

触发

/ea si [路径]

不带路径时使用当前目录。

执行流程

  1. 【进入目录】 定位项目根
  2. 【状态目录】 get_state_dir():已有 .ea//.em/ → 沿用并合并;否则新建 .ea/
  3. 【代码审计 + 上下文构建】 走 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
  4. 【基线快照】 python <SKILL>/tools/shared/project_guard.py --snapshot
    • 保护区 + 关键源文件 SHA-256 → context.md 基线区
    • 老工程保护从此生效:之后任何改动都能 diff / 审计
  5. 【git 检查】 git log -1 读最后一次提交信息写入 state.md
  6. 【生成规格】 <STATE_DIR>/project-spec.md 步骤表(从代码推断已完成步骤)+ state.md
  7. 【输出审计报告】

输出格式

🔍 代码审计完成

📟 芯片: 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 模板
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 · +4 lines dfd2813aba45
  2. 2mo ago Changed b45222e7834a
  3. 2mo ago Changed ab917f1c2640
  4. 3mo ago First seen · 56 lines · 0 tokens per session scan A 00c810334bf2

Subscribe to this mod's changes

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.

Related

si compared with commands from other repositories

si next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sijzl-maker/EA-SKILLCommand151mo agoMITA0Claude Code
rtosHermeticOrmus/LibreEmbed-Claude-CodeCommand501mo agoMITA27Claude Code
cortex-mHermeticOrmus/LibreEmbed-Claude-CodeCommand501mo agoMITA25Claude Code
debug-embeddedHermeticOrmus/LibreEmbed-Claude-CodeCommand501mo agoMITA27Claude Code
embedded-linuxHermeticOrmus/LibreEmbed-Claude-CodeCommand501mo agoMITA23Claude Code
esp-teachmathisk2095/jko-claude-pluginsCommand31mo agoMITA19Claude Code
tapeout-checkMidstall/claude-for-hardwareCommand204mo agoApache-2.0A12Claude Code