Loading...
Loading...
Capture and inspect iOS leaks and memgraphs. Use when debugging leaked objects, retain cycles, memory growth, or before/after leak evidence.
npx skill4agent add openai/plugins ios-memgraph-leaks.memgraph../ios-debugger-agent/SKILL.mdscripts/capture_sim_memgraph.shscripts/summarize_memgraph_leaks.pyleaks --traceTree=<address> <file.memgraph>SKILL_DIR="<absolute path to this loaded skill folder>"
SIM="<simulator-udid>"
BUNDLE_ID="<app.bundle.identifier>"
MEMGRAPH_DIR="$(mktemp -d "${TMPDIR:-/tmp}/codex-ios-memgraph.XXXXXX")"
"$SKILL_DIR/scripts/capture_sim_memgraph.sh" \
--udid "$SIM" \
--bundle-id "$BUNDLE_ID" \
--out-dir "$MEMGRAPH_DIR"SKILL_DIRpwdSKILL_DIRxcrun simctl spawn "$SIM" launchctl list"$SKILL_DIR/scripts/summarize_memgraph_leaks.py" \
/path/to/app.memgraph \
--trace-limit 5 \
--out /path/to/leak-summary.md--trace-limitFound 0 roots referencingleaks --groupByType <file.memgraph>traceTreetraceTreeleaks --groupByType