battery-selector

battery-selector is a skill for Claude Code from wedsamuel1230/arduino-skills. It costs 61 tokens per session (2,956 once invoked), scanned A, original, MIT.

A guide for choosing batteries and charging circuits for Arduino, ESP32, and RP2040 projects. It compares battery chemistries, voltages, regulation needs, and charging safety.

In plain words
What is it for?
Use it when selecting disposable or rechargeable batteries, planning portable projects, choosing voltage converters, or checking charging arrangements.
Why use it?
It helps avoid choosing a battery that cannot provide the required voltage or current, or charging it unsafely.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the arduino-skills plugin — 33 skills shipped together

Good fit Use it when selecting disposable or rechargeable batteries, planning portable projects, choosing voltage converters, or checking charging arrangements.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wedsamuel1230/arduino-skills/battery-selector
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 wedsamuel1230/arduino-skills --skill battery-selector
Clone the repo
git clone --depth 1 https://github.com/wedsamuel1230/arduino-skills

Made for: Claude Code.

Or install arduino-skills, the plugin that ships this one along with the rest of its 33 skills.

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 battery-selector

README.md
[![agentmods](https://agentmods.dev/badge/skills/wedsamuel1230/arduino-skills/battery-selector/github.svg)](https://agentmods.dev/skills/wedsamuel1230/arduino-skills/battery-selector)
Your own site
<a href="https://agentmods.dev/skills/wedsamuel1230/arduino-skills/battery-selector"><img src="https://agentmods.dev/badge/skills/wedsamuel1230/arduino-skills/battery-selector/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 battery-selector

Your own site · 80×15
<a href="https://agentmods.dev/skills/wedsamuel1230/arduino-skills/battery-selector"><img src="https://agentmods.dev/badge/skills/wedsamuel1230/arduino-skills/battery-selector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,956 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00061 $0.02956
Opus 5.5 $0.00024 $0.01182
Sonnet 5.5 $0.00012 $0.00591
Haiku 4.5 $0.00006 $0.00296

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

Security

Grade A, and why

battery-selector 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/compare_batteries.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/battery-selector/SKILL.md · 446 lines

How it starts

The opening of the file, as written. The whole thing — 446 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Battery Selector

Guides battery chemistry and charging circuit selection for embedded projects.

Resources

This skill includes bundled tools and references:

  • scripts/compare_batteries.py - Battery comparison calculator with 15+ battery types
  • references/safety-guidelines.md - Comprehensive safety guide for all chemistries

Quick Start

Interactive selection:

uv run --no-project scripts/compare_batteries.py --interactive

Command line:

# Find battery for 50mA project, 24h runtime
uv run --no-project scripts/compare_batteries.py --current 50 --hours 24

# Require rechargeable
uv run --no-project scripts/compare_batteries.py --current 100 --hours 12 --rechargeable

# List all batteries in database
uv run --no-project scripts/compare_batteries.py --list

When to Use

  • "What battery should I use?"
  • "How do I charge this project?"
  • "Lithium vs alkaline?"
  • "Is this battery safe?"
  • Planning portable/battery-powered projects

Decision Flowchart

START
  │
  ▼
Is project rechargeable? ──No──► Alkaline/Lithium Primary
  │                              (Disposable batteries)
  Yes
  │
  ▼
What voltage does MCU need?
  │
  ├── 5V ──► LiPo + Boost converter
  │          OR 3x/4x NiMH
  │
  ├── 3.3V ──► Single LiPo (3.0-4.2V)
  │            Directly compatible!
  │
  └── 12V+ ──► Multi-cell LiPo pack
               OR Lead-acid
  │
  ▼
How much current?
  │
  ├── <50mA ──► Small LiPo (500-1000mAh)
  │             OR Coin cell (CR2032)
  │
  ├── 50-500mA ──► Standard LiPo (1000-3000mAh)
  │                OR 18650 cells
  │
  └── >500mA ──► Large LiPo (3000mAh+)
               OR Multiple 18650s
               External power recommended

Battery Chemistry Comparison

Quick Reference

Chemistry Voltage Rechargeable Energy Density Cost Safety
Alkaline 1.5V/cell No Medium Low Very safe
Lithium Primary 3V No High Medium Safe
NiMH 1.2V/cell Yes Medium Medium Safe
LiPo/Li-ion 3.7V Yes Very High Medium ⚠️ Needs care
LiFePO4 3.2V Yes High High Safer than LiPo
Lead-acid 2V/cell Yes Low Low ⚠️ Acid hazard

Read the full file on GitHub · 446 lines

Files

What ships with it

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

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 · 446 lines · 61 tokens per session scan A 02894f7e155e

Subscribe to this mod's changes

battery-selector is a skill published in the GitHub repository wedsamuel1230/arduino-skills (24 stars, last pushed 2mo ago), licensed MIT. It adds 61 tokens to every session and 2,956 once invoked, about $0.0002 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-30.

Related

battery-selector compared with skills from other repositories

battery-selector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
battery-selectorwedsamuel1230/arduino-skillsSkill242mo agoMITA61Claude Code
cardputer-buddyanthropics/claude-plugins-officialSkill46kyesterdayApache-2.0A109Claude Code
developer-device-platform-basicsgoogle/skillsSkill22kyesterdayApache-2.0A57Claude Code, Codex
google-cloud-filestore-autoscalegoogle/skillsSkill22kyesterdayApache-2.0A102Claude Code, Codex
gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skillsSkill22kyesterdayApache-2.0A107Claude Code, Codex
gke-ai-troubleshooting-tpu-vbar-oomgoogle/skillsSkill22kyesterdayApache-2.0A125Claude Code, Codex
m5-onboardanthropics/claude-plugins-officialSkill46kyesterdayApache-2.0B94Claude Code