learnship-debugger

learnship-debugger is an agent for Claude Code from FavioVazquez/learnship. It costs 41 tokens per session (1,114 once invoked), scanned A, a copy of learnship-debugger, MIT.

An investigation agent for finding the cause of software bugs through stated hypotheses and evidence. A debug session file is a saved record of the investigation and its findings.

In plain words
What is it for?
Use it to trace symptoms, test possible causes, inspect relevant files, and record confirmed findings.
Why use it?
It gives debugging work a structured process instead of relying on guesses.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Part of the learnship plugin — 24 skills, 34 agents shipped together

Good fit Use it to trace symptoms, test possible causes, inspect relevant files, and record confirmed findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/faviovazquez/learnship/learnship-debugger
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.

Clone the repo
git clone --depth 1 https://github.com/FavioVazquez/learnship

Made for: Claude Code.

Or install learnship, the plugin that ships this one along with the rest of its 24 skills, 34 agents.

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 learnship-debugger

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/faviovazquez/learnship/learnship-debugger"><img src="https://agentmods.dev/badge/agents/faviovazquez/learnship/learnship-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,114 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 100% copy Near-identical to another mod 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.00041 $0.01114
Opus 5.5 $0.00016 $0.00446
Sonnet 5.5 $0.00008 $0.00223
Haiku 4.5 $0.00004 $0.00111

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

Security

Grade A, and why

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

Origin

This is a copy

100% identical to learnship-debugger — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/learnship-debugger.md · 148 lines

How it starts

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

Spawned by debug when parallelization: true in config.

Your job: Find the root cause through hypothesis testing and write your findings to the debug session file. You have a fresh, full context budget — use it to read deeply.

CRITICAL: Mandatory Initial Read If the prompt contains a <files_to_read> block, you MUST use the Read tool to load every file listed there before performing any other actions.

<debugging_philosophy>

User = Reporter, You = Investigator

The user knows:

  • What the symptom is
  • What they expected
  • What they've already tried

You know:

  • How to trace code paths
  • Where to look for common failure modes
  • How to eliminate hypotheses systematically

Do NOT ask the user for information that you can find by reading the code. Read first, ask only when genuinely blocked.

Scientific Method

  1. Form a specific hypothesis: "The bug is caused by X in file Y because Z"
  2. Find evidence that would confirm or deny it
  3. Check the evidence (read files, grep, run safe read-only commands)
  4. Update: confirmed → root cause found; denied → next hypothesis
  5. Never declare root cause without confirming it explains the symptom

One Root Cause Rule

Bugs almost always have one root cause. Don't patch symptoms. Don't propose multiple "could also be" fixes. Find the one thing that, if changed, would make the symptom go away. </debugging_philosophy>

<execution_flow>

Step 1: Load Context

Read the debug session file completely. Extract:

  • Symptom description
  • Triage answers (when, expected, frequency, regression)
  • Hypotheses ranked by likelihood

Read project context file (./AGENTS.md, ./CLAUDE.md, or ./GEMINI.md — whichever exists).

Read .planning/STATE.md for recent changes and decisions.

Step 2: Investigate Hypotheses

For each hypothesis, starting with the most likely:

Read the full file on GitHub · 148 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 First seen · 148 lines · 41 tokens per session scan A a77c44c6f0f8

Subscribe to this mod's changes

learnship-debugger is an agent published in the GitHub repository FavioVazquez/learnship (61 stars, last pushed 4mo ago), licensed MIT. It adds 41 tokens to every session and 1,114 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to learnship-debugger, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

debugger

Debugging specialist for errors and test failures. Use when encountering build errors, runtime exceptions, test failures, or unexpected behavior. Invoke with /debugger to investigate issues.

madebyaris/advance-minimax-m3-cursor-rules · 37 tokens

dgx-spark-ops-engineer

NVIDIA DGX Spark environment doctor for GB10/aarch64/CUDA-13 systems. Diagnoses and fixes ML stack setup, unified-memory, and thermal issues. Use PROACTIVELY when preparing or debugging any training or inference workload on DGX Spark hardware.

wshobson/agents · 63 tokens

application-performance-performance-engineer

Expert performance engineer specializing in modern observability, application optimization, and scalable system performance. Masters OpenTelemetry, distributed tracing, load testing, multi-tier caching, Core Web Vitals, and performance monitoring. Handles end-to-end optimization, real user monitoring, and scalability…

wshobson/agents · 76 tokens

cicd-automation-devops-troubleshooter

Expert DevOps troubleshooter specializing in rapid incident response, advanced debugging, and modern observability. Masters log analysis, distributed tracing, Kubernetes debugging, performance optimization, and root cause analysis. Handles production outages, system reliability, and preventive monitoring. Use…

wshobson/agents · 74 tokens

team-debugger

Hypothesis-driven debugging investigator that investigates one assigned hypothesis, gathering evidence to confirm or falsify it with file:line citations and confidence levels. Use when debugging complex issues with multiple potential root causes.

wshobson/agents · 43 tokens

code-refactoring-legacy-modernizer

Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization. Handles technical debt, dependency updates, and backward compatibility. Use PROACTIVELY for legacy system updates, framework migrations, or technical debt reduction.

wshobson/agents · 52 tokens