{
  "markdown": "# memorydetective-plugin\n\n> Claude Code plugin marketplace for [memorydetective](https://github.com/carloshpdoc/memorydetective): iOS leak hunting + performance investigation as a one-command install.\n\n## Install\n\n```\n/plugin marketplace add carloshpdoc/memorydetective-plugin\n/plugin install memorydetective@memorydetective-plugin\n```\n\nThat's it. You get:\n\n- The `memorydetective` MCP server auto-registered (pulled from npm via `npx`)\n- 42 MCP tools + a `/perf-investigate` skill for disciplined investigation\n- 7 slash commands (`/investigate-leak`, `/investigate-hangs`, `/investigate-jank`, `/investigate-launch`, `/verify-cycle-fix`, `/summarize-trace`, `/investigate-metrickit` for MetricKit post-mortems)\n- 34 cycle-pattern resources browsable at `memorydetective://patterns/{patternId}`, every classification carrying `fixHint` + `staticAnalysisHint` + `fixTemplate` (Swift before/after snippet)\n- Recent headlines: **v1.18** added `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.\n\nFull docs: [plugins/memorydetective/README.md](./plugins/memorydetective/README.md).\n\n## Why a plugin AND an npm package?\n\nBoth 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.\n\nThe plugin wraps the npm package; it doesn't fork it. Single source of truth on npm, single repo for code.\n\n## Repo layout\n\n```\nmemorydetective-plugin/\n├── .claude-plugin/\n│   └── marketplace.json           ← marketplace catalog (lists 1 plugin)\n└── plugins/\n    └── memorydetective/\n        ├── .claude-plugin/\n        │   └── plugin.json        ← plugin manifest (v1.18.0)\n        ├── .mcp.json              ← MCP server registration (npx pulls from npm)\n        ├── skills/\n        │   └── perf-investigate/\n        │       └── SKILL.md       ← /perf-investigate skill body\n        ├── README.md\n        ├── LICENSE\n        └── CHANGELOG.md\n```\n\n## Versioning\n\nPlugin tracks the MCP server's minor version. `memorydetective-plugin@1.18.x` 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.\n\n## Source\n\n- Plugin (this repo): https://github.com/carloshpdoc/memorydetective-plugin\n- MCP server: https://github.com/carloshpdoc/memorydetective\n- npm: https://www.npmjs.com/package/memorydetective\n\n## Privacy\n\nmemorydetective 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.\n\n## License\n\nApache-2.0. See [LICENSE](./LICENSE).\n",
  "bytes": 3596,
  "sha": "7fbf8cf74d345d506177b07f2c052e0f659f5e26183fe7b390f1389e019a5aca",
  "repo_slug": "carloshpdoc/memorydetective-plugin",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_carloshpdoc_memorydetective_plugin_memor_a0c85778/readme"
}