agentic-os: Skill for Codex

.agents/skills/systematic-debugging/SKILL.md

systematic-debugging is a skill for Codex from KbWen/agentic-os. It costs 39 tokens per session (442 once invoked), scanned A, original, MIT.

A four-step method for finding the real cause of a software bug: observe the problem, form explanations, test them, and then fix the confirmed cause. It also requires a small reproducible example and evidence that the fix works.

In plain words
What is it for?
Use it for incidents, flaky tests, bugs spanning multiple modules, or any problem where the cause is unclear.
Why use it?
It reduces random patching and helps avoid fixes that appear to work without explaining or preventing the original failure.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is KbWen/agentic-os's own configuration. It tells Codex how to work on agentic-os 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 agentic-os configures →

Reuse

Borrowing it

Nothing to install: this file belongs to KbWen/agentic-os. 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/KbWen/agentic-os/main/.agents/skills/systematic-debugging/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/KbWen/agentic-os

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 systematic-debugging

README.md
[![agentmods](https://agentmods.dev/badge/skills/kbwen/agentic-os/systematic-debugging/github.svg)](https://agentmods.dev/skills/kbwen/agentic-os/systematic-debugging)
Your own site
<a href="https://agentmods.dev/skills/kbwen/agentic-os/systematic-debugging"><img src="https://agentmods.dev/badge/skills/kbwen/agentic-os/systematic-debugging/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 systematic-debugging

Your own site · 80×15
<a href="https://agentmods.dev/skills/kbwen/agentic-os/systematic-debugging"><img src="https://agentmods.dev/badge/skills/kbwen/agentic-os/systematic-debugging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 442 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00039 $0.00442
Opus 5.5 $0.00016 $0.00177
Sonnet 5.5 $0.00008 $0.00088
Haiku 4.5 $0.00004 $0.00044

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

Security

Grade A, and why

systematic-debugging 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/systematic-debugging/SKILL.md · 57 lines

What it actually says

Systematic Debugging

Overview

The core of systematic debugging is: understand first, then fix. When encountering a bug, clarify symptoms, reproduction conditions, and blast radius. Draw hypotheses, verify them with experiments to isolate the root cause, and only then submit a minimal, verifiable fix.

Ironclad Rules

  1. No random patching: Do not submit fixes without root cause evidence.
  2. Change one variable at a time: Prevent unexplainable results from touching multiple areas at once.
  3. Fixes MUST include evidence: Include reproduction steps, verification, and regression results.

When to Use

  • Hotfix incident response.
  • Flaky tests.
  • Cross-module anomalies that aren't intuitively obvious.
  • Any "fixed but I don't know why" risk scenarios.

Four-Phase Process

Phase 1: Observe

  • Precisely record error messages, timestamps, and input conditions.
  • Create a Minimal Reproducible Example (MRE).
  • Mark the blast radius (affected modules/users).

Phase 2: Hypothesize

  • Propose 1–3 testable root cause hypotheses.
  • Design "falsifiable" checks for each hypothesis.
  • Prioritize high-probability, low-cost verifiable items.

Phase 3: Verify

  • Run experiments and retain output logs.
  • Adjust only one variable to confirm causality.
  • Remove falsified hypotheses to converge on the most likely root cause.

Phase 4: Fix

  • Implement a Minimal Fix.
  • Add a Regression Test.
  • Verify: The original error disappears AND existing behavior is not broken.

Common Mistakes

  • Modifying code before reproducing the issue.
  • Modifying too many files at once, failing to locate the effective fix point.
  • Treating "accidental passes" as root cause resolved.
  • Lacking regression tests, causing similar issues to happen again.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +11 tokens per session 9bee4d30a787
  2. 1mo ago First seen · 57 lines · 28 tokens per session scan A 62c160464493

Subscribe to this mod's changes

systematic-debugging is a skill published in the GitHub repository KbWen/agentic-os (220 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 442 once invoked, about $0.0002 per session on Opus 5.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

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens

triage-issue

Analyze a GitHub issue, verify claims against the codebase, and close invalid issues with a technical response.

aden-hive/hive · 0 tokens

skill-repair

Diagnose and fix failing or degraded skills automatically - systemic-first triage, per-category playbooks, and a verification plan.

aeonfun/aeon · 28 tokens

self-improve

Improve the agent itself, or audit its recent performance - better skills, prompts, workflows, and config, plus a quality/reliability/memory-hygiene review of what it did and what failed.

aeonfun/aeon · 44 tokens

agenticx-agent-obs

Configure AgenticX observability (Traces, Observations, Sessions, Token & latency metrics) for Near desktop, Python/TypeScript/Go agents, LangChain/LangGraph, and OpenAI-compatible apps, or diagnose failed traces and slow spans. Use when the user asks to enable trace reporting, connect AgenticX observability, inspect…

DemonDamon/AgenticX · 89 tokens

dev-debug

AI DevKit · Guide structured debugging before code changes by clarifying expected behavior, reproducing issues, identifying likely root causes, and agreeing on a fix plan with validation steps. Use when users ask to debug bugs, investigate regressions, triage incidents, diagnose failing behavior, handle failing tests…

codeaholicguy/ai-devkit · 79 tokens