a0-debug-plugin

a0-debug-plugin is a skill for Claude Code, Codex from Gen-Verse/PAST-Bench. It costs 68 tokens per session (1,427 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for Agent Zero plugins, which are add-ons that extend the agent. It covers discovery, enabling, API handlers, frontend errors, settings, hooks, and logs.

In plain words
What is it for?
Use it to validate plugin files and YAML, inspect toggle settings, check API routes and imports, and review startup logs.
Why use it?
It gives a fixed sequence of checks for plugins that are missing, disabled, crashing, or not responding, so the first failure can be found and fixed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/gen-verse/past-bench/a0-debug-plugin
Any agent
npx skills add Gen-Verse/PAST-Bench --skill a0-debug-plugin
Clone the repo
git clone --depth 1 https://github.com/Gen-Verse/PAST-Bench

Made for: Claude Code, Codex.

Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,427 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00068 $0.01427
Opus 5 $0.00034 $0.00714
Sonnet 5 $0.00014 $0.00285
Haiku 4.5 $0.00007 $0.00143

Measured 3d ago against content hash 30e21d5625ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

a0-debug-plugin 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 3d 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.

agents/agent-zero/skills/a0-debug-plugin/SKILL.md · 173 lines

How it starts

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

Agent Zero Plugin Debugger

Work through these checks in order. Stop at the first failure and fix it before continuing.


1. Plugin not appearing in the Plugins list

# Check plugin.yaml exists
ls /a0/usr/plugins/<name>/plugin.yaml

# Validate YAML
python3 -c "import yaml; yaml.safe_load(open('/a0/usr/plugins/<name>/plugin.yaml'))"

# Check directory name doesn't start with '.'
ls /a0/usr/plugins/

Common causes:

  • Missing plugin.yaml - plugin not discovered
  • Invalid YAML syntax - plugin skipped silently
  • Directory name starts with . - skipped by discovery

2. Plugin appears but won't enable

# Check toggle state
ls -la /a0/usr/plugins/<name>/.toggle-*

# Check for conflicting scoped toggles
ls -la project/.a0proj/plugins/<name>/.toggle-* 2>/dev/null
ls -la /a0/usr/agents/default/plugins/<name>/.toggle-* 2>/dev/null

3. API endpoint not responding

  • Verify the handler file is in api/ and subclasses ApiHandler
  • Route format: POST /api/plugins/<plugin_name>/<handler_filename_without_.py>
  • Check for Python import errors on startup (check Agent Zero logs)
  • Verify correct import paths: from agent import AgentContext not from helpers.context import AgentContext
# Check for syntax errors in handler
python3 -m py_compile /a0/usr/plugins/<name>/api/my_handler.py

4. Frontend component not rendering / store errors

  • Check browser console for Alpine.js errors
  • Verify the store file is imported in HTML <head> via <script type="module">
  • Confirm Store Gate pattern is used (missing gate = undefined error if store not yet loaded)
  • Verify store name in createStore(...) matches $store.<name> in templates

5. Extension point not injecting

  • Check the HTML file is in extensions/webui/<correct_breakpoint_name>/
  • Verify the breakpoint name exists in core UI (check webui/index.html or component files for <x-extension id="...">)
  • Common breakpoints: sidebar-quick-actions-main-start, plugins-list-header-buttons, chat-input-bottom-actions-end
  • Confirm the HTML file has a root element with x-data and an x-move-* directive

Read the full file on GitHub · 173 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. 3d ago First seen · 173 lines · 68 tokens per session scan A 30e21d5625ce

Subscribe to this mod's changes

a0-debug-plugin is a skill published in the GitHub repository Gen-Verse/PAST-Bench (24 stars, last pushed 29d ago), licensed Apache-2.0. It adds 68 tokens to every session and 1,427 once invoked, about $0.0003 per session on Opus 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-30.

Related

Other skills, from other repositories

a0-debug-plugin

Diagnose and fix Agent Zero plugin problems. Covers plugin not appearing, won't enable, API endpoints not responding, frontend store errors, extension point injection, settings resolution, hooks.py issues, and log inspection. Use when a plugin is not working, not loading, crashing, missing from the list, or behaving…

agent0ai/agent-zero · 68 tokens

bug-fix-workflow

Structured bug diagnosis and repair workflow using the 5-Whys root cause analysis method. Ensures fixes include tests, documentation, and knowledge capture.

pan94u/forge · 36 tokens

a0-manage-plugin

Manage Agent Zero plugins lifecycle: browse the Plugin Hub, scan for security, install from Git/ZIP/Plugin Hub, update, uninstall, enable, disable, debug, and troubleshoot. Use when asked to install, update, uninstall, remove, scan, find, search, enable, disable, debug, or troubleshoot a plugin.

agent0ai/agent-zero · 72 tokens

commit

Atomic git commit with conventional message. Use when the user says "commit", "save my changes", "commit this", or wants to create a git commit. Stages specific files, writes a conventional commit message with body explaining non-obvious decisions. Never uses git add -A.

congchuanling-dot/Cohort · 59 tokens

python-run

Run and debug Python scripts in the project. Use when the user says "run python", "execute this script", "debug this py file", or wants to run/modify a .py file. Handles dependency checks, linting, execution, and error analysis.

congchuanling-dot/Cohort · 56 tokens

debugging

Debugging your dating life — debug bad matches, debug miscommunication, and debug your profile for better connections. Debugging compatibility, debugging conversations, and debugging relationships on inbed.ai. 调试、修复。Depuración, arreglar citas.

geeks-accelerator/in-bed-ai · 53 tokens