Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jzl-maker/EA-SKILLnpx agentmods add commands/jzl-maker/ea-skill/setupWrote 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/setup)<a href="https://agentmods.dev/commands/jzl-maker/ea-skill/setup"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/setup/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/setup"><img src="https://agentmods.dev/badge/commands/jzl-maker/ea-skill/setup.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.01908 |
| Opus 5.5 | $0.00000 | $0.00763 |
| Sonnet 5.5 | $0.00000 | $0.00382 |
| Haiku 4.5 | $0.00000 | $0.00191 |
Grade B, and why
setup scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
自动更新 `~/.claude/settings.json`,追加脚本执行权限: How it starts
The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.
命令: /ea setup (环境/工具初始化)
功能
初始化 EA-SKILL 开发环境,一次配置长期有效:
- 更新 Claude 权限配置(允许脚本执行 / 状态文件编辑,禁止危险操作)
- 探测并注册工具路径(Keil UV4 / OpenOCD / J-Link)
- 自动下载 OpenOCD(如果未安装)
- 注册全局 CLAUDE.md 触发器(编译/烧录/串口/RTT/断点/需求分析/文档识别 关键词 → 命令文档指针)
触发
/ea setup
执行流程
步骤 1: 更新权限配置
自动更新 ~/.claude/settings.json,追加脚本执行权限:
"permissions": {
"allow": [
"Read", "Glob", "Grep", "Search",
"Bash(git:status)", "Bash(git:diff)",
"Bash(ls:*)",
"Edit(**/.ea/**/*.md)", "Write(**/.ea/**/*.md)",
"Edit(**/.em/**/*.md)", "Write(**/.em/**/*.md)",
"Bash(python:*)",
"Bash(python */EA-SKILL/tools/build-keil/*.py)",
"Bash(python */EA-SKILL/tools/flash-openocd/*.py)",
"Bash(python */EA-SKILL/tools/serial-monitor/*.py)",
"Bash(python */EA-SKILL/tools/jlink-debug/*.py)",
"Bash(py */EA-SKILL/tools/svd/*.py)",
"Bash(py */EA-SKILL/tools/instrument/*.py)",
"Bash(py */EA-SKILL/tools/doc-reader/*.py)",
"Bash(py */EA-SKILL/tools/resource/*.py)",
"Bash(py -m pip install *)",
"Bash(python */EA-SKILL/tools/shared/*.py)"
],
"ask": [
"Write(**/.ea/discussion/**/*.md)",
"Edit(**/.ea/discussion/**/*.md)"
],
"deny": [
"Bash(rm:*)", "Bash(sudo:*)", "Bash(git push:*)"
]
}
步骤 2: 探测工具路径
python EA-SKILL/tools/shared/detect_tools.py
找到的工具自动注册到 %APPDATA%/ea_skill/config.json(工作区级 .ea_skill.json 可覆盖)。
步骤 3: 注册工具
| 工具 | config key | 必须 | 说明 |
|---|---|---|---|
| OpenOCD | openocd |
✅ 必须 | 烧录工具(未安装则自动下载) |
| Keil UV4 | uv4 |
✅ 必须 | 编译工具(用户手动指定) |
| J-Link | jlink |
可选 | 烧录 + 调试工具(debug 命令需要) |
| Logic 2 | logic2 |
可选 | Saleae 逻辑分析仪软件(la 命令需要,探测到即注册) |
未找到的工具:OpenOCD → 自动下载;Keil UV4 → 提示用户手动指定;其余 → 提示手动指定。
仪器工具(/ea la /ea scope,可选)
la(Saleae 逻辑分析仪)与 scope(Rigol 示波器)依赖第三方 pip 包与硬件后端,按需启用:
# 探测依赖与后端(Logic 2 软件 / 端口 / VISA 资源)
py <SKILL>/tools/instrument/scripts/deps_check.py --detect
# 缺 pip 包时安装(重依赖,确认后执行)
py <SKILL>/tools/instrument/scripts/deps_check.py --install
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 54048357e01c
- 1mo ago Changed 9126a01384d4
- 1mo ago Changed · +17 lines 258e05cbc93c
- 1mo ago First seen · 142 lines · 0 tokens per session scan B 076e1c8e5e31
setup 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 1,908 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
rtos
Design a FreeRTOS or Zephyr task structure with sized IPC, a priority inversion walk, stack budgets, and failure-mode timing.
cortex-m
Generate Cortex-M startup code or a linker script, configure a core subsystem, decode a fault, or add DWT timing.
debug-embedded
Attach a debugger, halt and inspect a target, decode fault registers, or configure ITM, SWO, or ETM trace.
embedded-linux
Generate a Yocto or Buildroot config, flashing commands, a kernel module skeleton, or on-target debug commands.
esp-teach
One-time project setup -- discover hardware, find datasheets, persist context to CLAUDE.md.
tapeout-check
Run the tapeout precheck gate on a design before submission.