# Memory Detective

> Use this tool when you need to diagnose and fix iOS memory leaks and performance issues in AI-assisted development workflows. It analyzes memory graphs and trace files, identifying leaks against known antipatterns and providing fix suggestions with Swift code templates. Ideal for use with Xcode, it streamlines the debugging process and enables efficient AI-driven reasoning with structured summaries of memory data.

Canonical page: https://skillsregistry.net/skills/carloshpdoc-memory-detective  
JSON: https://api.skillsregistry.net/v1/skills/carloshpdoc-memory-detective

## Description

Memory Detective is an MCP server for diagnosing iOS memory leaks and performance issues in AI-assisted development workflows. It analyzes .memgraph and .trace files captured by Xcode, classifying leaks against 34 known antipatterns across SwiftUI, Combine, Concurrency, and UIKit. Provides fix suggestions with Swift code templates, before/after snapshot comparison to verify fixes, and SourceKit-LSP bridging for precise file and line locations. Converts 50–500 MB binary memgraphs into 2–5 KB structured summaries for efficient AI reasoning.

## Trust

- **Trust score (0–1):** 0.63
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** maps-location
- **Updated:** 2026-09-01

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/carloshpdoc-memory-detective)
- **Repository:** <https://github.com/carloshpdoc/memorydetective>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "carloshpdoc-memory-detective"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/carloshpdoc-memory-detective` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/carloshpdoc-memory-detective/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
