neuron-debugger

neuron-debugger is a skill for Claude Code, Codex from neuron-core/neuron-laravel. It costs 90 tokens per session (2,260 once invoked), scanned A, a copy of neuron-debugger, MIT.

A guide for finding problems and delays in Neuron AI applications by recording agent activity and system events.

In plain words
What is it for?
Use it to inspect model calls, tool use, searches, event activity, inputs and outputs, errors, latency, and performance bottlenecks through logs or Inspector APM.
Why use it?
It shows what the agent did, what information it used, where errors occurred, and how long each operation took.

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/neuron-core/neuron-laravel/neuron-debugger
Any agent
npx skills add neuron-core/neuron-laravel --skill neuron-debugger
Clone the repo
git clone --depth 1 https://github.com/neuron-core/neuron-laravel

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/neuron-core/neuron-laravel/neuron-debugger.svg)](https://agentmods.dev/skills/neuron-core/neuron-laravel/neuron-debugger)
Your own site
<a href="https://agentmods.dev/skills/neuron-core/neuron-laravel/neuron-debugger"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-laravel/neuron-debugger.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,260 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00090 $0.02260
Opus 5 $0.00045 $0.01130
Sonnet 5 $0.00018 $0.00452
Haiku 4.5 $0.00009 $0.00226

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

Security

Grade A, and why

neuron-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 5d 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 neuron-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.

resources/boost/skills/neuron-debugger/SKILL.md · 407 lines

How it starts

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

Neuron AI Debugger

This skill helps you debug and monitor Neuron AI applications using Inspector APM and the framework's observability system.

Inspector APM Integration

Inspector provides deep insights into agent execution, helping you understand:

  • Why the model took certain decisions
  • What data the model reacted to
  • Timeline of all operations (LLM calls, tool usage, vector search)
  • Performance bottlenecks and latency

Setup

  1. Get an Inspector account at https://inspector.dev
  2. Set the ingestion key in your environment:
# .env file
INSPECTOR_INGESTION_KEY=your_ingestion_key_here
  1. Agent execution is automatically tracked - no code changes needed!

Viewing Execution Timeline

After running an agent, visit your Inspector dashboard to see:

[AI Inference] → [Tool Call: search_database] → [AI Inference] → [Response]
     ↓                    ↓                        ↓
  850ms               1.2s                     920ms

Each segment shows:

  • Duration and timing
  • Input/output data
  • Errors if any occurred
  • Metadata (model used, tokens, etc.)

Event System Observability

Neuron uses a static EventBus for monitoring all framework events.

Event Emission

All components emit events automatically:

use NeuronAI\Observability\EventBus;

// Workflows emit events like:
// - 'workflow-start'
// - 'workflow-resume'
// - 'workflow-end'
// - 'workflow-node-start'
// - 'workflow-node-end'
// - 'middleware-before-start'
// - 'middleware-after-end'
// - 'tool-calling'
// - 'tool-called'
// - 'rag-retrieving'
// - 'rag-retrieved'
// - 'inference-start'
// - 'inference-end'

Custom Observers

use NeuronAI\Observability\ObserverInterface;

class CustomObserver implements ObserverInterface
{
    public function handle(string $event, object $source, mixed $data): void
    {
        // Handle events
        echo "Event: {$event}\n";
        echo "Source: " . $source::class . "\n";
        var_dump($data);
    }
}

Read the full file on GitHub · 407 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. 5d ago First seen · 407 lines · 90 tokens per session scan A 51be460a78d0

Subscribe to this mod's changes

neuron-debugger is a skill published in the GitHub repository neuron-core/neuron-laravel (119 stars, last pushed 2mo ago), licensed MIT. It adds 90 tokens to every session and 2,260 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to neuron-debugger, differing in 0 lines, and is treated as a copy.