← Claude plugins
CLAUDE PLUGIN

memorydetective

Carlos Henrique v1.18.0

Hunt iOS memory leaks and investigate runtime performance from inside Claude Code. memorydetective bundles an MCP server with 28 tools for analyzing .memgraph and .trace files, plus a /perf-investi...

Create a free account to save this plugin.

From the developer

License

Apache-2.0

Works with

Claude Code

Description

From the marketplace listing

Hunt iOS memory leaks and investigate runtime performance from inside Claude Code. memorydetective bundles an MCP server with 28 tools for analyzing .memgraph and .trace files, plus a /perf-investigate skill that routes you to the right playbook based on symptoms (leak, hang, jank, slow launch). Key features: - 34-pattern retain-cycle classifier covering SwiftUI (incl. @Observable, SwiftData, NavigationStack), Swift Concurrency, Combine, UIKit, Core Data, RxSwift, Realm, and Coordinator pattern - Every classification ships fixHint + staticAnalysisHint + a Swift before/after fixTemplate snippet - Trace analysis: hangs, animation hitches, allocations, app launch, time profile - compareTracesByPattern for CI gating against perf regressions - 5 SourceKit-LSP-backed Swift source-bridging tools (find references, hover, definitions) - macOS unified logging (logShow / logStream) - 5 slash commands for direct invocation: /investigate-leak, /investigate-hangs, /investigate-jank, /investigate-launch, /verify-cycle-fix Reads memgraphs exported from Xcode's Memory Graph Debugger and traces from xctrace. Ships as both a Claude Code plugin and a standalone npm package, so the same MCP server works in Cursor, Cline, Claude Desktop, and Continue.

What changed

No changes recorded yet. Follow this plugin to keep track of future changes.

Keywords

Files & skills

memorydetective · catalog manifest

Saved declaration

{}
memorydetective · catalog manifest

Saved declaration

{
  "name": "memorydetective",
  "source": {
    "ref": "main",
    "sha": "19b770383a22c31ba6dc2a2a9fe85b3a3d46aaea",
    "url": "https://github.com/carloshpdoc/memorydetective-plugin.git",
    "path": "plugins/memorydetective",
    "source": "git-subdir"
  },
  "homepage": "https://github.com/carloshpdoc/memorydetective-plugin",
  "description": "Hunt iOS memory leaks and investigate runtime performance from inside Claude Code. memorydetective bundles an MCP server with 28 tools for analyzing .memgraph and .trace files, plus\na /perf-investigate skill that routes you to the right playbook based on symptoms (leak, hang, jank, slow launch).\n\nKey features:\n- 34-pattern retain-cycle classifier covering SwiftUI (incl. @Observable, SwiftData, NavigationStack), Swift Concurrency, Combine, UIKit, Core Data, RxSwift, Realm, and Coordinator\npattern\n- Every classification ships fixHint + staticAnalysisHint + a Swift before/after fixTemplate snippet\n- Trace analysis: hangs, animation hitches, allocations, app launch, time profile\n- compareTracesByPattern for CI gating against perf regressions\n- 5 SourceKit-LSP-backed Swift source-bridging tools (find references, hover, definitions)\n- macOS unified logging (logShow / logStream)\n- 5 slash commands for direct invocation: /investigate-leak, /investigate-hangs, /investigate-jank, /investigate-launch, /verify-cycle-fix\n\nReads memgraphs exported from Xcode's Memory Graph Debugger and traces from xctrace. Ships as both a Claude Code plugin and a standalone npm package, so the same MCP server works in\nCursor, Cline, Claude Desktop, and Continue."
}
memorydetective · catalog manifest

Saved declaration

{
  "name": "memorydetective",
  "author": {
    "url": "https://github.com/carloshpdoc",
    "name": "Carlos Henrique"
  },
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
  "license": "Apache-2.0",
  "version": "1.18.0",
  "homepage": "https://github.com/carloshpdoc/memorydetective",
  "keywords": [
    "ios",
    "swift",
    "swiftui",
    "memory-leak",
    "retain-cycle",
    "memgraph",
    "xctrace",
    "instruments",
    "performance",
    "mcp",
    "claude-code"
  ],
  "repository": "https://github.com/carloshpdoc/memorydetective-plugin",
  "description": "iOS leak hunting + performance investigation. Reads .memgraph, .trace, and .mxdiagnostic files. Classifies retain cycles against a 36-pattern catalog (SwiftUI / Combine / Concurrency / UIKit / Core Animation / Core Data / SwiftData / Coordinator / RxSwift / Realm). v1.18 ships the 42nd MCP tool: analyzeMetricKitPayload, the post-mortem production-diagnostics lane that ingests Apple MetricKit JSON payloads from real-device TestFlight / App Store builds (crash clusters, hang hotspots with localized-duration parsing, CPU + disk exceptions, cross-tool chain hints). Also audit-close trio: open-enum SupportStatusKind, invocation-scoped schemaDiscovery cache (600-3000ms wall-clock win on summarizeTrace), local-only integration tests against real Apple .trace bundles. v1.17 reliability pass: strtobool env truthy parsing, verifyFix whitelist match modes, Instruments.app AppleScript document query, inspectTrace fault-tolerant fallback, configurable countAlive noise filter. v1.16 unblocked trace recording on macOS 26.x via recordViaInstrumentsApp. v1.15 added analyzeMemoryFootprint, analyzeEnergyImpact, analyzeLeakTimeline. v1.13 shipped summarizeTrace. Bridges to Swift source via SourceKit-LSP. 42 MCP tools, 34 catalog resources, 7 investigation prompts (/investigate-metrickit added in v1.18)."
}

plugin.json observed Nov 6, 2026 · 10:46 UTC. Manifest source ↗

Catalog declarations and available plugin.json metadata are saved. Referenced skills and executable source files are not downloaded or tested. Missing components in a manifest do not prove that the plugin has none.

Installation instructions

Community

/plugin marketplace add anthropics/claude-plugins-community
/plugin install memorydetective@claude-community

Claude Code installation documentation

Technical details
Sources
Community
First seen
Oct 3, 2026 · 22:13 UTC
Last seen
Nov 7, 2026 · 06:00 UTC
Latest observed change
Oct 3, 2026 · 22:13 UTC
Collection status
Listed
Reported installs
Not provided

Installation counts are source-reported, not independently verified active users. Observation dates are not release dates.

Download plugin data (JSON)

Plugin history: freshly prepared. Prepared . Refreshed when catalog data changes or after 6 hours. Your account and Follow status are live.