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 skills add neuron-core/neuron-ai --skill neuron-rag-specialistgit 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-rag-specialist)<a href="https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-rag-specialist"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-ai/neuron-rag-specialist/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-ai/neuron-rag-specialist"><img src="https://agentmods.dev/badge/skills/neuron-core/neuron-ai/neuron-rag-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00095 | $0.02689 |
| Opus 5 | $0.00048 | $0.01345 |
| Sonnet 5 | $0.00019 | $0.00538 |
| Haiku 4.5 | $0.00010 | $0.00269 |
Grade A, and why
neuron-rag-specialist 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- neuron-rag-specialist — 100% identical, 16 lines differ
How it starts
The opening of the file, as written. The whole thing — 472 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Neuron AI RAG Specialist
This skill helps you implement Retrieval-Augmented Generation (RAG) in Neuron AI. RAG extends the Agent class with document retrieval capabilities.
Core RAG Architecture
RAG systems in Neuron AI consist of three main components:
- Vector Store - Stores document embeddings for semantic search
- Embeddings Provider - Converts text to vector embeddings
- Retrieval Strategy - Determines how to search and rank documents
use NeuronAI\RAG\RAG;
use NeuronAI\Providers\AIProviderInterface;
use NeuronAI\Providers\Anthropic\Anthropic;
use NeuronAI\RAG\Embeddings\EmbeddingsProviderInterface;
use NeuronAI\RAG\Embeddings\OpenAIEmbeddingProvider;
use NeuronAI\RAG\VectorStore\VectorStoreInterface;
use NeuronAI\RAG\VectorStore\PineconeVectorStore;
class MyChatBot extends RAG
{
protected function provider(): AIProviderInterface
{
return new Anthropic(
key: $_ENV['ANTHROPIC_API_KEY'],
model: 'ANTHROPIC_MODEL',
);
}
protected function embeddings(): EmbeddingsProviderInterface
{
return new OpenAIEmbeddingProvider(
key: $_ENV['OPENAI_API_KEY'],
model: 'OPENAI_MODEL',
);
}
protected function vectorStore(): VectorStoreInterface
{
return new PineconeVectorStore(
key: $_ENV['PINECONE_API_KEY'],
indexUrl: $_ENV['PINECONE_INDEX_URL']
);
}
}
Vector Stores
Pinecone
use NeuronAI\RAG\VectorStore\PineconeVectorStore;
new PineconeVectorStore(
key: $_ENV['PINECONE_API_KEY'],
indexUrl: $_ENV['PINECONE_INDEX_URL'],
environment: 'us-east-1-aws'
);
Chroma
use NeuronAI\RAG\VectorStore\ChromaVectorStore;
new ChromaVectorStore(
host: 'localhost',
port: 8000,
collection: 'my_collection'
);
Qdrant
use NeuronAI\RAG\VectorStore\QdrantVectorStore;
new QdrantVectorStore(
apiKey: $_ENV['QDRANT_API_KEY'],
url: $_ENV['QDRANT_URL'],
collection: 'my_collection'
);
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.
- 5d ago Changed bad385f856eb
- 10d ago First seen · 472 lines · 95 tokens per session scan A 595c5a573291
neuron-rag-specialist is a skill published in the GitHub repository neuron-core/neuron-ai (2,092 stars, last pushed today), licensed MIT. It adds 95 tokens to every session and 2,689 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-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…
unified-llm-api
Call model APIs through @prismshadow/agenthub — streaming text generation, image generation, speech synthesis, embeddings and the supported-model registry with one client.
building-agents
Use when building or restructuring an LLM agent — provider adapter, tool calling, structured output, RAG, agent loop, eval gate, cost routing, tracing, MCP server — model-agnostic across OpenAI/Anthropic/Gemini/OSS so a model swap is a config change. NOT vector-store SQL alone (that is postgresdb) or service…
llm-prompt-injection
Use when testing an authorized LLM application for prompt injection, system-prompt exposure, unsafe tool use, or RAG data-boundary failures.
memory-lancedb
LanceDB-backed vector memory for high-volume embedding and retrieval workloads.
penguin-sdk
Use whenever the user wants to build an agent application — their own program with an embedded agent, such as an AI app, an agentic app or a RAG app. This is writing application code on the Penguin Harness SDK, not configuring an Agent State inside PenguinHarness. Covers self-contained projects, the createSession/run…