debug

A debugging workflow for incorrect Dippy approval or blocking decisions. Dippy is the codebase this workflow targets.

In plain words
What is it for?
Use it to investigate a reported approval or blocking bug, add a failing test, make a focused fix, and run the project's formatting and checks.
Why use it?
It helps find why a command was allowed or denied incorrectly and requires a test that demonstrates the problem before changing the code.

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

Made for: Claude Code, Codex.

Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 222 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.00010 $0.00222
Opus 5 $0.00005 $0.00111
Sonnet 5 $0.00002 $0.00044
Haiku 4.5 $0.00001 $0.00022

Measured 2d ago against content hash 48f07c2450ee, 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 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 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.

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.

.claude/skills/debug/SKILL.md · 38 lines

What it actually says

Debug a Dippy issue based on user-provided context.

The user will provide:

  • The command that was incorrectly approved or blocked
  • Expected vs actual behavior
  • Any relevant error messages or logs

Process

  1. Understand the bug from the provided context
  2. Search the codebase to find the relevant handler or pattern
  3. Write a failing test FIRST in the appropriate test file
  4. Run just test and verify the test fails as expected
  5. Fix the bug in the handler or pattern
  6. Run just test until the test passes

Finish

When tests pass:

uv run ruff check --fix && uv run ruff format

just check MUST pass before you're done.

Restrictions

  • ONLY modify files directly related to the bug
  • Make minimal, targeted fixes
  • Do NOT refactor or "improve" unrelated code
  • Do NOT create a git commit or PR
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 · 38 lines · 10 tokens per session scan A 48f07c2450ee

Subscribe to this mod's changes

debug is a skill published in the GitHub repository ldayton/Dippy (243 stars, last pushed 2mo ago), licensed MIT. It adds 10 tokens to every session and 222 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-30.

Related

Other skills, from other repositories

toolpermit

Install, configure, operate, and troubleshoot ToolPermit, the local-first permission policy, one-time approval, and redacted audit layer for MCP stdio tool calls. Use when Codex needs to protect or inspect an MCP server, wrap an MCP stdio command, create or review allow/ask/deny policies, manage approvals, replay…

sunhao123456sun-svg/toolpermit · 100 tokens

longline-repo-allowlist

Use when scoping allow/ask rules for a command family (kubectl, oc, terraform, aws, gcloud, docker, etc.) to one repository so routine invocations stop prompting only inside that repo. Triggers include "allow kubectl in this repo", "stop asking about X commands", "add longline rules for this project", "allowlist…

devinbarry/longline · 102 tokens

code-runner

安全代码执行(Python/JavaScript/Bash脚本运行、超时控制、输出捕获).

chainlesschain/chainlesschain · 26 tokens

netdata-custom-collector

Use when you need Netdata to collect metrics from something it does not already monitor, such as a custom application, an internal service, the output of a script or CLI tool, or a device. Covers the decision tree from the built-in StatsD server (zero collector code) through writing a collector in any language via the…

netdata/skills · 148 tokens

bump-dependency

Bumps a Python package dependency across Home Assistant Core integrations, regenerates core requirement files, runs verification tests and prek lint, and prepares a pull request with proper release/compare links.

home-assistant/core · 42 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens