planning-with-files
Optional persistent file-based planning for multi-phase or long-running work that benefits from recovery across sessions or…
Diagnose memory inefficiencies, capture high-resolution memory profiles, and execute architectural refactoring across C++, Rust, TypeScript/Node.js, .NET, and Python. Use when troubleshooting memory leaks, out-of-memory (OOM) errors, or heap fragmentation.
$ npx -y skills add khaneliman/khanelinix --skill memory-profiler --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/memory-profilerContext preview
The summary Claude sees to decide when to auto-load this skill.
Diagnose memory inefficiencies, capture high-resolution memory profiles, and execute architectural refactoring across C++, Rust, TypeScript/Node.js, .NET, and Python. Use when troubleshooting memory leaks, out-of-memory (OOM) errors, or heap fragmentation.
name: memory-profiler description: Diagnose memory inefficiencies, capture high-resolution memory profiles, and execute architectural refactoring across C++, Rust, TypeScript/Node.js, .NET, and Python. Use when troubleshooting memory leaks, out-of-memory (OOM) errors, or heap fragmentation. metadata: disable-model-selection: "true"
This skill provides a framework for diagnosing memory inefficiencies, capturing memory profiles, and refactoring systems across several programming languages.
locality, access patterns, and allocation overhead.
fragment, forcing OS to allocate additional pages.
Structure of Arrays (SoA) guarantees homogenous data fields are packed tightly, optimizing CPU cache usage and minimizing RAM latency.
For instructions on memory profiling, tooling workflows, and refactoring strategies for a specific language, load the corresponding reference document:
Memory Pools, and SSO.
Collection Bounding, Cow, and Arc.
Inspector, Clinic.js, Object Pooling, and Closure scope mitigation.
dotnet-counters, dotnet-gcdump, ArrayPool, and struct conversions.
Memray, `__slots__`, Generators, and String Interning.
Use these files to perform high-level memory analysis, locate leaks, and apply the appropriate refactoring pattern.
Run packages directly with: Or install from the packages output. For example:
Optional persistent file-based planning for multi-phase or long-running work that benefits from recovery across sessions or…
Audit coding-agent sessions and mine cross-harness history for recurring corrections, skill-routing gaps, and harness faults. Use…
Design and audit agent instructions, skills, plugins, subagents, prompts, hooks, and provider configuration. Use for AI-tool…
Sketch interfaces, state, and module structure before code. Use for explicit design-led implementation or as a caller-owned…
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena,…
Bevy workflows for ECS, migrations, first-party UI/input/rendering/assets/shaders, plugin selection, scenes, scheduling, hot…