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 Jinchen-Yang/diansai-skill --skill power-designgit clone --depth 1 https://github.com/Jinchen-Yang/diansai-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/jinchen-yang/diansai-skill/power-design)<a href="https://agentmods.dev/skills/jinchen-yang/diansai-skill/power-design"><img src="https://agentmods.dev/badge/skills/jinchen-yang/diansai-skill/power-design/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/skills/jinchen-yang/diansai-skill/power-design"><img src="https://agentmods.dev/badge/skills/jinchen-yang/diansai-skill/power-design.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.00090 | $0.00636 |
| Opus 5 | $0.00045 | $0.00318 |
| Sonnet 5 | $0.00018 | $0.00127 |
| Haiku 4.5 | $0.00009 | $0.00064 |
Grade A, and why
power-design 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 12d 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
power-design —— 供电系统(流水线 ⑤)
lane: 任何模型(正确性交 power_budget.py) · 门: 人工批 + power_budget PASS
电源是 1 号翻车点:电机堵转瞬态把 MCU 拉掉电复位。一切按最坏情况算。
前置
design/solution.md(需求)+ design/bom.csv(选了哪些件/稳压)。
步骤
- 分轨(典型 4 轨,按方案裁剪):
VM_motor—— 电池直供电机驱动(不稳压,加保险/铺铜)。V5_servo—— 舵机独立 5~6V 高电流轨(勿挂逻辑轨,堵转>1A)。V3V3_logic—— MCU + 模拟传感器,AMS1117 或 buck。V5_k230—— K230 独立 5V(耗流远大于 MCU)。
- 派负载(Read KB
04/05取电流;电机/舵机标stall: true用堵转电流)。稳压器从bom.csv取,没有就提示在配件表/jlc_search选。 - 写
design/power.yaml(schema 见tools/power_budget.py头注;参考examples/sending-medicine-2023/power.yaml)。 - 跑确定性门:
python tools/power_budget.py design/power.yaml。FAIL(某轨欠流)就换更大稳压或加 buck,重跑直到 PASS。 - 写
design/power.md(人类可读:分轨图 + 预算表 + 选的稳压 + 注意),更新STATUS.md。 - 人工门:用户确认稳压选型与电池容量。
关键纪律
- 电机/舵机一律
stall: true;逻辑用标称。默认余量 30%。 - 电机 VM 与逻辑 GND 分开回流再单点汇合(接线阶段落实)。
- power_budget PASS 是必要非充分——电池容量/放电倍率、保险、铺铜宽度仍需人工核(接线阶段)。
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.
- 12d ago First seen · 31 lines · 90 tokens per session scan A c7ce02e3544d
power-design is a skill published in the GitHub repository Jinchen-Yang/diansai-skill (9 stars, last pushed 1mo ago), licensed MIT. It adds 90 tokens to every session and 636 once invoked, about $0.0005 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
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…
mspm0-skill
Tool-neutral CLI agent rules for TI MSPM0 development with SysConfig, DriverLib, CCS, Keil/uVision, CMake/GCC/OpenOCD, and supported board references. Use when an agent needs to inspect or modify MSPM0 projects, validate SysConfig output, package examples, or work on NUEDC embedded firmware.
llama-cpp
Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.
iot-expert
Expert-level IoT systems, embedded devices, edge computing, and IoT protocols. Use when the user mentions embedded, edge computing, MQTT, sensors, or firmware, or when the task involves IoT Architecture, IoT Protocols, Embedded Systems, or Device Design.
embedded-debugging
Debug embedded firmware on real hardware through the jlink-mcp server — crashes, hangs, peripheral misconfiguration, silent devices. Covers loading ELF symbols for source-level backtraces, supplying an SVD for named peripheral fields, and the halt/read/resume discipline. Use whenever debugging a microcontroller over a…
agentic-hil
Use when a request operates this project's connected target board through the configured bench (flashing, resetting, probing, debugging, UART and CAN stimulus and feedback, firmware artifacts, test reports) or configures Agentic HIL, the safe local MCP bridge that performs them. Use it instead of invoking a debugger…