Agent skill

Debug Agent

by bitsocialnet in bitsocialnet/5chan

Investigate a reported bug using source, tests, or runtime evidence to establish its cause.

GPL-3.0Auto-check passed

Install Debug Agent

skills CLI
$ npx skills add bitsocialnet/5chan --skill debug-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bitsocialnet/5chan debug-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bitsocialnet/5chan.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/debug-agent .claude/skills/debug-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
debug-agent
GitHub stars
135
Token cost
~663 tokens
SKILL.md length
360 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
GPL-3.0

At a glance

Investigate a reported bug using source, tests, or runtime evidence to establish its cause.

  • Works in 7 steps: Establish the expected behavior,… → Trace the real execution path. Use… → State the plausible causes and choose… → …
  • SKILL.md covers When instrumentation is needed and Optional file discovery
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Debug Agent is an agent skill from bitsocialnet/5chan. Investigate a reported bug using source, tests, or runtime evidence to establish its cause.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A peer-to-peer 4chan alternative. The licence is GPL-3.0.

Example prompts

  • “/debug-agent”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Establish the expected behavior, reproduction, affected environment, and success criteria. Inspect file history when the report identifies…
  2. Trace the real execution path. Use existing tests, stack traces, logs, and runtime evidence before creating more instrumentation.
  3. State the plausible causes and choose the cheapest check that distinguishes them. A failing regression test or deterministic source-level…
  4. Reproduce autonomously using available tools when possible. Ask for a user-only reproduction step only when access or missing information…
  5. Apply the smallest fix supported by the evidence, preserving unrelated changes.
  6. Verify the original failure and relevant edge cases. Follow the repository's verification requirements once for the final state.
  7. Remove temporary instrumentation and files owned by this task after verification, and report the cause, fix, and evidence. Do not require…

What it can do on your machine

Read from SKILL.md and the folder at commit a31f565. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Debug Agent loads about 663 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 360 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~663

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from bitsocialnet/5chan at commit a31f565, republished under its GPL-3.0 licence (© bitsocialnet). 360 words, ~663 tokens.

