debug-observer

debug-observer is an agent for coding agents from RaNDoM6913/claude-code-superkit. It costs 22 tokens per session (2,887 once invoked), scanned A, original, MIT.

A read-only debugging assistant that gathers evidence from logs, containers, Redis, SQL, Git history, and execution traces. Redis is an in-memory data store often used for caching and temporary application state.

In plain words
What is it for?
Use it to investigate service failures, cache problems, database behavior, log errors, and execution paths, then document a verified or assumed root cause.
Why use it?
It helps test possible causes of a bug without changing code, configuration, data, or Git history.

Agent

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 agents/random6913/claude-code-superkit/debug-observer
Clone the repo
git clone --depth 1 https://github.com/RaNDoM6913/claude-code-superkit

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/agents/random6913/claude-code-superkit/debug-observer.svg)](https://agentmods.dev/agents/random6913/claude-code-superkit/debug-observer)
Your own site
<a href="https://agentmods.dev/agents/random6913/claude-code-superkit/debug-observer"><img src="https://agentmods.dev/badge/agents/random6913/claude-code-superkit/debug-observer.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,887 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.00022 $0.02887
Opus 5 $0.00011 $0.01443
Sonnet 5 $0.00004 $0.00577
Haiku 4.5 $0.00002 $0.00289

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

Security

Grade A, and why

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

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.

packages/core/agents/debug-observer.md · 262 lines

How it starts

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

Debug Observer

Read-only debugger: gather evidence from container logs, database state, cache state, git history, and code traces, then validate a root-cause hypothesis with the scientific method. Auto-detects infrastructure from the project.

Hard Rules

  1. READ-ONLY. You have no Edit/Write tools. Never modify code, config, data, or git state. Fixes — and any experiment that requires a modification (e.g. temporary logging) — are PROPOSED as instructions for the caller, never applied.
  2. Read-only Bash only. No INSERT/UPDATE/DELETE/DROP, no redis-cli SET/DEL/FLUSHALL, no git checkout/reset/stash. Inspect old file versions with git show <commit>:<path>.
  3. Tag every Evidence line [VERIFIED] (tool output you saw this session) or [ASSUMED] (inference). Never present ASSUMED as fact.
  4. Root Cause is CONFIRMED only when a Phase 7 experiment supports it; otherwise mark it ASSUMED.
  5. Respect the Loop Counters table: max 3 hypothesis iterations per investigation; 3 failed fix attempts → escalate to architect; NEVER exceed 4 total fix attempts.
  6. Never invent a missing source. If a service, table, key, or file cannot be found, write NOT FOUND: <name> in Evidence — never fabricate logs, rows, or code.

Phase 0 — Load Project Context

Read if present, skip silently if absent: CLAUDE.md or AGENTS.md; docs/architecture/backend-layers.md; docs/architecture/database-schema.md. Use it to: trace request flow through the correct layers (middleware -> handler -> service -> repo), write diagnostic SQL against the documented schema, and identify service/container names for log inspection. No docs → fall back to README.md, directory structure, existing patterns.

Input

One or more of:

  • Entity ID (user ID, order ID, etc.) — trace a specific entity's state
  • Endpoint — e.g. POST /api/users — trace request handling
  • Error message — search logs and code for the source
  • Symptom description — e.g. "user gets 500 on login"

Read the full file on GitHub · 262 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. yesterday First seen · 262 lines · 22 tokens per session scan A 4b15322e4692

Subscribe to this mod's changes

debug-observer is an agent published in the GitHub repository RaNDoM6913/claude-code-superkit (2 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 2,887 once invoked, about $0.0001 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-09-03.

Related

Other agents, from other repositories

algorithmic-patterns

Load this reference when the PR diff touches code outside the transport/cache layer -- i.e. when the change introduces or modifies loops, data structures, lookup patterns, or module-level imports.

microsoft/apm · 0 tokens

auth-expert

Expert on GitHub authentication, EMU, GHE, ADO, and APM's AuthResolver architecture. Activate when reviewing or writing code that touches token management, credential resolution, or remote host authentication.

microsoft/apm · 46 tokens

oss-growth-hacker

OSS adoption and growth-hacking specialist for microsoft/apm. Activate for README/docs conversion work, launch tactics, contributor funnel, story angles, and to feed reviewed changes into the maintained growth strategy at WIP/growth-strategy.md.

microsoft/apm · 52 tokens

apm-primitives-architect

Use this agent to design or critique APM agent primitives -- skills, agents, instructions, and gh-aw workflows under .apm/ and .github/. Activate when authoring new primitives, refactoring existing skill bundles, designing multi-agent orchestration, or assessing whether a primitive change adheres to PROSE and Agent…

microsoft/apm · 74 tokens

spec-tag-architect

Adversarial web-platform / TAG-style architect persona for reviewing the OpenAPM specification artifact. Activate ONLY from the apm-spec-guardian skill -- this persona's review contract assumes a spec-review fan-out with JSON-only return.

microsoft/apm · 51 tokens

messaging-cache

Fully autonomous pentest sub agent using MCP-backed fastcmp toolbox for message brokers and caches (Redis/RabbitMQ/Kafka/NATS/MQTT/ActiveMQ/ZooKeeper) covering unauthenticated exposure, management APIs, and RCE-adjacent primitives.

ASCIT31/Dark-Moon · 56 tokens