debug

A debugging command and workflow for checking reported errors in the current or related repositories. It also manages a background watcher that monitors for errors.

In plain words
What is it for?
Use it to check error reports, debug a named repository, or start, stop, inspect, and restart the debugging watcher.
Why use it?
It provides one place to find pending problems and explains how to investigate them or control the automatic watcher.

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

Made for: Claude Code, Codex.

Per session 4 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00004 $0.06801
Opus 5 $0.00002 $0.03401
Sonnet 5 $0.00001 $0.01360
Haiku 4.5 $0.00000 $0.00680

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

Security

Grade A, and why

debug scanned grade A 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 2d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

remoteUrl = execSync('git remote get-url origin', { cwd: repoPath })
Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • debug — 100% identical, 7 lines differ
  • debug — 97% identical, 15 lines differ
.claude/skills/debug/SKILL.md · 988 lines

How it starts

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


name: debug description: Debug workflow per foundation command. triggers:

  • debug
  • /debug

Debug Command

Purpose

Check for pending error reports and debug/resolve them. Supports cross-repo error queue checking for sibling repositories. Also manages the error debugging automation watcher.

Command Usage

/debug [action|target-repo-name]

Modes of Operation:

The command operates in two modes based on the first argument:

1. Watcher Management Mode

If the first argument is a watcher management action (start, stop, status, logs, restart), manage the error debugging automation watcher:

/debug start      # Start the error debugging watcher
/debug stop       # Stop the running watcher
/debug status     # Check watcher status
/debug logs       # Show watcher logs
/debug restart    # Restart the watcher

2. Error Debugging Mode (Default)

If the first argument is not a watcher action (or no arguments provided), check and debug pending errors:

/debug                    # Check current repo's pending errors (default)
/debug neotoma            # Check sibling repo's pending errors
/debug personal-project   # Check another sibling repo

Note: To check watcher status, use /debug status. The default behavior (no arguments) checks for pending errors in the current repository.

Parameters:

  • action (optional): Watcher management action (start, stop, status, logs, restart)
    • If provided, manages the error debugging automation watcher
    • If omitted: Defaults to error debugging mode (check pending errors)
  • target-repo-name (optional): Name of sibling repository to check for pending errors
    • Must be a sibling repository (shares same parent directory)
    • Only used if first argument is not a watcher action

Examples:

# Watcher management
/debug start      # Start watcher
/debug status     # Check watcher status
/debug logs        # View watcher logs
/debug stop        # Stop watcher

# Error debugging
/debug                    # Check current repo's pending errors
/debug neotoma            # Check sibling repo's pending errors
/debug --list-only       # List errors without debugging
/debug --all --auto      # Process all errors automatically

Read the full file on GitHub · 988 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. 2d ago First seen · 988 lines · 4 tokens per session scan A ebf02ea699ec

Subscribe to this mod's changes

debug is a skill published in the GitHub repository markmhendrickson/neotoma (29 stars, last pushed 5d ago), licensed MIT. It adds 4 tokens to every session and 6,801 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.