
Axiom audit energy
Audits an iOS/Swift codebase for battery-draining energy anti-patterns before release
Axiom audit energy is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 1.3K
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Axiom audit energy
This skill turns the agent into an energy auditor for Apple-platform Swift code. It scans for timers, polling loops, continuous location, animations that keep running off screen, background mode registrations, network request patterns, GPU-heavy effects, and frequent disk writes. Each finding is checked against the surrounding code before it is reported, so the agent is expected to read the matched files rather than rely on grep hits alone.
The workflow has the agent first build a short map of background activity and periodic work, then run eight detection categories, reason about unnecessary work when features run while hidden, and combine related findings into higher severity. It ends with a health score and a severity-ranked report with suggested code fixes, and it recommends profiling with the Power Profiler in Instruments after changes. Test, preview, vendor and build folders are excluded from the scan.
It works on a project folder that the agent can search and read, using file search and text search tools. No external services, scripts or API keys are involved, and the skill's own notes say it cannot run the optional crash-symbolication command itself.
When your agent uses it
Use when the user mentions battery drain, energy optimization, power consumption audit, or pre-release energy check — timer abuse, polling patterns, continuous location, animation leaks, and background mode misuse.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (14 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/axiom-audit-energy to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-audit-energy &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-energy" ~/.claude/skills/axiom-audit-energy &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/axiom-audit-energy inside it instead.
Copy the skill folder to ~/.agents/skills/axiom-audit-energy to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-audit-energy &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-energy" ~/.agents/skills/axiom-audit-energy &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/axiom-audit-energy inside it instead.
Copy the skill folder to ~/.cursor/skills/axiom-audit-energy to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-audit-energy &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-energy" ~/.cursor/skills/axiom-audit-energy &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/axiom-audit-energy inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-audit-energyOr copy the folder to ~/.gemini/skills/axiom-audit-energy yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/axiom-audit-energy:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-audit-energy &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-energy" ~/.copilot/skills/axiom-audit-energy &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/axiom-audit-energy inside it instead.
Get the folder:
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.gitThen copy Axiom/axiom-codex/skills/axiom-audit-energy into your agent's skills folder as axiom-audit-energy. Agents that support SKILL.md read one folder per skill.
What it does
- Timer abuse detection
- Finds timers lacking tolerance, running at high frequency, or repeating without being stopped.
- Polling versus push review
- Flags network requests driven by timers that could be replaced by push or discretionary sessions.
- Location lifecycle checks
- Compares start and stop calls for location updates and flags unnecessarily high accuracy.
- Animation cleanup audit
- Looks for animations and display links that continue after their view is hidden or set to high frame rates.
- Background mode review
- Checks registered background modes and audio sessions for matching feature code and deactivation.
- Compound severity scoring
- Raises severity when related issues combine, and produces an overall efficient, wasteful or draining rating.
Good for
- Check my app for battery drain before a release
- Find timers that never stop or lack tolerance
- Review location tracking for updates that never stop
- Audit background modes and audio sessions for unused entitlements
- Spot animations that keep running when the screen is hidden
Axiom audit energy FAQ
What does the skill need to run?
It needs access to the project's Swift and plist files so the agent can search and read them. The skill is written for Apple-platform code and does not list any scripts or extra tools.
Does Axiom audit energy change any code?
The skill describes the audit and suggests fixes in its report. It is written as a read-and-search procedure and does not state that it edits files.
Which files are skipped?
Test files, preview files, and vendor, build, derived data, docs and Claude configuration folders are excluded from the scan.
Can Axiom audit energy read crash logs?
It describes mapping certain crash termination types to energy patterns, but the agent cannot run the crash tool itself and needs that output supplied.
How do I install Axiom audit energy in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/axiom-audit-energy to use it in all your projects, or to .claude/skills/axiom-audit-energy in one project.
Does Axiom audit energy run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Axiom audit energy?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Axiom audit energy?
The closest alternatives to Axiom audit energy are Axiom analyze swiftui performance, Axiom audit storage, Axiom audit spritekit, Axiom audit memory and Axiom audit accessibility.
Where this comes from
- Description: from the skill's own SKILL.md.
More from CharlesWiltgen/Axiom

Finds the code patterns behind flaky Swift Testing failures and explains each root cause
- Open source
- 1.3K GitHub stars
- Developer tools

Audits Swift test suites for flaky patterns, slow setups and Swift Testing migration gaps
- Open source
- 1.3K GitHub stars
- Developer tools

Drives iOS Simulator tests: UI input, screenshots, location, push and accessibility checks
- Open source
- 1.3K GitHub stars
- Developer tools

Guides an agent through Swift unit, UI and async tests, flaky-test fixes and test speed
- Open source
- 1.3K GitHub stars
- Developer tools

Interprets iOS and macOS crash logs and points the agent to the likely fix
- Open source
- 1.3K GitHub stars
- Developer tools

Audits Swift code for ARC, copy, generic and actor performance overhead
- Open source
- 1.3K GitHub stars
- Developer tools

