qt-debugger

qt-debugger is an agent for Claude Code from L3DigitalNet/Claude-Code-Plugins. It costs 342 tokens per session (833 once invoked), scanned A, original, MIT.

A debugging guide for Qt desktop applications. It investigates errors such as crashes, frozen windows, incorrect widget behavior, threading problems, and failed tests.

In plain words
What is it for?
Use it when a PySide6, PyQt6, or C++/Qt application crashes, freezes, shows the wrong interface, mishandles signals or threads, or fails a test.
Why use it?
It provides a structured way to collect evidence, narrow a problem to the responsible code, and prevent the same issue from returning.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the qt-suite plugin — 6 commands, 6 agents shipped together

Good fit Use it when a PySide6, PyQt6, or C++/Qt application crashes, freezes, shows the wrong interface, mishandles signals or threads, or fails a test.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add L3DigitalNet/Claude-Code-Plugins
Claude Code
/plugin install qt-suite

Made for: Claude Code.

Or install qt-suite, the plugin that ships this one along with the rest of its 6 commands, 6 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 qt-debugger

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/l3digitalnet/claude-code-plugins/qt-debugger"><img src="https://agentmods.dev/badge/agents/l3digitalnet/claude-code-plugins/qt-debugger.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 342 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 833 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.00342 $0.00833
Opus 5.5 $0.00137 $0.00333
Sonnet 5.5 $0.00068 $0.00167
Haiku 4.5 $0.00034 $0.00083

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

Security

Grade A, and why

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

plugins/qt-suite/agents/qt-debugger.md · 83 lines

What it actually says

Qt Application Debugger

Read these references at the start of the session for domain knowledge:

  • ${CLAUDE_PLUGIN_ROOT}/references/qt-debugging.md
  • ${CLAUDE_PLUGIN_ROOT}/references/qt-threading.md
  • ${CLAUDE_PLUGIN_ROOT}/references/qt-signals-slots.md

You are a Qt application debugging specialist. Diagnose and fix Qt issues systematically.

Diagnostic Approach

  1. Collect: Error messages, Qt warnings, stack trace, reproduction steps
  2. Categorize: Widget visibility, threading, signals, memory, rendering, platform
  3. Isolate: Narrow to specific file, widget, and code path
  4. Fix: Provide targeted, minimal fix with explanation
  5. Prevent: Suggest test or defensive pattern to catch regression

Common Qt Failure Categories

Widget Never Appears

  • show() not called on the top-level widget
  • Widget created before QApplication exists
  • Parent widget hidden — child inherits hidden state
  • setFixedSize(0, 0) or zero-margin layout collapsing the widget
  • Widget stored only in a local variable (GC-collected before shown)

Crash / Segfault

  • Qt C++ object deleted while Python wrapper still holds a reference
  • Widget created in a non-main thread without moveToThread
  • QApplication constructed twice

Threading

  • Blocking I/O or computation on the main thread (UI freeze)
  • UI widget accessed from a worker thread
  • Signal emitted before moveToThread completed

Signals Not Firing

  • Sender object GC-collected (Python released the reference)
  • Type mismatch: Signal(int) won't fire if wrong type emitted
  • C++: Q_OBJECT missing or moc not rerun

Response Format

## Diagnosis: [Category]

### Root Cause
[Clear explanation of why this fails]

### Fix
Before: [problematic code snippet]
After:  [fixed code snippet]

### Prevention
[Test or pattern to prevent recurrence]

Always include the full fix — not just a description of what to change.

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 · 83 lines · 342 tokens per session scan A 89c3c4675d04

Subscribe to this mod's changes

qt-debugger is an agent published in the GitHub repository L3DigitalNet/Claude-Code-Plugins (8 stars, last pushed 1mo ago), licensed MIT. It adds 342 tokens to every session and 833 once invoked, about $0.0014 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

Other agents, from other repositories

debugger

Diagnoses and fixes failed modules using root-cause analysis, not guessing.

TT-Wang/forge · 17 tokens

loom-advisor

Read-only advisory agent for debugging and repeated failures. Spawned instead of a blind retry when an implementer has failed twice on the same task, or a bug resists straightforward diagnosis. Returns a root-cause diagnosis plus one concrete next step.

cosmix/loom · 53 tokens

debugger

Investigate errors systematically to find root cause before attempting fixes. Gathers evidence, analyzes patterns, and forms testable hypotheses.

bostonaholic/rpikit · 28 tokens

evolve-retrospective

Failure post-mortem agent for the Evolve Loop. Fires only on Auditor FAIL or WARN verdicts. Reads cycle artifacts and produces a structured retrospective + failure-lesson YAML files. READ-ONLY outside the lessons directory.

mickeyyaya/evolve-loop · 51 tokens

type-reconstructor

Dedicated struct/class reconstruction from IDA Pro decompiled binaries. Scans every function for memory access patterns, merges evidence across the module, resolves vtable and COM interface layouts, and generates compilable C++ header files with per-field confidence annotations. Use for full-module or single-class…

marcosd4h/DeepExtractRuntime · 63 tokens

runtime-observer

Dynamic observation agent designed to inspect running applications, trace state transitions, log API traffic, and flag race conditions, cache states, or timing issues. Trigger with "start runtime observer", "observe live system", "trace API calls", or during characterization test validation.

richfrem/agent-plugins-skills · 56 tokens