Gold-Band: Skill for Claude Code

.agents/skills/memory-leak-audit/SKILL.md

memory-leak-audit is a skill for Claude Code, Codex from diodeme/Gold-Band. It costs 52 tokens per session (1,202 once invoked), scanned A, original, AGPL-3.0.

A code-review skill focused on finding memory leaks and mishandled disposable resources. Disposable resources are things such as event listeners or callbacks that must be cleaned up when no longer needed.

In plain words
What is it for?
Use it to review event listeners, DOM handlers, lifecycle callbacks, and leak reports. It covers cleanup patterns such as disposable listeners, one-time events, and disposal stores.
Why use it?
It helps locate objects that remain referenced after their work is finished, which can waste memory or trigger callbacks unexpectedly.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is diodeme/Gold-Band's own configuration. It tells Claude Code and Codex how to work on Gold-Band itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Gold-Band configures →

Reuse

Borrowing it

Nothing to install: this file belongs to diodeme/Gold-Band. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/diodeme/Gold-Band/main/.agents/skills/memory-leak-audit/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/diodeme/Gold-Band

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-leak-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/diodeme/gold-band/memory-leak-audit/github.svg)](https://agentmods.dev/skills/diodeme/gold-band/memory-leak-audit)
Your own site
<a href="https://agentmods.dev/skills/diodeme/gold-band/memory-leak-audit"><img src="https://agentmods.dev/badge/skills/diodeme/gold-band/memory-leak-audit/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-leak-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/diodeme/gold-band/memory-leak-audit"><img src="https://agentmods.dev/badge/skills/diodeme/gold-band/memory-leak-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,202 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 unknown 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.00052 $0.01202
Opus 5 $0.00026 $0.00601
Sonnet 5 $0.00010 $0.00240
Haiku 4.5 $0.00005 $0.00120

Measured 11d ago against content hash fa0c09ea0e80, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

memory-leak-audit 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 11d 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.

.agents/skills/memory-leak-audit/SKILL.md · 148 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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. 11d ago First seen · 148 lines · 52 tokens per session scan A fa0c09ea0e80

Subscribe to this mod's changes

memory-leak-audit is a skill published in the GitHub repository diodeme/Gold-Band (82 stars, last pushed today), licensed AGPL-3.0. It adds 52 tokens to every session and 1,202 once invoked, about $0.0003 per session on Opus 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-30.

Related

Other skills, from other repositories

md-audit

Read-only code quality audit — scan the current working directory for common issues (bugs, dead code, security hotspots, missing error handling) and return a prioritised findings report. No files are edited. Use when asked to "audit the code", "quick audit", "find issues", "code scan", or "what's wrong with this…

chaitanyagiri/munder-difflin · 85 tokens

issue-analyze

GitHub Issue and PR review thread deep analysis with Codex blind verdict. Use when: analyzing issue root cause, classifying problems, investigation planning, triaging PR review comments for actionability. Not for: fixing bugs (use bug-fix), code exploration (use code-explore). Output: classified analysis + verdict…

sd0xdev/sd0x-harness · 73 tokens

aster-fix-workflow

Pipe aster review findings into aster fix to generate and apply patches safely, using review --json, fix --findings-json, dry-run inspection, --apply, and permission gating. Use when asked to auto-fix review findings, apply aster's suggested edits, or build a review-then-fix pipeline.

Zfinix/aster · 71 tokens

shadow-verify

Dispatch a parallel adversarial verifier wave after any high-stakes sub-agent investigation (code reviews, audits, findings reports, large refactors, gap analyses) — or whenever a sub-agent asserts a claim with high-confidence language ("confident", "certain", "clearly", ≥80%), since confidence is a trigger, not a…

griffinwork40/agent-afk · 136 tokens

codebase-hygiene

Two-mode skill: (1) find semantic duplicates — functions doing the same thing under different names, invisible to copy-paste detectors; (2) deepen shallow modules — thin wrappers and pass-through layers that spread complexity. Advisory and read-only; changes route through BUILD with full gates.

romiluz13/cc10x · 67 tokens

b3os-ai-code-safety

As code and logic grow, the cost is not the happy path — it is coupling: a change ripples into places you did not touch, and a "small fix" breaks something unrelated. This skill is a code-structure and refactoring guide: structure well from the initial design so a change stays local, apply operational safety where…

b3rys/b3rys-team-os · 124 tokens