neuron-debugger

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

A debugging and monitoring helper for Neuron AI applications. It records agent activity in Inspector APM, a service that shows execution steps, inputs and outputs, errors, timings, and other run details.

In plain words
What is it for?
Use it to inspect agent execution, trace tool and model calls, review logs and events, and investigate errors, latency, or performance problems.
Why use it?
It helps explain what an AI agent did and where a run became slow or failed. The recorded timeline can reveal model calls, tool use, and vector searches involved in a response.

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

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-ai/neuron-debugger.svg)](https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-debugger)
Your own site
<a href="https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-debugger"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-ai/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 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.00090 $0.02260
Opus 5 $0.00045 $0.01130
Sonnet 5 $0.00018 $0.00452
Haiku 4.5 $0.00009 $0.00226

Measured 4d 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 4d 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

Copies of this mod

1 near-identical copy found in the catalogue:

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. 4d 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-ai (2,081 stars, last pushed 2d 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.