Debug

Debug is a skill for Claude Code from stagewise-io/stagewise. It costs 13 tokens per session (989 once invoked), scanned B, original, AGPL-3.0.

A debugging skill that uses logging calls and local log files to investigate program behaviour.

In plain words
What is it for?
Use it when diagnosing code by adding or reviewing logs and examining the resulting local log files.
Why use it?
It gives you a record of what happened during execution, which helps trace problems that are difficult to reproduce from the final error alone.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when diagnosing code by adding or reviewing logs and examining the resulting local log files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stagewise-io/stagewise/debug
About the project

stagewise is an open-source agentic IDE that combines a coding agent, browser-based app previews, debugging tools, and git workflows in one development environment. Developers use it to build and inspect applications with models from different providers. Catalogue add-ons extend the IDE's agent workflows.

stagewise-io/stagewise · 6,831 stars · on GitHub · stagewise.io

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 stagewise-io/stagewise --skill debug
Clone the repo
git clone --depth 1 https://github.com/stagewise-io/stagewise

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/stagewise-io/stagewise/debug"><img src="https://agentmods.dev/badge/skills/stagewise-io/stagewise/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 989 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 46
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Server-Side Request Forgery · line 46
    Code issues a request to a loopback, link-local, or private-range host. This can reach internal services not meant to be exposed and is a common SSRF pivot.
    Fix: Avoid requests to loopback/link-local/private hosts from skill code. If internal access is intended, document it and validate the target against an allowlist.
How audits are shown
Origin unknown 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.00013 $0.00989
Opus 5.5 $0.00005 $0.00396
Sonnet 5.5 $0.00003 $0.00198
Haiku 4.5 $0.00001 $0.00099

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

Security

Grade B, and why

Debug scanned grade B 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 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

fetch('http://127.0.0.1:54321/ingest/react-renders?token=abc-123', { method: 'POST',
apps/browser/bundled/skills/debug/SKILL.md · 116 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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 First seen · 116 lines · 13 tokens per session scan B ed9d142d8dba

Subscribe to this mod's changes

Debug is a skill published in the GitHub repository stagewise-io/stagewise (6,831 stars, last pushed today), licensed AGPL-3.0. It adds 13 tokens to every session and 989 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (sends data to an external url). 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

ci-troubleshoot

Diagnose failed GitHub Actions runs for pi-agent-dashboard: the 11-file workflow taxonomy, affected-test selection, the release pipeline, known failure modes, and how to read gh run logs and retrigger jobs. Use when a CI run is red, a release is stuck, a workflow won't dispatch, or you need to know which workflow does…

BlackBeltTechnology/pi-agent-dashboard · 97 tokens

node-inspect-debugger

See runtime state a console.log cannot reach — set real breakpoints, step, and dump the scope chain of a paused Node/TypeScript process. Use on "set a breakpoint", "inspect runtime state", "console.log isn't enough", "step through this", "what's in this closure at runtime", "attach a debugger". Not a logging or…

BlackBeltTechnology/pi-agent-dashboard · 83 tokens

performance-optimization

Measure-first performance work. Use on triggers like "it's slow", "profile this", "optimize perf", "fix the bottleneck", "improve load time / Core Web Vitals", or when a measured regression needs fixing. Enforces measure-before-optimize. Fills a perf gap not covered by existing project skills. Not a build/ship…

BlackBeltTechnology/pi-agent-dashboard · 77 tokens

systematic-debugging

Root-cause a bug already in front of you, instead of guessing at fixes. Use on triggers like "root cause this", "why is this failing", "debug systematically", "this test is flaky", "it works locally but not in CI", or when a fix attempt has already failed once. Enforces a phased evidence-first process before any code…

BlackBeltTechnology/pi-agent-dashboard · 86 tokens

debug-dashboard

Diagnose problems in the running pi-agent-dashboard system: server.log, /api/health, bridge WebSocket connectivity, vitest triage, known-issue FAQ entries. Routes UI/visual issues to the browser skill. Use when the server seems hung, a pi session won't connect, tests fail mysteriously, the dashboard shows a blank…

BlackBeltTechnology/pi-agent-dashboard · 89 tokens

canvas-webapp

Render a React/Vite (or any bundled) web app on the pi-dashboard canvas, which loads loopback URLs in a sandboxed opaque-origin iframe. Use when a canvas(target:{kind:"url"|"server"}) target shows up blank white, an empty surface, or a /live/ 500 ECONNREFUSED. Covers why Vite dev servers and non-CORS static servers…

BlackBeltTechnology/pi-agent-dashboard · 99 tokens