neuron-rag-specialist

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

A guide to building retrieval-augmented generation systems in Neuron AI. RAG lets an AI application find relevant information in a document collection before generating an answer.

In plain words
What is it for?
Implementing document chat, semantic search, and knowledge bases with vector stores, embeddings providers, document loaders, and retrieval strategies in Neuron AI.
Why use it?
It provides a structure for connecting document loading, searchable representations, and retrieval so answers can use a knowledge base instead of only the model's built-in knowledge.

Skill for Claude CodeCodex

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

Good fit Implementing document chat, semantic search, and knowledge bases with vector stores, embeddings providers, document loaders, and retrieval strategies in Neuron AI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neuron-core/neuron-ai/neuron-rag-specialist
About the project

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.

neuron-core/neuron-ai · 2,092 stars · on GitHub · docs.neuron-ai.dev

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-ai --skill neuron-rag-specialist
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-rag-specialist

README.md
[![agentmods](https://agentmods.dev/badge/skills/neuron-core/neuron-ai/neuron-rag-specialist/github.svg)](https://agentmods.dev/skills/neuron-core/neuron-ai/neuron-rag-specialist)
Your own site
<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.

agentmods 80×15 button for neuron-rag-specialist

Your own site · 80×15
<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>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,689 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00095 $0.02689
Opus 5 $0.00048 $0.01345
Sonnet 5 $0.00019 $0.00538
Haiku 4.5 $0.00010 $0.00269

Measured 5d ago against content hash bad385f856eb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/neuron-rag-specialist/SKILL.md · 472 lines

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:

  1. Vector Store - Stores document embeddings for semantic search
  2. Embeddings Provider - Converts text to vector embeddings
  3. 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'
);

Read the full file on GitHub · 472 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. 5d ago Changed bad385f856eb
  2. 10d ago First seen · 472 lines · 95 tokens per session scan A 595c5a573291

Subscribe to this mod's changes

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.

Related

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…

neuron-core/neuron-laravel · 95 tokens

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.

Prism-Shadow/penguin-harness · 39 tokens

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…

ericrisco/rsc-harness · 85 tokens

llm-prompt-injection

Use when testing an authorized LLM application for prompt injection, system-prompt exposure, unsafe tool use, or RAG data-boundary failures.

uphiago/recon-skills · 36 tokens

memory-lancedb

LanceDB-backed vector memory for high-volume embedding and retrieval workloads.

aaronnat23/disp8ch · 0 tokens

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…

Prism-Shadow/penguin-harness · 109 tokens