diagnose-runtime

diagnose-runtime is a command for coding agents from rubenCodeforges/codeforges-claude-plugin. It costs 0 tokens per session (417 once invoked), scanned A, original, MIT.

A command for investigating freezes, hangs, crashes, memory leaks, and slow interactions in web applications.

In plain words
What is it for?
It can examine a supplied web app, detect its framework, inspect CPU and memory behavior, monitor requests, find long tasks, and suggest fixes.
Why use it?
It narrows runtime problems to likely causes such as blocked browser work, network delays, JavaScript errors, or excessive memory use.

Command

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.

agentmods
npx agentmods add commands/rubencodeforges/codeforges-claude-plugin/diagnose-runtime
Clone the repo
git clone --depth 1 https://github.com/rubenCodeforges/codeforges-claude-plugin

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 diagnose-runtime

README.md
[![agentmods](https://agentmods.dev/badge/commands/rubencodeforges/codeforges-claude-plugin/diagnose-runtime.svg)](https://agentmods.dev/commands/rubencodeforges/codeforges-claude-plugin/diagnose-runtime)
Your own site
<a href="https://agentmods.dev/commands/rubencodeforges/codeforges-claude-plugin/diagnose-runtime"><img src="https://agentmods.dev/badge/commands/rubencodeforges/codeforges-claude-plugin/diagnose-runtime.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 417 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00417
Opus 5 $0.00000 $0.00209
Sonnet 5 $0.00000 $0.00083
Haiku 4.5 $0.00000 $0.00042

Measured 3d ago against content hash d1e03115172d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

diagnose-runtime 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 3d 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.

commands/diagnose-runtime.md · 69 lines

What it actually says

Diagnose Runtime Issues

Quickly diagnose runtime performance issues in web applications including freezes, hangs, memory leaks, and slow performance.

What to analyze

Please specify what you need to diagnose:

  1. Provide the URL: The web application URL to analyze
  2. Describe symptoms (optional):
    • App freezes or becomes unresponsive
    • High memory usage or memory leaks
    • Slow performance or laggy interactions
    • Browser tab crashes
    • Specific user actions that trigger issues
  3. Authentication (if needed): Provide auth token or credentials

Analysis approach

I'll use the web-performance-agent to:

  1. Quick Diagnosis: Rapid scan for common issues

    • Memory leaks
    • Main thread blocking
    • Network bottlenecks
    • JavaScript errors
  2. Framework Detection: Identify and apply framework-specific debugging

    • Angular: Zone.js and change detection issues
    • React: Re-render and state management problems
    • Vue: Reactive system and watcher issues
  3. Deep Analysis (if needed):

    • CPU profiling to find hot functions
    • Heap snapshots for memory analysis
    • Network request monitoring
    • Long task detection
  4. Provide Solutions:

    • Immediate fixes to try
    • Code examples for optimization
    • Architecture recommendations
    • Best practices to follow

Example usage

/diagnose-runtime https://example.com/app

Or with more details:

/diagnose-runtime https://example.com/app "The app freezes after clicking the submit button"

Or with authentication:

/diagnose-runtime https://example.com/app "token: abc123xyz"

What I'll provide

  • Root cause analysis of the performance issue
  • Evidence with metrics and measurements
  • Immediate actions to resolve the problem
  • Long-term solutions for prevention
  • Specific code fixes when applicable

Let's diagnose your runtime performance issues!

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. 3d ago First seen · 69 lines · 0 tokens per session scan A d1e03115172d

Subscribe to this mod's changes

diagnose-runtime is a command published in the GitHub repository rubenCodeforges/codeforges-claude-plugin (2 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 417 tokens. 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.