/memorylens:memorylensfrom memorylens
Profiles memory of running .NET processes via EventPipe snapshots and before/after comparisons, then suggests and applies fixes for leaks and GC pressure.
Ships in memorylens. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill requires the memorylens MCP server tools (list_processes, snapshot, compare_snapshots, analyze, get_rules). Collection happens in-process over EventPipe, so there is nothing to install or verify before profiling — if the MCP tools aren't available at all, inform the user to install the memorylens plugin.
/memorylens)systematic-debugging identifies symptoms like high memory usage, OutOfMemoryException, slow GC, or growing memory over time"MemoryLens activated. I'll profile your application's memory and suggest concrete fixes."
MemoryLens attaches to an already-running .NET process. It cannot launch one.
list_processes and let the user pick, or take a pid the user supplies.list_processes.snapshot and compare_snapshots both require a pid. Do not pass command — the
parameter is accepted for compatibility but is not implemented, and a call without a
pid returns an error.Based on the user's ask:
snapshotcompare_snapshotsExecute snapshot or compare_snapshots with the target parameters.
Call analyze with the returned snapshotId and nothing else — the id is all it needs.
Rule configuration is not a parameter. The server reads .memorylens.json from its own
working directory once at startup; changing that file needs a server restart to take
effect. Use get_rules to see which rules are currently active.
For each finding with a suggestion:
Order: critical findings first, then high, medium, low.
After all findings are addressed, present a summary:
When invoked from systematic-debugging, skip step 1 questioning — the debugger already knows the target process. Use the process context from the debugging session.
Memory smell indicators (trigger MemoryLens from debugging):
OutOfMemoryExceptionWhen brainstorming features involving:
Use rule knowledge to inform design questions and approach proposals.
list_processes excludes them, but if a user asks to attach to devenv/rider/Code, refuse and explain why.delaySeconds is in seconds and defaults to 10. Warn if the user asks for more than 60. Long profiling sessions have overhead.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub marcelroozekrans/memorylens-mcp --plugin memorylensOther plugins' skills for the same job