memory-debug

memory-debug is a skill for Claude Code, Codex from DongDuong2001/pudo-code-system. It costs 16 tokens per session (173 once invoked), scanned A, original, MIT.

A set of practices for JavaScript and TypeScript development across servers, browsers, and edge runtimes. TypeScript adds static type checking to JavaScript.

In plain words
What is it for?
Use it when writing or maintaining JavaScript or TypeScript, handling Promises and async/await, choosing module systems, and managing application state.
Why use it?
It helps avoid common language and asynchronous-code mistakes while keeping larger codebases easier to reason about.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing or maintaining JavaScript or TypeScript, handling Promises and async/await, choosing module systems, and managing application state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dongduong2001/pudo-code-system/memory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DongDuong2001/pudo-code-system --skill memory
Clone the repo
git clone --depth 1 https://github.com/DongDuong2001/pudo-code-system

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memory-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/memory/github.svg)](https://agentmods.dev/skills/dongduong2001/pudo-code-system/memory)
Your own site
<a href="https://agentmods.dev/skills/dongduong2001/pudo-code-system/memory"><img src="https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/memory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memory-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/dongduong2001/pudo-code-system/memory"><img src="https://agentmods.dev/badge/skills/dongduong2001/pudo-code-system/memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 173 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00016 $0.00173
Opus 5.5 $0.00006 $0.00069
Sonnet 5.5 $0.00003 $0.00035
Haiku 4.5 $0.00002 $0.00017

Measured 1mo ago against content hash 40000c496c5d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/debug/memory/SKILL.md · 20 lines

What it actually says

Memory Debugging Skill

This skill is designed for identifying and resolving memory leaks and excessive memory footprint allocations.

When to use this skill

  • When an application slowly consumes more RAM over time without releasing it (Memory Leak).
  • When facing OutOfMemoryError (OOM) crashes.
  • When optimizing Garbage Collection (GC) pauses causing latency.

Guidelines

  • Heap Dumps: Export and analyze heap dumps or memory snapshots to find retained objects.
  • Closures & Listeners: In GC languages, look out for un-unregistered event listeners or dangling closures capturing large scopes.
  • Connections: Ensure database and network connections are gracefully closed.
  • Streaming: Avoid loading large files or datasets entirely into memory. Use streaming APIs instead.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 20 lines · 16 tokens per session scan A 40000c496c5d

Subscribe to this mod's changes

memory-debug is a skill published in the GitHub repository DongDuong2001/pudo-code-system (5 stars, last pushed 11d ago), licensed MIT. It adds 16 tokens to every session and 173 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

serena

Serena code intelligence — LSP-powered symbol navigation, diagnostics, and targeted code surgery. Activate before complex refactors, cross-file analysis, or when graph tools need symbol-level depth.

datit309/supergraph · 40 tokens

diagnose

Structured 6-phase debugging. Build feedback loop first, reproduce deterministically, hypothesize with ranked falsifiable theories, instrument one variable at a time, fix with regression test, cleanup. Use when a bug exists, tests fail unexpectedly, or behavior is wrong and cause is unknown.

datit309/supergraph · 59 tokens

fix

Plan-aware auto-fix loop after coding. Runs tests, lint, format, and graph checks. Updates plan task status. Use after execute/tdd.

datit309/supergraph · 33 tokens

zoom-out

One-shot module map — go up a layer of abstraction and get a domain-vocabulary module map of the codebase. Use when lost in unfamiliar code, after a long deep-dive session, or when you need to re-orient before planning.

datit309/supergraph · 53 tokens

diagnose

Diagnostic pipeline for complex/intermittent bugs. Uses diagnostics roles for Investigation, Verification, and Solution before Lead Programmer handoff. Use ONLY for non-obvious failures (root cause unclear, reproduction unstable, fixes reverted). NOT for trivial bugs with known cause — fix them directly.

tranhieutt/software_development_department · 58 tokens

systematic-debugging

Investigates bugs, failing tests, build failures, performance issues, and unexpected behavior with root-cause discipline before any fix is proposed or implemented.

tranhieutt/software_development_department · 34 tokens