Agent skill

iOS Memgraph Analysis

by dpearson2699 in dpearson2699/swift-ios-skills

A skill your agent uses when capturing or analyzing an iOS .memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture…

Custom licenceAuto-check passedMobile

Install iOS Memgraph Analysis

skills CLI
$ npx skills add dpearson2699/swift-ios-skills --skill ios-memgraph-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dpearson2699/swift-ios-skills ios-memgraph-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dpearson2699/swift-ios-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ios-memgraph-analysis .claude/skills/ios-memgraph-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ios-memgraph-analysis
GitHub stars
1.2k
Token cost
~2.4k tokens
SKILL.md length
1,156 words
Files
5 (incl. scripts, references)
Skills in repo
86
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when capturing or analyzing an iOS .memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture…

  • Works in 6 steps: Define the lifetime before capturing → Capture a graph without guessing the… → Preserve raw output and build a bounded… → …
  • Analyzing an iOS .memgraph
  • SKILL.md covers Contents, Boundary, Evidence Model and Workflow, plus 4 more sections
  • Runs Python scripts from its folder; calls python3 and jq

What it does

iOS Memgraph Analysis is an agent skill from dpearson2699/swift-ios-skills. Use when capturing or analyzing an iOS .memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture comparison with Apple CLI tools. Covers unambiguous Simulator capture, leaks/heap/vmmap/mallochistory evidence, raw artifact preservation, and same-flow verification. Use debugging-instruments for interactive Xcode Memory Graph, Instruments, generic retain-cycle inspection, or LLDB work.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including scripts and reference files (for example `evals/evals.json`, `references/reachable-growth.md` and `scripts/capture_sim_memgraph.py`).

It sits in Mobile, covering iOS development, Performance optimization and Agent memory. It works with iOS and Xcode. The repository describes itself as: Agent Skills for iOS 26+, Swift 6.3, SwiftUI, and modern Apple frameworks.

When your agent uses it

  • Analyzing an iOS .memgraph
  • Especially when the task mentions a memory leak
  • Persistent memory increase
  • Matched-capture comparison with Apple CLI tools

Example prompts

  • “/ios-memgraph-analysis”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Define the lifetime before capturing
  2. Capture a graph without guessing the process
  3. Preserve raw output and build a bounded summary
  4. Find the first actionable app-owned edge
  5. Investigate growth when leaks is empty
  6. Fix and verify the same lifetime

What it can do on your machine

Read from SKILL.md and the folder at commit 8d90fd1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • sosumi.ai

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

iOS Memgraph Analysis loads about 2.4k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 122 tokens; SKILL.md has 1,156 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~122
When it runs · the whole SKILL.md, loaded when a task matches
~2.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,156 words (~2,407 tokens).

“Use memory graphs to prove why memory survives a defined lifetime boundary. Separate unreachable leaks from reachable growth, preserve raw tool output, and verify the same app-owned type and ownership path after a fix.”

— opening of SKILL.md by dpearson2699, Custom licence
name
ios-memgraph-analysis

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (scripts, references) in skills/ios-memgraph-analysis of dpearson2699/swift-ios-skills.

  • SKILL.md
  • evals/evals.json
  • references/reachable-growth.md
  • scripts/capture_sim_memgraph.py
  • scripts/summarize_memgraph.py

Open the folder on GitHubat commit 8d90fd1

Compare with similar skills

iOS Memgraph Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

iOS Memgraph Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
iOS Memgraph Analysis this skilldpearson2699/swift-ios-skills1.2k—~2.4kAutomated safety check: PassCustom licence
Mobile App Debuggingsecondsky/claude-skills227—~513Automated safety check: PassMIT
Performance Profilingconorluddy/xclaude-plugin183—~7.3kAutomated safety check: PassMIT
Apple Crash Log .NET Symbolicationdotnet/skills5.6k1 repos~2.4kAutomated safety check: PassMIT
Anishelf Releasesamuelhe52/AniShelf140—~2kAutomated safety check: PassApache-2.0
iOS Simulator Workflowsconorluddy/xclaude-plugin183—~3.3kAutomated safety check: PassMIT

Similar skills

  • Mobile App Debugging

    secondsky/claude-skills

    Mobile app debugging for iOS, Android, cross-platform frameworks.

    227 GitHub stars~513 tokensUpdated 10 days ago
    MobileAuto-check passed
  • Performance Profiling

    conorluddy/xclaude-plugin

    Instruments integration and performance analysis workflows for iOS apps.

    183 GitHub stars~7.3k tokensUpdated 26 days ago
    DevelopmentAuto-check passed
  • Official

    Resolves .NET runtime frames in Apple .ips crash logs to function names, source files and line numbers using dSYM symbols, atos and the Microsoft symbol server.

    5.6k GitHub starsUsed in 1 repo~2.4k tokens
    MobileAuto-check passed
  • Anishelf Release

    samuelhe52/AniShelf

    Prepare and publish AniShelf source-control releases through validation, release commits, annotated tags, and the main-to-release pull request.

    140 GitHub stars~2k tokensUpdated today
    MobileAuto-check passed
  • iOS Simulator Workflows

    conorluddy/xclaude-plugin

    Manages iOS Simulator devices and apps through the execute_simulator_command MCP tool instead of raw simctl: boot, create and delete devices, install and launch apps, screenshots and diagnostics.

    183 GitHub stars~3.3k tokensUpdated 26 days ago
    MobileAuto-check passed
  • Xcodebuildmcp

    w-winter/dot314

    Build/test Xcode projects via the XcodeBuildMCP MCP server using a local CLI wrapper for pi (no MCP support).

    139 GitHub stars~196 tokensUpdated today
    MobileAuto-check passed

