debug-observer

debug-observer is a skill for Claude Code from RaNDoM6913/claude-code-superkit. It costs 43 tokens per session (2,372 once invoked), scanned B, original, MIT.

A debugging workflow that gathers evidence from application logs, databases, caches, recent code changes, and request traces. It detects common project infrastructure such as Docker, Redis, and PostgreSQL.

In plain words
What is it for?
Tracing a user's or order's state, investigating an API endpoint or error message, and diagnosing symptoms such as failed logins or server errors.
Why use it?
It brings related system information together when an error may involve more than the application code.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: positional $N argument; mentions AGENTS.md.

Good fit Tracing a user's or order's state, investigating an API endpoint or error message, and diagnosing symptoms such as failed logins or server errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/random6913/claude-code-superkit/debug-observer
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 RaNDoM6913/claude-code-superkit --skill debug-observer
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/random6913/claude-code-superkit/debug-observer/github.svg)](https://agentmods.dev/skills/random6913/claude-code-superkit/debug-observer)
Your own site
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/debug-observer"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/debug-observer/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 debug-observer

Your own site · 80×15
<a href="https://agentmods.dev/skills/random6913/claude-code-superkit/debug-observer"><img src="https://agentmods.dev/badge/skills/random6913/claude-code-superkit/debug-observer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,372 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00043 $0.02372
Opus 5.5 $0.00017 $0.00949
Sonnet 5.5 $0.00009 $0.00474
Haiku 4.5 $0.00004 $0.00237

Measured today against content hash 3bf8ea7d8521, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

debug-observer scanned grade B with 1 finding 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 today.

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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

Check runtime semantics before interpreting TTL results (for Redis, no-expiry and missing-key states differ). Missing cache/session data may reflect expiry, eviction, a different namespace, or observation timing, not nec
packages/codex/skills/debug-observer/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debug Observer

Build an evidence-backed explanation of a reported symptom. Correlate relevant sources rather than collecting everything: service/process state, logs, database/cache state, code paths, version history, and actual deployment records. A useful result may be a narrowed hypothesis and one discriminating next check; do not force a root cause when evidence is insufficient.

Input, scope, and authority

Use the supplied symptom, endpoint, error message, correlation/entity identifier, and incident time window. Establish the affected service/environment, expected versus observed behavior, relevant version, and what access is already authorized. If a required target or time window is ambiguous, resolve it before querying sensitive/live systems; continue bounded local source inspection where useful.

Read applicable AGENTS.md first, then relevant architecture, runbooks, manifests, and configuration structure. Use compose files/imports/manifests to identify candidate services and stack versions, not to assert they are running. Prefer configuration names or redacted templates. When diagnosis already authorizes checking a specifically identified non-secret setting available only in .env or another local config, inspect that setting through local selection and filtering/redaction before any model-visible output. Establish its non-secret meaning from the actual schema, code, or documented contract; a key name alone does not establish that its value is safe. Never dump raw config, discover credentials, expose secret values or credential-bearing URLs, or source/evaluate configuration as executable code. If safe filtering or task authority is unavailable, report the bounded evidence gap. Do not request renewed approval for an already-authorized safe check; local configuration access does not itself authorize external access.

Observe only. Use existing approved read-only connection methods and least-privilege access for the assigned environment. Do not expose secrets in shell arguments, URLs, prompts, logs, or reports; do not run full environment dumps, connection-string prints, or process listings that reveal credential-bearing arguments. A tool being installed or credentials being reachable does not grant authority. If approved access is absent, mark that source unavailable and provide the exact safe evidence needed.

Read the full file on GitHub · 108 lines

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. today Changed · -42 lines · +21 tokens per session scan A → B 3bf8ea7d8521
  2. 1mo ago First seen · 150 lines · 22 tokens per session scan A f7ca542d4e67

Subscribe to this mod's changes

debug-observer is a skill published in the GitHub repository RaNDoM6913/claude-code-superkit (3 stars, last pushed today), licensed MIT. It adds 43 tokens to every session and 2,372 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.