By carloshpdoc
iOS leak hunting and performance investigation. Bundles the memorydetective MCP server with a /perf-investigate skill. One-command install for Claude Code.
npx claudepluginhub carloshpdoc/memorydetective-pluginiOS 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).
7-day visitors to each marketplace page
Claude Code plugin marketplace for memorydetective: iOS leak hunting + performance investigation as a one-command install.
/plugin marketplace add carloshpdoc/memorydetective-plugin
/plugin install memorydetective@memorydetective-plugin
That's it. You get:
memorydetective MCP server auto-registered (pulled from npm via npx)/perf-investigate skill for disciplined investigation/investigate-leak, /investigate-hangs, /investigate-jank, /investigate-launch, /verify-cycle-fix, /summarize-trace, /investigate-metrickit for MetricKit post-mortems)memorydetective://patterns/{patternId}, every classification carrying fixHint + staticAnalysisHint + fixTemplate (Swift before/after snippet)analyzeMetricKitPayload (42nd tool, post-mortem production diagnostics from Apple MetricKit .mxdiagnostic JSON: crash clusters, hang hotspots with localized-duration parsing, CPU + disk exceptions) plus audit-close trio (open-enum SupportStatusKind, schemaDiscovery cache for 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 that catches traces saved outside watchDir, fault-tolerant inspectTrace fallback, configurable countAlive framework-noise filter). v1.16 unblocked macOS 26.x trace recording via recordViaInstrumentsApp. v1.15 added the trace-side schema-coverage trio. v1.13 shipped summarizeTrace + /summarize-trace MCP prompt.Full docs: plugins/memorydetective/README.md.
Both are first-class. Plugin is for Claude Code's native UX (zero-friction install + slash commands). The npm package is universal: install it directly to use with Cursor, Cline, Claude Desktop, Continue, or any MCP-compatible client.
The plugin wraps the npm package; it doesn't fork it. Single source of truth on npm, single repo for code.
memorydetective-plugin/
├── .claude-plugin/
│ └── marketplace.json ← marketplace catalog (lists 1 plugin)
└── plugins/
└── memorydetective/
├── .claude-plugin/
│ └── plugin.json ← plugin manifest (v1.18.0)
├── .mcp.json ← MCP server registration (npx pulls from npm)
├── skills/
│ └── perf-investigate/
│ └── SKILL.md ← /perf-investigate skill body
├── README.md
├── LICENSE
└── CHANGELOG.md
Plugin tracks the MCP server's minor version. [email protected] pulls memorydetective@^1.18 via npx. Patch releases are auto-resolved without bumping the plugin. Major server bumps (e.g. 2.0.0) require a plugin manifest update.
memorydetective runs entirely on your machine. The MCP server is launched locally via npx, processes .memgraph and .trace files from your disk, and shells out to local tools (xcrun, sourcekit-lsp). No telemetry, no analytics, no data leaves your machine.
Apache-2.0. See LICENSE.
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations