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.
npx skills add Ibook000/ibook-skill --skill ioc-editgit clone --depth 1 https://github.com/Ibook000/ibook-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/skills/ibook000/ibook-skill/ioc-edit)<a href="https://agentmods.dev/skills/ibook000/ibook-skill/ioc-edit"><img src="https://agentmods.dev/badge/skills/ibook000/ibook-skill/ioc-edit.svg" alt="Measured on agentmods" 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.00126 | $0.01925 |
| Opus 5 | $0.00063 | $0.00962 |
| Sonnet 5 | $0.00025 | $0.00385 |
| Haiku 4.5 | $0.00013 | $0.00193 |
Grade A, and why
ioc-edit 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 6d 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 — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
STM32CubeMX .ioc Editor Skill
编辑 STM32CubeMX .ioc 配置文件的专用技能。
调用方式
当用户通过 /ioc-edit <需求> 调用时,按以下流程执行。
工作流程
1. 理解需求
分析用户意图,确定操作类型:
- 引脚操作:添加/删除/修改引脚及其信号分配
- 外设配置:修改 I2C、USART、TIM、ADC 等外设参数
- 时钟配置:修改 RCC 时钟树参数
- 中断配置:使能/禁用 NVIC 中断,设置优先级
- 工程配置:修改堆栈大小、工具链等
- 查看/验证:查看当前配置或验证一致性
2. 定位 .ioc 文件
在当前项目目录中查找 .ioc 文件:
- 使用 Glob 工具查找
**/*.ioc - 如果有多个,询问用户选择哪个
- 如果只有一个,直接使用
3. 查看当前状态
在修改前,先查看相关当前配置:
# 查看所有配置
python ~/.claude/skills/ioc-edit/scripts/ioc_editor.py <file.ioc> show
# 查看特定部分
python ~/.claude/skills/ioc-edit/scripts/ioc_editor.py <file.ioc> show --section "TIM2."
python ~/.claude/skills/ioc-edit/scripts/ioc_editor.py <file.ioc> show --section "RCC."
# 查看引脚列表
python ~/.claude/skills/ioc-edit/scripts/ioc_editor.py <file.ioc> list-pins
# 查看外设列表
python ~/.claude/skills/ioc-edit/scripts/ioc_editor.py <file.ioc> list-ips
4. 创建备份
修改前自动备份:
python ~/.claude/skills/ioc-edit/scripts/ioc_editor.py <file.ioc> backup
5. 执行修改
根据需求执行对应命令(见下方命令参考)。多项修改按顺序执行。
6. 验证结果
修改后验证一致性:
python ~/.claude/skills/ioc-edit/scripts/ioc_editor.py <file.ioc> validate
7. 展示变更摘要
向用户展示:
- 执行了哪些修改
- 验证结果
- 提醒用户在 CubeMX 中重新打开确认
命令参考
脚本路径:~/.claude/skills/ioc-edit/scripts/ioc_editor.py
路径说明:~ 会自动展开为用户家目录。Windows: C:\Users\用户名\.claude\skills\ioc-edit\scripts\ioc_editor.py
引脚操作
# 添加引脚(自动更新 Mcu.Pin 列表)
python ioc_editor.py <file.ioc> add-pin PA9 --signal USART1_TX --mode Asynchronous
python ioc_editor.py <file.ioc> add-pin PB6 --signal I2C1_SCL --mode I2C
python ioc_editor.py <file.ioc> add-pin PA1 --signal GPIO_Output --locked
# 删除引脚(自动清理所有相关键)
python ioc_editor.py <file.ioc> remove-pin PA1
# 查看所有引脚
python ioc_editor.py <file.ioc> list-pins
外设配置
# 设置外设参数(自动更新 IPParameters 列表)
python ioc_editor.py <file.ioc> config TIM2 Prescaler 71
python ioc_editor.py <file.ioc> config TIM2 Period 999
python ioc_editor.py <file.ioc> config USART1 BaudRate 115200
# 添加/删除外设 IP
python ioc_editor.py <file.ioc> add-ip ADC1
python ioc_editor.py <file.ioc> remove-ip TIM3
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 199 lines · 126 tokens per session scan A b35926d4d184
ioc-edit is a skill published in the GitHub repository Ibook000/ibook-skill (2 stars, last pushed 7d ago), licensed MIT. It adds 126 tokens to every session and 1,925 once invoked, about $0.0006 per session on Opus 5. 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.
Other skills, from other repositories
animation-motion-capture
Implement motion capture integration and real-time synchronization.
intent-recognition
Classifies automation requests using two decisions: anchor (which primitive owns the top-level control flow — workflow-anchored, agent-anchored, needs-clarification, or out-of-scope) and embedsother (whether the other primitive appears embedded inside — an agent step inside a workflow, or a workflow invoked as an…
mspm0-ccs
Tool-neutral CLI agent rules for TI MSPM0 development with Code Composer Studio, Keil/uVision, CMake/GCC/OpenOCD, SysConfig, and DriverLib. Use when an agent needs to inspect or modify MSPM0 projects, edit .syscfg configuration, avoid generated SysConfig/build files, use DriverLib APIs, validate SysConfig output…
freecad-scripts
Expert skill for writing FreeCAD Python scripts, macros, and automation. Use when asked to create FreeCAD models, parametric objects, Part/Mesh/Sketcher scripts, workbench tools, GUI dialogs with PySide, Coin3D scenegraph manipulation, or any FreeCAD Python API task. Covers FreeCAD scripting basics, geometry creation…
legacy-circuit-mockups
Generate breadboard circuit mockups and visual diagrams using HTML5 Canvas drawing techniques. Use when asked to create circuit layouts, visualize electronic component placements, draw breadboard diagrams, mockup 6502 builds, generate retro computer schematics, or design vintage electronics projects. Supports 555…
memory-merger
Merges mature lessons from a domain memory file into its instruction file. Syntax: /memory-merger >domain [scope] where scope is global (default), user, workspace, or ws.