Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

axiom-audit-memory

Skill by CharlesWiltgen

Audits Swift code for memory leaks and missing resource cleanup. It maps resource ownership, runs six leak detection patterns, and scores the result as clean, needing attention, or leaking. Aimed at developers doing proactive leak checks and memory-focused code reviews.

  • Score 73
  • 1.3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install axiom-audit-memory

Built from the published package, never by AI.

git clone --depth 1 https://github.com/CharlesWiltgen/Axiom /tmp/Axiom && mkdir -p ~/.claude/skills && cp -r /tmp/Axiom/axiom-codex/skills/axiom-audit-memory ~/.claude/skills/axiom-audit-memory

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install axiom-audit-memory in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

axiom-audit-memory is an agent skill for auditing Swift code for memory leaks. It first maps which classes own long-lived resources such as timers, observers, Tasks, and delegates, and where cleanup happens. It then runs six detection patterns covering timer leaks, observer and Combine leaks, closure capture leaks, strong delegate cycles, view callback leaks, and PhotoKit request accumulation.

The skill also looks for missing cleanup, such as Tasks not cancelled in deinit or collections that grow without bounds. It raises severity when findings combine, scores the code as CLEAN, NEEDS ATTENTION, or LEAKING, and can use symbolicated field crash reports to guide the search. It is aimed at developers who want proactive leak checks and memory reviews in Swift code.

Written from the project's SKILL.md and checked against it.

What it can do

  • Resource ownership mapMaps which classes own timers, observers, Tasks and delegates, and where cleanup happens.
  • Known leak pattern detectionRuns six checks covering timers, observers, closures, delegates, view callbacks and PhotoKit.
  • Completeness reasoningFinds missing Task cancellation, partial cleanup and unbounded collection growth.
  • Compound severityRaises severity when findings combine, such as no deinit with several owned resources.
  • Memory health scoreRates the code CLEAN, NEEDS ATTENTION or LEAKING with resource pair counts.
  • Field crash correlationUses symbolicated crash reports to suggest which memory failure pattern to check.
  • Cross-auditor notesFlags overlaps with concurrency and SwiftUI performance findings.

What you need

  • Glob, Grep and Read file tools
  • Swift source code to audit
  • xcsym, for symbolicating .ips crash reports (optional)

Try asking

  • Audit this Swift project for memory leaks and retain cycles
  • Check my view models for timers and observers without cleanup
  • Review this Swift code for missing [weak self] in closures

Good to know

  • Reads and searches code only. It cannot run xcsym crash itself.
  • Skips test, preview, vendor, build, docs and .claude paths.
  • Most SwiftUI callbacks are treated as safe unless class-based storage is clear.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: axiom-codex/skills/axiom-audit-memory/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to axiom-audit-memory

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

axiom-audit-memory: common questions

What does axiom-audit-memory check for?

It checks for retain cycles, timer, observer and Combine leaks, closure captures, strong delegate cycles, and missing Task cancellation. It also looks for collections that grow without bounds.

Does it change my code?

No. The source says the agent only reads and searches, so it reports findings and suggested fixes without editing files.

Which files does it skip?

It skips files ending in Tests.swift or Previews.swift, plus Pods, Carthage, .build, DerivedData, scratch, docs, and .claude paths.

How do I install axiom-audit-memory?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is axiom-audit-memory free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is axiom-audit-memory safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to axiom-audit-memory?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

axiom-audit-memory Install

Add to stack

Loading.