runtime-debug

runtime-debug is a skill for Claude Code, Codex from OutThisLife/brooklyn-skills. It costs 41 tokens per session (258 once invoked), scanned A, original, MIT.

A workflow for diagnosing failures in running applications, deployed sites, and temporary or CI environments. It starts with the observed error and its logs, traces, or metrics before changing code.

In plain words
What is it for?
Use it when a URL returns an error, a deployment is down, or a temporary environment behaves incorrectly. It helps capture the failure, locate the responsible service or line, and fix the cause.
Why use it?
It prevents speculative edits when the real cause is visible in runtime evidence. It also requires checking the environment again after a fix.

Skill for Claude CodeCodex

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 skills/outthislife/brooklyn-skills/runtime-debug
Any agent
npx skills add OutThisLife/brooklyn-skills --skill runtime-debug
Clone the repo
git clone --depth 1 https://github.com/OutThisLife/brooklyn-skills

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/runtime-debug.svg)](https://agentmods.dev/skills/outthislife/brooklyn-skills/runtime-debug)
Your own site
<a href="https://agentmods.dev/skills/outthislife/brooklyn-skills/runtime-debug"><img src="https://agentmods.dev/badge/skills/outthislife/brooklyn-skills/runtime-debug.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 258 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.00041 $0.00258
Opus 5 $0.00020 $0.00129
Sonnet 5 $0.00008 $0.00052
Haiku 4.5 $0.00004 $0.00026

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

Security

Grade A, and why

runtime-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 4d 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/runtime-debug/SKILL.md · 29 lines

What it actually says

Runtime Debug

When something breaks at runtime (a URL 500s, a deploy is down, an ephemeral env misbehaves), look at what actually happened before editing code.

Steps

  1. Reproduce and capture the real failure (status, error, request id, time).
  2. Check observability first: logs, traces, metrics. Use an observability MCP (e.g. Datadog) if one is available/connected; otherwise fall back to the platform's log stream (CI job, container, Jenkins, cloud logs).
  3. Locate the failing service/line from the evidence, not a guess.
  4. Fix the real cause. Don't add logging-only "fixes" and call it done.
  5. For intentional lab/ephemeral config (test secrets, fail-open), don't raise false alarms — leave required env in place.

Don't

  • Rewrite code speculatively before reading logs.
  • Report fixed without re-checking the runtime.
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. 4d ago First seen · 29 lines · 41 tokens per session scan A 8638e6ea34db

Subscribe to this mod's changes

runtime-debug is a skill published in the GitHub repository OutThisLife/brooklyn-skills (187 stars, last pushed 17d ago), licensed MIT. It adds 41 tokens to every session and 258 once invoked, about $0.0002 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

yandex-cloud

Read Yandex Cloud through its REST API. Applies to any question about VMs, metrics, logs, audit events, Kubernetes, managed databases, serverless, networking or any other Yandex Cloud resource. Never shell out to the yc CLI — it is not how this agent reaches Yandex Cloud and is usually not installed.

Tracer-Cloud/opensre · 71 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

rule

Skill "rule" from x-cmd/x-cmd, covering rule — rules to rule, 核心命令, 规则文件格式, 示例 and 验证规则文件格式.

x-cmd/x-cmd · 0 tokens

cve

Look up CVE records via x cve — cached, zero-API-key, daily xz TSV. Load for cve, vulnerability id, kev, epss, nvd, cvelist, or security advisory.

x-cmd/x-cmd · 49 tokens

scaffold

Generate deployment-ready infrastructure code from an architecture plan, verify it with adversarial self-review, and bridge to validation — all without deploying.

microsoft/azure-skills · 0 tokens

azmon-mirroredcatalogs-operations-cli

Brings Azure Monitor, Application Insights, and Log Analytics telemetry into Fabric as Eventhouse external delta tables and correlates it with business data. Use to onboard observability data, judge whether latency or availability affected revenue, or build a Real-Time dashboard and Operations Agent over it.

microsoft/skills-for-fabric · 66 tokens