power-design

power-design is a skill for Claude Code from Jinchen-Yang/diansai-skill. It costs 90 tokens per session (636 once invoked), scanned A, original, MIT.

A workflow for designing separated power supplies for electronic systems and checking their current capacity. It uses worst-case motor and servo loads, creates power-budget documents, and requires human approval of regulator and battery choices.

In plain words
What is it for?
It is for dividing a system into power rails, assigning loads, selecting regulators from a parts list, checking current margins, and documenting the design.
Why use it?
It helps prevent a motor or servo's high startup or stalled current from resetting the computer or leaving a power rail undersized. A deterministic check identifies insufficient capacity.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit It is for dividing a system into power rails, assigning loads, selecting regulators from a parts list, checking current margins, and documenting the design.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jinchen-yang/diansai-skill/power-design
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.

Any agent
npx skills add Jinchen-Yang/diansai-skill --skill power-design
Clone the repo
git clone --depth 1 https://github.com/Jinchen-Yang/diansai-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 power-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/jinchen-yang/diansai-skill/power-design/github.svg)](https://agentmods.dev/skills/jinchen-yang/diansai-skill/power-design)
Your own site
<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.

agentmods 80×15 button for power-design

Your own site · 80×15
<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>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 636 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.00090 $0.00636
Opus 5.5 $0.00036 $0.00254
Sonnet 5.5 $0.00018 $0.00127
Haiku 4.5 $0.00009 $0.00064

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

Security

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 2mo 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.

.claude/skills/power-design/SKILL.md · 31 lines

What it actually says

power-design —— 供电系统(流水线 ⑤)

lane: 任何模型(正确性交 power_budget.py) · 门: 人工批 + power_budget PASS

电源是 1 号翻车点:电机堵转瞬态把 MCU 拉掉电复位。一切按最坏情况算。

前置

design/solution.md(需求)+ design/bom.csv(选了哪些件/稳压)。

步骤

  1. 分轨(典型 4 轨,按方案裁剪):
    • VM_motor —— 电池直供电机驱动(不稳压,加保险/铺铜)。
    • V5_servo —— 舵机独立 5~6V 高电流轨(勿挂逻辑轨,堵转>1A)。
    • V3V3_logic —— MCU + 模拟传感器,AMS1117 或 buck。
    • V5_k230 —— K230 独立 5V(耗流远大于 MCU)。
  2. 派负载(Read KB 04/05 取电流;电机/舵机标 stall: true 用堵转电流)。稳压器从 bom.csv 取,没有就提示在配件表/jlc_search 选。
  3. 写 design/power.yaml(schema 见 tools/power_budget.py 头注;参考 examples/sending-medicine-2023/power.yaml)。
  4. 跑确定性门:python tools/power_budget.py design/power.yaml。FAIL(某轨欠流)就换更大稳压或加 buck,重跑直到 PASS。
  5. 写 design/power.md(人类可读:分轨图 + 预算表 + 选的稳压 + 注意),更新 STATUS.md。
  6. 人工门:用户确认稳压选型与电池容量。

关键纪律

  • 电机/舵机一律 stall: true;逻辑用标称。默认余量 30%。
  • 电机 VM 与逻辑 GND 分开回流再单点汇合(接线阶段落实)。
  • power_budget PASS 是必要非充分——电池容量/放电倍率、保险、铺铜宽度仍需人工核(接线阶段)。
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. 2mo ago First seen · 31 lines · 90 tokens per session scan A c7ce02e3544d

Subscribe to this mod's changes

power-design is a skill published in the GitHub repository Jinchen-Yang/diansai-skill (12 stars, last pushed 3mo ago), licensed MIT. It adds 90 tokens to every session and 636 once invoked, about $0.0004 per session on Opus 5.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.

Related

power-design compared with skills from other repositories

power-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
power-designJinchen-Yang/diansai-skillSkill123mo agoMITA90Claude Code
mspm0-ccsmc3545dada/mspm0-skillSkill3783mo agoMITA101Claude Code, Codex
mspm0-skillIbook000/mspm0-skillSkill131mo agoMITA76Claude Code, Codex
volt-otatonone-ai/tononeSkill7723d agoMITA70Claude Code
volt-firmwaretonone-ai/tononeSkill7723d agoMITA76Claude Code
agentic-hilagentic-hil/agentic-hilSkill24yesterdayApache-2.0A104Claude Code
iot-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A59Claude Code