Download SKILL.mdSave it as .claude/skills/debug-agent/SKILL.md (or your agent's skills folder).
name
debug-agent
description
Investigate a reported bug using source, tests, or runtime evidence to establish its cause.

Debug a Bug

  1. Establish the expected behavior, reproduction, affected environment, and success criteria. Inspect file history when the report identifies a file or line.
  2. Trace the real execution path. Use existing tests, stack traces, logs, and runtime evidence before creating more instrumentation.
  3. State the plausible causes and choose the cheapest check that distinguishes them. A failing regression test or deterministic source-level error can be sufficient; not every bug needs a logging server.
  4. Reproduce autonomously using available tools when possible. Ask for a user-only reproduction step only when access or missing information prevents progress; reuse the agreed method in later iterations.
  5. Apply the smallest fix supported by the evidence, preserving unrelated changes.
  6. Verify the original failure and relevant edge cases. Follow the repository's verification requirements once for the final state.
  7. Remove temporary instrumentation and files owned by this task after verification, and report the cause, fix, and evidence. Do not require another confirmation when the authorized automated check proves success.
Show full SKILL.md (194 more words)Show less

When instrumentation is needed

  • Add a small number of logs tied to specific hypotheses; avoid credentials, personal data, and arbitrary content dumps.
  • Prefer the application's existing logger or test harness. Use an existing local debug service if useful; do not install or require a new daemon by default.
  • Use a task-specific log file and mark temporary code clearly. Never clear another session's logs.
  • Collect before/after evidence. If a hypothesis fails, remove its speculative fix and revise the investigation.
  • If user-only verification remains pending, state the limitation and retain only the instrumentation needed for that verification, unless the user requests cleanup.

Optional file discovery

If ordinary search leaves a large but explicit source shortlist, Jev file questions can help prioritize direct inspection. Supply task-specific bounded questions and only task-authorized files; live calls require explicit --live and a budget. Keep negative and uncertain results visible, inspect their source/dependencies when needed, and read source before editing. This is optional evidence selection, not a command runner or proof of a diagnosis. The initial pilot did not establish workflow savings; do not run it routinely or treat low API cost as justification. Prefer direct reading when it is cheaper.

© bitsocialnet, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/debug-agent of bitsocialnet/5chan.

Open the folder on GitHubat commit a31f565

Compare with similar skills

Debug Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Debug Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Debug Agent this skillbitsocialnet/5chan135—~663Automated safety check: PassGPL-3.0
Debugasgeirtj/system_prompts_leaks69k—~439Automated safety check: PassCC0-1.0
Root Cause Investigationgarrytan/gstack136k—~12kAutomated safety check: NotesMIT
Reportmicrosoft/data-formulator18k—~1.5kAutomated safety check: PassMIT
Agent Introspection Debuggingaffaan-m/ECC275k2 repos~1.4kAutomated safety check: PassMIT
Openclaw Debuggingopenclaw/openclaw392k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Debug

    asgeirtj/system_prompts_leaks

    Enable debug logging for this session and help diagnose issues

    69k GitHub stars~439 tokensUpdated today
    Auto-check passed
  • Debugs in four phases (investigate, analyze, hypothesize, implement) under one rule: no fix is made until the root cause is found.

    136k GitHub stars~12k tokensUpdated today
    DevelopmentAuto-check: notes
  • Report

    microsoft/data-formulator

    Official

    Turn an exploration (threads, findings, charts) into a single Markdown report — note, blog post, executive summary, KPI dashboard, slide brief, or multi-section analytical report, with embedded…

    18k GitHub stars~1.5k tokensUpdated today
    Writing & ContentAuto-check passed
  • Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports.

    275k GitHub starsUsed in 2 repos~1.4k tokens
    DevelopmentAuto-check passed
  • Openclaw Debugging

    openclaw/openclaw

    Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code, including fetching stored…

    392k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed

More from bitsocialnet/5chan

All 12 skills in this repo
  • Playwright CLI

    bitsocialnet/5chan

    Verify browser behavior or reproduce a web UI issue with the installed Playwright CLI.

    135 GitHub stars~1.1k tokensUpdated today
    Auto-check: notes
  • Inspect Elements

    bitsocialnet/5chan

    Map a visible 5chan DOM node to its React source when file or component attribution is needed.

    135 GitHub stars~727 tokensUpdated today
    Auto-check passed
  • Translate

    bitsocialnet/5chan

    Add, update, or remove 5chan i18next translations when locale changes are requested.

    135 GitHub stars~692 tokensUpdated today
    Auto-check: notes
  • Review React effects and memoization when the user requests an effect audit or a change has unclear synchronization needs.

    135 GitHub stars~474 tokensUpdated today
    Auto-check passed
  • Profile Browsing

    bitsocialnet/5chan

    Measure 5chan loading, navigation, interaction timing, and committed React updates using repeatable scenarios.

    135 GitHub stars~507 tokensUpdated today
    Auto-check passed
  • Retro

    bitsocialnet/5chan

    Review a coding session, bug fix, or substantive review correction for evidence-backed ways to prevent recurrence, using existing checks and focused guidance.

    135 GitHub stars~865 tokensUpdated today
    Auto-check passed

Questions about Debug Agent

What does Debug Agent do?

Investigate a reported bug using source, tests, or runtime evidence to establish its cause. Debug Agent is an agent skill from bitsocialnet/5chan. Investigate a reported bug using source, tests, or runtime evidence to establish its cause.

How do I install Debug Agent in Claude Code?

Run `npx skills add bitsocialnet/5chan --skill debug-agent -a claude-code`. Or copy the skill folder (.agents/skills/debug-agent in bitsocialnet/5chan) into .claude/skills/debug-agent in your project. Claude Code loads it when a task matches its description.

How do I install Debug Agent in Codex?

Run `npx skills add bitsocialnet/5chan --skill debug-agent -a codex`. Or copy the skill folder (.agents/skills/debug-agent in bitsocialnet/5chan) into .agents/skills/debug-agent in your project. Codex loads it when a task matches its description.

Can I use Debug Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bitsocialnet/5chan --skill debug-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debug-agent, .gemini/skills/debug-agent, .github/skills/debug-agent and .opencode/skills/debug-agent in your project.

What does Debug Agent need to run?

SKILL.md names no scripts, command-line tools or credentials: Debug Agent is instructions for the agent only.

Does Debug Agent access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Debug Agent safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Debug Agent use?

Debug Agent is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Debug Agent use?

About 663 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Debug Agent?

Skills that share tags, products or a category with Debug Agent: Debug (asgeirtj/system_prompts_leaks, 69k stars), Root Cause Investigation (garrytan/gstack, 136k stars), Report (microsoft/data-formulator, 18k stars) and Agent Introspection Debugging (affaan-m/ECC, 275k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Debug Agent?

bitsocialnet (a GitHub organization) maintains it in bitsocialnet/5chan, which has 135 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.

Source: bitsocialnet/5chan on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.