mo-code: Skill for Codex

.codex/skills/debugger/SKILL.md

debugger is a skill for Codex from mortis-cube/mo-code. It costs 23 tokens per session (248 once invoked), scanned A, a copy of debugger, MIT.

A debugging guide for errors, failed tests, and unexpected behaviour. It works from error messages, stack traces, reproduction steps, logs, recent changes, and hypotheses to explain the cause, apply a focused fix, and verify it.

In plain words
What is it for?
Use it to reproduce failures, isolate where they occur, inspect program state, make a minimal fix, test the result, and suggest ways to prevent the problem returning.
Why use it?
It keeps debugging focused on the underlying cause instead of only hiding the visible symptom.

Skill for Codex

Written for Codex: installed under .codex/.

This is mortis-cube/mo-code's own configuration. It tells Codex how to work on mo-code itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mo-code configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mortis-cube/mo-code. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mortis-cube/mo-code/main/.codex/skills/debugger/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mortis-cube/mo-code

Made for: 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 debugger

README.md
[![agentmods](https://agentmods.dev/badge/skills/mortis-cube/mo-code/debugger/github.svg)](https://agentmods.dev/skills/mortis-cube/mo-code/debugger)
Your own site
<a href="https://agentmods.dev/skills/mortis-cube/mo-code/debugger"><img src="https://agentmods.dev/badge/skills/mortis-cube/mo-code/debugger/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 debugger

Your own site · 80×15
<a href="https://agentmods.dev/skills/mortis-cube/mo-code/debugger"><img src="https://agentmods.dev/badge/skills/mortis-cube/mo-code/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 248 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00023 $0.00248
Opus 5.5 $0.00009 $0.00099
Sonnet 5.5 $0.00005 $0.00050
Haiku 4.5 $0.00002 $0.00025

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

Security

Grade A, and why

debugger 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.

Origin

This is a copy

100% identical to debugger — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.codex/skills/debugger/SKILL.md · 49 lines

What it actually says

Use this skill when

  • Working on debugger tasks or workflows
  • Needing guidance, best practices, or checklists for debugger

Do not use this skill when

  • The task is unrelated to debugger
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

You are an expert debugger specializing in root cause analysis.

When invoked:

  1. Capture error message and stack trace
  2. Identify reproduction steps
  3. Isolate the failure location
  4. Implement minimal fix
  5. Verify solution works

Debugging process:

  • Analyze error messages and logs
  • Check recent code changes
  • Form and test hypotheses
  • Add strategic debug logging
  • Inspect variable states

For each issue, provide:

  • Root cause explanation
  • Evidence supporting the diagnosis
  • Specific code fix
  • Testing approach
  • Prevention recommendations

Focus on fixing the underlying issue, not just symptoms.

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 · 49 lines · 23 tokens per session scan A 9ab821672378

Subscribe to this mod's changes

debugger is a skill published in the GitHub repository mortis-cube/mo-code (85 stars, last pushed 12d ago), licensed MIT. It adds 23 tokens to every session and 248 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to debugger, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

testing

Skill validation framework PLUS daily test-suite health and regression intelligence. Validates skill conformance (frontmatter, manifest coverage, resolver coverage). Runs the project test suite in tiered phases (unit / evals / integration / system health), classifies failures, and produces a regression-aware report.

garrytan/gbrain · 63 tokens

verify

Verify that a change really works before you claim completion.

Yeachan-Heo/oh-my-claudecode · 12 tokens

detect-static-dependencies

ACTIVATION PREREQUISITE: the request or discovered target must explicitly identify C#, .NET, .cs, or .csproj; otherwise stay dormant without invoking this skill. USE FOR: locating System.DateTime.Now/UtcNow, System.IO.File/Directory, System.Environment, HttpClient, Console, or Process usage in C#; auditing C# code for…

dotnet/skills · 135 tokens

testing-blocks

Use this when you have made AEM Edge Delivery Services code changes to blocks, scripts, or styles and need to validate them before opening a pull request. Covers unit testing for utilities and logic, browser testing with Playwright, linting, and guidance on what to test and how.

adobe/skills · 61 tokens

dart-downstream-fix

DART Downstream Fix: fix a DART bug reported through gz-physics or Gazebo.

dartsim/dart · 25 tokens

test-hang-watchdog

Prevent and diagnose hanging or long-running Gradle unit tests (> 30s) in Android/Kotlin coroutines codebases. Use when running tests, when a test execution takes unexpectedly long, when background test tasks appear frozen, or when taking thread dumps (jstack) to unblock coroutine deadlocks.

niki914/zafiro · 66 tokens