neuron-tool

neuron-tool is a skill for Claude Code, Codex from neuron-core/neuron-laravel. It costs 106 tokens per session (6,790 once invoked), scanned A, original, MIT.

A guide for creating custom tools, tool collections, and MCP integrations for Neuron AI agents. MCP is a standard way for an AI program to connect to external tools and services.

In plain words
What is it for?
Use it to build Neuron tools for API calls, database queries, file operations, information lookup, or connections to external systems.
Why use it?
It explains how an agent can perform actions or retrieve information instead of only generating text. It also describes how to define inputs and the code that runs each tool.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build Neuron tools for API calls, database queries, file operations, information lookup, or connections to external systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neuron-core/neuron-laravel/neuron-tool
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.

Any agent
npx skills add neuron-core/neuron-laravel --skill neuron-tool
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-tool

README.md
[![agentmods](https://agentmods.dev/badge/skills/neuron-core/neuron-laravel/neuron-tool/github.svg)](https://agentmods.dev/skills/neuron-core/neuron-laravel/neuron-tool)
Your own site
<a href="https://agentmods.dev/skills/neuron-core/neuron-laravel/neuron-tool"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-laravel/neuron-tool/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 neuron-tool

Your own site · 80×15
<a href="https://agentmods.dev/skills/neuron-core/neuron-laravel/neuron-tool"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-laravel/neuron-tool.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,790 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.00106 $0.06790
Opus 5.5 $0.00042 $0.02716
Sonnet 5.5 $0.00021 $0.01358
Haiku 4.5 $0.00011 $0.00679

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

Security

Grade A, and why

neuron-tool 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.

resources/boost/skills/neuron-tool/SKILL.md · 943 lines

How it starts

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

Neuron AI Tool

This skill helps you create custom tools, toolkits, and MCP integrations for Neuron AI agents.

Core Concepts

Tools give agents the ability to:

  • Execute actions (API calls, database queries, file operations)
  • Retrieve information (web search, data lookup)
  • Interact with external systems

Every tool has:

  • Name: Unique identifier
  • Description: Explains what the tool does (critical for LLM)
  • Properties: Input parameters with types and descriptions
  • __invoke(): The actual logic to run — returns a ToolOutput (default), or a plain string/array

Creating Custom Tools

Method 1: Extend Tool Class with __invoke

The cleanest approach for complex tools:

use NeuronAI\Tools\Tool;
use NeuronAI\Tools\ToolOutput;
use NeuronAI\Tools\ToolProperty;
use NeuronAI\Tools\PropertyType;

class WeatherTool extends Tool
{
    protected string $name = 'get_weather';

    protected ?string $description = 'Get the current weather for a location. Returns temperature, conditions, and humidity.';

    protected function properties(): array
    {
        return [
            ToolProperty::make(
                name: 'location',
                type: PropertyType::STRING,
                description: 'The city and country, e.g., "Paris, France"',
                required: true
            ),
            ToolProperty::make(
                name: 'units',
                type: PropertyType::STRING,
                description: 'Temperature units: "celsius" or "fahrenheit"',
                required: false,
                enum: ['celsius', 'fahrenheit']
            ),
        ];
    }

    public function __invoke(string $location, string $units = 'celsius'): ToolOutput
    {
        // Your API call or logic here
        $weatherData = $this->fetchWeather($location, $units);

        return ToolOutput::text(json_encode($weatherData));
    }

    private function fetchWeather(string $location, string $units): array
    {
        // Implementation...
        return [
            'location' => $location,
            'temperature' => 22,
            'units' => $units,
            'conditions' => 'sunny',
        ];
    }
}

Read the full file on GitHub · 943 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 Changed · +42 lines a1e44d88602a
  2. 2mo ago First seen · 901 lines · 106 tokens per session scan A 3227a96009a3

Subscribe to this mod's changes

neuron-tool is a skill published in the GitHub repository neuron-core/neuron-laravel (124 stars, last pushed 12d ago), licensed MIT. It adds 106 tokens to every session and 6,790 once invoked, about $0.0004 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-10-01.

Related

neuron-tool compared with skills from other repositories

neuron-tool next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neuron-toolneuron-core/neuron-laravelSkill12412d agoMITA106Claude Code, Codex
neuron-agentneuron-core/neuron-aiSkill2.2k2d agoMITA48Claude Code, Codex
neuron-evaluationneuron-core/neuron-aiSkill2.2k2d agoMITA102Claude Code, Codex
neuron-structured-outputneuron-core/neuron-aiSkill2.2k2d agoMITA104Claude Code, Codex
neuron-ragneuron-core/neuron-aiSkill2.2k2d agoMITA127Claude Code, Codex
yait-aichainyaitio/aichainSkill71mo agoMITA193Claude Code, Codex
huf_knowledge_skilltridz-dev/hufSkill129todayAGPL-3.0B82Claude Code, Codex