Neuron AI is a PHP framework for building AI applications in which agents connect language models, tools, data loaders, vector databases, memory, and user interfaces. PHP developers use it to create and manage applications with agent workflows, multi-agent coordination, streaming, monitoring, and human involvement.
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.
npx agentmods add skills/neuron-core/neuron-ai/neuron-tool-creatornpx skills add neuron-core/neuron-ai --skill neuron-tool-creatorgit clone --depth 1 https://github.com/neuron-core/neuron-aiWrote 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.
[](https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-tool-creator)<a href="https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-tool-creator"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-ai/neuron-tool-creator.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00100 | $0.04882 |
| Opus 5 | $0.00050 | $0.02441 |
| Sonnet 5 | $0.00020 | $0.00976 |
| Haiku 4.5 | $0.00010 | $0.00488 |
Grade A, and why
neuron-tool-creator 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 6d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- neuron-tool-creator — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 868 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Neuron AI Tool Creator
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
- Callable: The actual logic to run
Creating Custom Tools
Method 1: Extend Tool Class with __invoke
The cleanest approach for complex tools:
use NeuronAI\Tools\Tool;
use NeuronAI\Tools\ToolProperty;
use NeuronAI\Tools\PropertyType;
class WeatherTool extends Tool
{
public function __construct()
{
parent::__construct(
name: 'get_weather',
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'): string
{
// Your API call or logic here
$weatherData = $this->fetchWeather($location, $units);
return json_encode($weatherData);
}
private function fetchWeather(string $location, string $units): array
{
// Implementation...
return [
'location' => $location,
'temperature' => 22,
'units' => $units,
'conditions' => 'sunny',
];
}
}
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.
- 6d ago First seen · 868 lines · 100 tokens per session scan A 352f201b9c65
neuron-tool-creator is a skill published in the GitHub repository neuron-core/neuron-ai (2,089 stars, last pushed today), licensed MIT. It adds 100 tokens to every session and 4,882 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.
Other skills, from other repositories
neuron-agent-builder
Create and configure Neuron AI agents with providers, tools, instructions, and memory. Use this skill whenever the user mentions building agents, creating AI assistants, setting up LLM-powered chat bots, configuring chat agents, or wants to create an agent that can talk, use tools, or handle conversations. Also…
neuron-test-engineer
Write tests for Neuron AI agents, RAG systems, workflows, and tools using the built-in testing utilities. Use this skill when the user mentions testing agents, writing unit tests, mocking AI providers, testing tool execution, verifying RAG retrieval, testing workflow behavior, or creating test cases for Neuron AI…
neuron-evaluation-engineer
Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…
neuron-structured-output
Design and implement structured output classes for Neuron AI agents using SchemaProperty attributes and validation rules. Use this skill when the user mentions structured output, JSON schema extraction, data validation, output classes, DTOs for AI responses, extracting structured data from LLM, or configuring property…
neuron-tool-creator
Create custom tools, toolkits, and MCP integrations for Neuron AI agents. Use this skill when the user mentions creating tools, building toolkits, extending Tool class, defining tool properties, implementing tool execution, MCP server integration, Model Context Protocol, connecting external tools, or tool guidelines.…
neuron-workflow-architect
Build custom Neuron AI workflows with nodes, events, middleware, and human-in-the-loop patterns. Use this skill whenever the user mentions workflows, orchestration, event-driven systems, custom agents, complex multi-step processes, human-in-the-loop patterns, or wants to build a custom agentic system from scratch.…