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 skills add neuron-core/neuron-laravel --skill neuron-structured-outputgit clone --depth 1 https://github.com/neuron-core/neuron-laravelWrote 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-laravel/neuron-structured-output)<a href="https://agentmods.dev/skills/neuron-core/neuron-laravel/neuron-structured-output"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-laravel/neuron-structured-output/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.
<a href="https://agentmods.dev/skills/neuron-core/neuron-laravel/neuron-structured-output"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-laravel/neuron-structured-output.svg" alt="Reviewed on agentmods" width="80" 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.00104 | $0.04611 |
| Opus 5 | $0.00052 | $0.02305 |
| Sonnet 5 | $0.00021 | $0.00922 |
| Haiku 4.5 | $0.00010 | $0.00461 |
Grade A, and why
neuron-structured-output 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 9d 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.
This is a copy
100% identical to neuron-structured-output — 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.
How it starts
The opening of the file, as written. The whole thing — 853 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Neuron AI Structured Output
This skill helps you create structured output classes for extracting typed data from LLM responses in Neuron AI applications.
Core Concept
Neuron AI uses a two-layer approach for structured output:
- SchemaProperty - Controls the JSON schema sent to the LLM to guide generation
- Validation Rules - Verifies the LLM response meets your requirements
use NeuronAI\StructuredOutput\SchemaProperty;
use NeuronAI\StructuredOutput\Validation\Rules\NotBlank;
class Person
{
#[SchemaProperty(description: 'The user name.', required: true)]
#[NotBlank]
public string $name;
}
SchemaProperty Attribute
The SchemaProperty attribute defines how properties are represented in the JSON schema sent to the LLM.
Constructor Arguments
#[SchemaProperty(
string $title = null, // Property title in JSON schema
string $description = null, // Property description (guides LLM)
bool $required = null, // Override required status
int $min = null, // Minimum value (numbers) or items (arrays)
int $max = null, // Maximum value (numbers) or items (arrays)
int $minLength = null, // Minimum string length
int $maxLength = null, // Maximum string length
array $anyOf = null, // Array of allowed class/enum types
)]
Argument Implications
| Argument | JSON Schema Output | Usage |
|---|---|---|
title |
title: "..." |
Human-readable property title |
description |
description: "..." |
Critical: Guides LLM on what to generate |
required: true |
Adds to required array |
Property must be present |
required: false |
Excludes from required |
Property is optional |
min |
minimum (numbers) or minItems (arrays) |
Lower bound constraint |
max |
maximum (numbers) or maxItems (arrays) |
Upper bound constraint |
minLength |
minLength |
Minimum string characters |
maxLength |
maxLength |
Maximum string characters |
anyOf |
anyOf: [...] |
Polymorphic types (multiple possible classes) |
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.
- 9d ago First seen · 853 lines · 104 tokens per session scan A d2f589ef4810
neuron-structured-output is a skill published in the GitHub repository neuron-core/neuron-laravel (120 stars, last pushed 2mo ago), licensed MIT. It adds 104 tokens to every session and 4,611 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-structured-output, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
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-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-rag-specialist
Implement RAG (Retrieval-Augmented Generation) with Neuron AI including vector stores, embeddings providers, document loaders, and retrieval strategies. Use this skill whenever the user mentions RAG, retrieval, vector search, document retrieval, semantic search, knowledge bases, chat with documents, or wants to build…
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-debugger
Debug and monitor Neuron AI applications with Inspector APM, event observability, logging, and performance analysis. Use this skill whenever the user mentions debugging, monitoring, observability, performance analysis, tracing, Inspector, or needs to understand why an agent is behaving a certain way. Also trigger for…