axiom-energy

axiom-energy is a skill for Claude Code, Codex from ComeOnOliver/skillshub. It costs 52 tokens per session (6,577 once invoked), scanned A, original, MIT.

A guide to finding and reducing energy use in iOS and iPadOS apps. It uses Apple's Power Profiler to identify whether the CPU, graphics processor, network, location services, or display is responsible.

In plain words
What is it for?
Use it to audit battery usage, investigate heat complaints, and fix costly timers, location updates, network requests, rendering, or background work.
Why use it?
It replaces guesswork when an app drains the battery, makes the device hot, or consumes power while running in the background.

Skill for Claude CodeCodex

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

Good fit Use it to audit battery usage, investigate heat complaints, and fix costly timers, location updates, network requests, rendering, or background work.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comeonoliver/skillshub/axiom-energy
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 ComeOnOliver/skillshub --skill axiom-energy
Clone the repo
git clone --depth 1 https://github.com/ComeOnOliver/skillshub

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 axiom-energy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-energy"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-energy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,577 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.00052 $0.06577
Opus 5 $0.00026 $0.03289
Sonnet 5 $0.00010 $0.01315
Haiku 4.5 $0.00005 $0.00658

Measured 9d ago against content hash 8e881cd58a01, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

axiom-energy 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 9d 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/CharlesWiltgen/Axiom/axiom-energy/SKILL.md · 853 lines

How it starts

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

Energy Optimization

Overview

Energy issues manifest as battery drain, hot devices, and poor App Store reviews. Core principle: Measure before optimizing. Use Power Profiler to identify the dominant subsystem (CPU/GPU/Network/Location/Display), then apply targeted fixes.

Key insight: Developers often don't know where to START auditing. This skill provides systematic diagnosis, not guesswork.

Requirements: iOS 26+, Xcode 26+, Power Profiler in Instruments

Example Prompts

Real questions developers ask that this skill answers:

1. "My app is always at the top of Battery Settings. How do I find what's draining power?"

→ The skill covers Power Profiler workflow to identify dominant subsystem and targeted fixes

2. "Users report my app makes their phone hot. Where do I start debugging?"

→ The skill provides decision tree: CPU vs GPU vs Network diagnosis with specific patterns

3. "I have timers and location updates. Are they causing battery drain?"

→ The skill covers timer tolerance, location accuracy trade-offs, and audit checklists

4. "My app drains battery in the background even when users aren't using it."

→ The skill covers background execution patterns, BGTasks, and EMRCA principles

5. "How do I measure if my optimization actually improved battery life?"

→ The skill demonstrates before/after Power Profiler comparison workflow


Red Flags — High Energy Likely

If you see ANY of these, suspect energy inefficiency:

  • Battery Settings: Your app consistently at top of battery consumers
  • Device temperature: Phone gets warm during normal app use
  • User reviews: Mentions of "battery drain", "hot phone", "kills my battery"
  • Xcode Energy Gauge: Shows sustained high or very high impact
  • Background runtime: App runs longer than expected when not visible
  • Network activity: Frequent small requests instead of batched operations
  • Location icon: Appears in status bar when app shouldn't need location

Read the full file on GitHub · 853 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. 9d ago First seen · 853 lines · 52 tokens per session scan A 8e881cd58a01

Subscribe to this mod's changes

axiom-energy is a skill published in the GitHub repository ComeOnOliver/skillshub (63 stars, last pushed 2mo ago), licensed MIT. It adds 52 tokens to every session and 6,577 once invoked, about $0.0003 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-09-03.