battery-charger-fuel-gauge-integration

battery-charger-fuel-gauge-integration is a skill for Claude Code, Codex from easyzoom/aix-skills. It costs 60 tokens per session (1,679 once invoked), scanned A, original, MIT.

A guide for connecting and debugging Li-ion or LiPo battery charger and fuel-gauge chips over I2C, a two-wire device communication bus. It covers charging, temperature protection, watchdog settings, and estimating the battery’s state of charge.

In plain words
What is it for?
Use it with chips such as BQ24295, BQ27441, and MAX17048 to check charge startup, watchdog host mode, NTC and JEITA faults, I2C addresses, battery profiles, learning cycles, and state-of-charge calibration.
Why use it?
It helps diagnose charging failures, temperature-related limits, repeated resets, failed I2C reads, and battery percentages that jump or stay inaccurate. It focuses on charger settings and battery-profile or calibration issues after power and bus problems are ruled out.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it with chips such as BQ24295, BQ27441, and MAX17048 to check charge startup, watchdog host mode, NTC and JEITA faults, I2C addresses, battery profiles, learning cycles, and state-of-charge calibration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easyzoom/aix-skills/battery-charger-fuel-gauge-integration
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 easyzoom/aix-skills --skill battery-charger-fuel-gauge-integration
Clone the repo
git clone --depth 1 https://github.com/easyzoom/aix-skills

Made for: Claude Code, Codex.

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-charger-fuel-gauge-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/easyzoom/aix-skills/battery-charger-fuel-gauge-integration/github.svg)](https://agentmods.dev/skills/easyzoom/aix-skills/battery-charger-fuel-gauge-integration)
Your own site
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/battery-charger-fuel-gauge-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/battery-charger-fuel-gauge-integration/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-charger-fuel-gauge-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/battery-charger-fuel-gauge-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/battery-charger-fuel-gauge-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,679 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.00060 $0.01679
Opus 5.5 $0.00024 $0.00672
Sonnet 5.5 $0.00012 $0.00336
Haiku 4.5 $0.00006 $0.00168

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

Security

Grade A, and why

battery-charger-fuel-gauge-integration 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 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.

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.

skills/battery-charger-fuel-gauge-integration/SKILL.md · 85 lines

How it starts

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

Battery Charger and Fuel Gauge Integration

Overview

Use this skill to bring up a Li-ion/LiPo charger IC (TI BQ24xxx/BQ25xxx) and a fuel gauge (TI BQ27xxx Impedance Track, or Maxim/Analog MAX1704x ModelGauge, e.g. MAX17048) over I2C. The hard parts are keeping the charger in host mode past its watchdog, and getting an accurate SOC before the gauge has a matching battery profile.

When To Use

Use this skill when:

  • Charging never starts or restarts in a loop: check input current limit (IINLIM, REG00[2:0]), EN_HIZ, the CE pin, and the I2C watchdog resetting registers to default.
  • The charger reports faults: REG09 latched faults, NTC_FAULT (REG09[2:0], with a real thermistor such as 103AT on the TS pin), safety timer expiration, or JEITA temperature de-rating.
  • SOC from BQ27441/MAX17048 is wrong or jumps at power-up: profile not loaded, no learning cycle, or bad OCV calibration.
  • I2C reads to the charger/gauge fail or the wrong 7-bit address is used.

Do not use this skill when the I2C bus itself is dead (no ACK on any address) or the board rails are wrong; debug the bus and power tree first with hardware-interface-debug.

First Questions

Ask for:

  • Exact charger and gauge part numbers, cell count/chemistry, pack capacity (mAh), and charge voltage (4.2 V vs 4.35 V — picks BQ27441-G1A vs -G1B).
  • 7-bit I2C addresses, bus speed, and pull-up values; whether INT/GPOUT is wired.
  • NTC/thermistor part and TS resistor network (RT1/RT2), plus target charge/discharge temperature window.
  • Whether a battery profile (TI golden image .gm.fs/.df.fs, or a Maxim RCOMP/custom-model INI) exists, or a golden image must be created.
  • Current symptom: register dump, fault code, measured VBAT/ICHG, or reported SOC vs true SOC.

Integration Checklist

  1. Confirm the device on the bus. ACK the charger and gauge 7-bit addresses; read a known register (charger REG0A Vendor/Part/Revision, or gauge Control() DEVICE_TYPE subcommand) before writing anything.

Read the full file on GitHub · 85 lines

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. 1mo ago First seen · 85 lines · 60 tokens per session scan A a2e8e7044b30

Subscribe to this mod's changes

battery-charger-fuel-gauge-integration is a skill published in the GitHub repository easyzoom/aix-skills (38 stars, last pushed 3mo ago), licensed MIT. It adds 60 tokens to every session and 1,679 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

Other skills, from other repositories

routeros-mac-telnet

MAC-Telnet protocol (MikroTik Layer-2 terminal/exec over UDP 20561) wire format, session handshake, and MD5 + MTWEI (EC-SRP) authentication. Use when: implementing or debugging a MAC-Telnet client/server, reaching a RouterOS device by MAC address without IP, parsing MAC-Telnet packets, understanding the WinBox-style…

tikoci/routeros-skills · 141 tokens

routeros-syntax-inspection

Inspecting and validating RouterOS command/script syntax against a live device via /console/inspect (highlight, completion, syntax, child) and :parse IL. Use when: validating RouterOS commands before execution, explaining or linting RouterOS scripts, building syntax-aware tooling (LSP servers, validators, agent…

tikoci/routeros-skills · 111 tokens

routeros-sniffer

RouterOS packet capture and TZSP streaming for protocol debugging. Use when: capturing packets on RouterOS, setting up /tool/sniffer, streaming live traffic via TZSP, using firewall mangle action=sniff-tzsp, debugging network protocols on MikroTik, receiving TZSP with Wireshark or tshark, saving pcap files from…

tikoci/routeros-skills · 107 tokens

tia-doctor

Manual, read-only prerequisite probe for TIA Portal V21 and its modular Openness API, with an optional Python TIA Scripting check.

Czarnak/totally-integrated-claude · 33 tokens

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…

Klievan/jlink-mcp · 77 tokens

container-home

Answer questions, assist with planning, and help with design decisions for Mick's off-grid shipping container lake home project. Trigger when the user mentions the container home, lake home, Stewart County, LBL, the expansion, solar system, septic permitting, or retirement property.

mickpletcher/AI-Skills · 57 tokens