copilot-setting: Agent for Claude Code

.github/agents/debugger.agent.md

Debugger is an agent for Claude Code from zexion7873/copilot-setting. It costs 36 tokens per session (902 once invoked), scanned A, original, MIT.

A debugging specialist for Java 8 and Maven projects that traces errors from stack traces through the code to their underlying cause.

In plain words
What is it for?
Use it to investigate reproducible bugs, trace execution, check version-specific coding rules, and hand identified causes to an implementation agent.
Why use it?
It helps separate the root problem from its visible symptoms while respecting older project constraints such as Java 8 and Spring 3.2.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; Copilot chat-mode frontmatter (tools: vscode/*).

This is zexion7873/copilot-setting's own configuration. It tells Claude Code how to work on copilot-setting 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 copilot-setting configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zexion7873/copilot-setting. 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/zexion7873/copilot-setting/main/.github/agents/debugger.agent.md
Clone the repo
git clone --depth 1 https://github.com/zexion7873/copilot-setting

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 Debugger

README.md
[![agentmods](https://agentmods.dev/badge/agents/zexion7873/copilot-setting/debugger/github.svg)](https://agentmods.dev/agents/zexion7873/copilot-setting/debugger)
Your own site
<a href="https://agentmods.dev/agents/zexion7873/copilot-setting/debugger"><img src="https://agentmods.dev/badge/agents/zexion7873/copilot-setting/debugger/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 Debugger

Your own site · 80×15
<a href="https://agentmods.dev/agents/zexion7873/copilot-setting/debugger"><img src="https://agentmods.dev/badge/agents/zexion7873/copilot-setting/debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 902 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.00036 $0.00902
Opus 5.5 $0.00014 $0.00361
Sonnet 5.5 $0.00007 $0.00180
Haiku 4.5 $0.00004 $0.00090

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

Security

Grade A, and why

Debugger 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.

.github/agents/debugger.agent.md · 53 lines

How it starts

The opening of the file, as written. The whole thing — 53 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Debugger — Debug & Troubleshooting Specialist

Expert debugger for Java 8 / Maven projects (no Spring Boot). Follows systematic isolation to find root causes — not symptoms. Always ask "but why?" until you hit bedrock. If the bug report is vague or missing reproduction steps, ask for specifics before investigating.

Coding Standards

Hard boundary — not a style preference. The build won't save you here: most of these violations compile clean and fail only at review or runtime, not at mvn compile. If you catch yourself reasoning that a symbol is "cleaner" or that the user "probably wants modern" code, that is rationalization — stop and check the matching instructions/ file before you let it stand. When unsure whether a symbol exists in-version, look it up; never guess.

Any fix you propose MUST respect these hard boundaries — full rules in instructions/ (the active skill names which files to open):

  • Java 8: no var, no List.of()/Map.of(), no records, no text blocks
  • Spring 3.2: XML config + <tx:advice> only — no @Transactional (unless legacy codebase already uses it consistently), no Spring Boot, no @GetMapping/@PostMapping (use @RequestMapping)
  • Hibernate 4.2: getCurrentSession() + hbm.xml only — no JPA annotations, no openSession() leaks
  • Schema: never hibernate.hbm2ddl.auto=update / create — it rewrites the live schema at startup, outside the reviewed migrations; use validate or omit the property
  • SQL: PreparedStatement with ? (JDBC) / named params :paramName (HQL) — never concatenate user input into query strings
  • Security: <c:out> / escape all JSP output; HttpOnly + Secure + SameSite=Strict cookie flags (Servlet 3.0 has no SameSite API — set it via the Set-Cookie response header or container config)
  • Access Control (A01): deny by default; every endpoint must check role/permission, not just login; CSRF tokens on all state-changing POST forms
  • Deserialization (A08): never deserialize untrusted data via ObjectInputStream — prefer JSON
  • SSRF (A10): allow-list hosts/ports/protocols for any server-side URL fetch with user-supplied target; block private IP ranges

Read the full file on GitHub · 53 lines

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 · +1 lines 3ad5e64fbf53
  2. 1mo ago Changed 79cb65192214
  3. 2mo ago First seen · 52 lines · 36 tokens per session scan A ac3619fcfab3

Subscribe to this mod's changes

Debugger is an agent published in the GitHub repository zexion7873/copilot-setting (1 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 902 once invoked, about $0.0001 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-31.

Related

Debugger compared with agents from other repositories

Debugger next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Debuggerzexion7873/copilot-settingAgent11mo agoMITA36Claude Code
Dynatrace Expertgithub/awesome-copilotAgent41kyesterdayMITA77Claude Code
New Relic Incident Response Agentgithub/awesome-copilotAgent41kyesterdayMITA45Claude Code
react18-auditorgithub/awesome-copilotAgent41kyesterdayMITA74Claude Code
quality-playbookgithub/awesome-copilotAgent41kyesterdayMITA69Claude Code
react18-batching-fixergithub/awesome-copilotAgent41kyesterdayMITA76Claude Code
react19-auditorgithub/awesome-copilotAgent41kyesterdayMITA61Claude Code