More from dpearson2699/swift-ios-skills

All 86 skills in this repo
  • Natural Language

    dpearson2699/swift-ios-skills

    Tokenize, tag, and analyze natural language text using Apple's NaturalLanguage framework and translate between languages with the Translation framework.

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • iOS Ettrace Performance

    dpearson2699/swift-ios-skills

    A skill your agent uses when capturing or analyzing ETTrace profiles for a focused iOS launch or runtime flow, including exact-build dSYM UUID matching, Simulator or device capture, processed…

    1.2k GitHub stars~2.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Accessorysetupkit

    dpearson2699/swift-ios-skills

    Discover and configure Bluetooth and Wi-Fi accessories using AccessorySetupKit.

    1.2k GitHub stars~3.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Activitykit

    dpearson2699/swift-ios-skills

    Implement, review, or improve Live Activities and Dynamic Island experiences in iOS apps using ActivityKit.

    1.2k GitHub stars~4.6k tokensUpdated 2 mo ago
    Auto-check passed
  • Adattributionkit

    dpearson2699/swift-ios-skills

    Measure ad effectiveness with privacy-preserving attribution using AdAttributionKit.

    1.2k GitHub stars~3.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Alarmkit

    dpearson2699/swift-ios-skills

    Implement AlarmKit alarms and countdown timers for iOS and iPadOS with Lock Screen, Dynamic Island, StandBy, and paired Apple Watch system UI.

    1.2k GitHub stars~3.3k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about iOS Memgraph Analysis

What does iOS Memgraph Analysis do?

A skill your agent uses when capturing or analyzing an iOS .memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture…. iOS Memgraph Analysis is an agent skill from dpearson2699/swift-ios-skills.memgraph, especially when the task mentions a memory leak, heap growth, persistent memory increase, ownership path, or matched-capture comparison with Apple CLI tools.

When should I use iOS Memgraph Analysis?

iOS Memgraph Analysis fits situations like: analyzing an iOS .memgraph; especially when the task mentions a memory leak; persistent memory increase; matched-capture comparison with Apple CLI tools.

How do I install iOS Memgraph Analysis in Claude Code?

Run `npx skills add dpearson2699/swift-ios-skills --skill ios-memgraph-analysis -a claude-code`. Or copy the skill folder (skills/ios-memgraph-analysis in dpearson2699/swift-ios-skills) into .claude/skills/ios-memgraph-analysis in your project. Claude Code loads it when a task matches its description.

How do I install iOS Memgraph Analysis in Codex?

Run `npx skills add dpearson2699/swift-ios-skills --skill ios-memgraph-analysis -a codex`. Or copy the skill folder (skills/ios-memgraph-analysis in dpearson2699/swift-ios-skills) into .agents/skills/ios-memgraph-analysis in your project. Codex loads it when a task matches its description.

Can I use iOS Memgraph Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dpearson2699/swift-ios-skills --skill ios-memgraph-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ios-memgraph-analysis, .gemini/skills/ios-memgraph-analysis, .github/skills/ios-memgraph-analysis and .opencode/skills/ios-memgraph-analysis in your project.

What does iOS Memgraph Analysis need to run?

Going by SKILL.md and its folder, iOS Memgraph Analysis needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and jq). Our summary lists: Python 3.

Does iOS Memgraph Analysis access the network?

SKILL.md names 1 domain. As links in the text: sosumi.ai. This is read from the text; nothing was executed.

Is iOS Memgraph Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does iOS Memgraph Analysis use?

iOS Memgraph Analysis has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does iOS Memgraph Analysis use?

About 2.4k tokens (SKILL.md is roughly 9.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 470 tokens, read only when the agent opens those files.

What are the alternatives to iOS Memgraph Analysis?

Skills that share tags, products or a category with iOS Memgraph Analysis: Mobile App Debugging (secondsky/claude-skills, 227 stars), Performance Profiling (conorluddy/xclaude-plugin, 183 stars), Apple Crash Log .NET Symbolication (dotnet/skills, 5.6k stars) and Anishelf Release (samuelhe52/AniShelf, 140 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains iOS Memgraph Analysis?

dpearson2699 (a GitHub user) maintains it in dpearson2699/swift-ios-skills, which has 1,175 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on July 31, 2026.

Source: dpearson2699/swift-ios-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.