debug-behavior

debug-behavior is a skill for Claude Code, Codex from HenriqueCotta/ownership-driven-ai-customization-architecture. It costs 16 tokens per session (113 once invoked), scanned A, original, MIT.

A structured workflow for investigating software that behaves incorrectly or inconsistently. It compares what happened with what should have happened and traces the likely causes.

In plain words
What is it for?
Use it to trace code paths, contracts, and configuration, identify the responsible part of the repository, propose the smallest safe fix, and define how to verify it.
Why use it?
It gives unclear bugs a repeatable investigation path instead of relying on guesswork or broad changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to trace code paths, contracts, and configuration, identify the responsible part of the repository, propose the smallest safe fix, and define how to verify it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/henriquecotta/ownership-driven-ai-customization-architecture/debug-behavior
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 HenriqueCotta/ownership-driven-ai-customization-architecture --skill debug-behavior
Clone the repo
git clone --depth 1 https://github.com/HenriqueCotta/ownership-driven-ai-customization-architecture

Made for: Claude Code, 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 debug-behavior

README.md
[![agentmods](https://agentmods.dev/badge/skills/henriquecotta/ownership-driven-ai-customization-architecture/debug-behavior/github.svg)](https://agentmods.dev/skills/henriquecotta/ownership-driven-ai-customization-architecture/debug-behavior)
Your own site
<a href="https://agentmods.dev/skills/henriquecotta/ownership-driven-ai-customization-architecture/debug-behavior"><img src="https://agentmods.dev/badge/skills/henriquecotta/ownership-driven-ai-customization-architecture/debug-behavior/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-behavior

Your own site · 80×15
<a href="https://agentmods.dev/skills/henriquecotta/ownership-driven-ai-customization-architecture/debug-behavior"><img src="https://agentmods.dev/badge/skills/henriquecotta/ownership-driven-ai-customization-architecture/debug-behavior.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 113 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 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.00016 $0.00113
Opus 5 $0.00008 $0.00056
Sonnet 5 $0.00003 $0.00023
Haiku 4.5 $0.00002 $0.00011

Measured 10d ago against content hash 1617f4e5e113, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

debug-behavior 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 10d 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.

starter-kit/.github/skills/debug-behavior/SKILL.md · 21 lines

What it actually says

Debug Behavior

Use this skill when:

  • behavior is inconsistent
  • the cause is unclear
  • you need a repeatable investigation path

Workflow

  1. State the observed behavior and the expected behavior.
  2. Identify the ownership node that best understands the change origin.
  3. Identify any overlays that add useful lenses.
  4. Trace likely paths, contracts, and configuration points.
  5. Propose the smallest safe fix and the verification path.
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. 10d ago First seen · 21 lines · 16 tokens per session scan A 1617f4e5e113

Subscribe to this mod's changes

debug-behavior is a skill published in the GitHub repository HenriqueCotta/ownership-driven-ai-customization-architecture (5 stars, last pushed 4mo ago), licensed MIT. It adds 16 tokens to every session and 113 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-08-31.

Related

Other skills, from other repositories

static-code-analysis-typescript

Creates, reviews, and modernizes static code analysis setups for Node.js and TypeScript repositories, covering ESLint flat config, typescript-eslint, tsconfig, Prettier, import sorting, Husky, lint-staged, package.json quality scripts, and CI quality gates. Use when setting up or auditing linting, formatting…

jaktestowac/awesome-copilot-for-testers · 92 tokens

azure-diagnostics

WORKFLOW SKILL — Debug and troubleshoot Azure production issues: Container Apps + Function Apps diagnostics, KQL log analysis, health checks. WHEN: 'debug production issues', 'troubleshoot container apps', 'troubleshoot function apps', 'image pull failures', 'cold start issues', 'health probe failures'. DO NOT USE…

jonathan-vella/apex-accelerator · 91 tokens

extracting-code-structure

Use when listing all methods, functions, or classes in a file, exploring unfamiliar code, getting API overviews, or deciding what to read selectively without loading entire files.

SebastienDegodez/copilot-instructions · 39 tokens

reporting-bugs

Transforms rough tester notes, screenshots, console output, or observed behavior into reproducible defect reports with severity, evidence, and follow-up guidance. Use when logging bugs, triaging intermittent issues, or rewriting vague defect notes into developer-ready reports.

jaktestowac/awesome-copilot-for-testers · 53 tokens

azure-messaging

Troubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus. Covers connection failures, authentication errors, message processing issues, and SDK configuration problems. WHEN: event hub SDK error, service bus SDK issue, messaging connection failure, AMQP error, event processor host issue…

jonathan-vella/apex-accelerator · 135 tokens

analyzing-code-structure

Use when editing code structure with text matching ambiguity, handling "oldstring not unique" problems, or performing formatting-independent pattern matching across function signatures, method calls, and class structures.

SebastienDegodez/copilot-instructions · 42 tokens