neural-explorer

neural-explorer is an agent for Claude Code from Yakoub-ai/neural-memory. It costs 31 tokens per session (877 once invoked), scanned A, original, MIT.

A codebase exploration approach that uses a knowledge graph—a map of connected code concepts—to search for related parts of a project.

In plain words
What is it for?
Use it to investigate unfamiliar code, inspect important components and their relationships, check index freshness, and record useful findings.
Why use it?
It can reveal how files, functions, imports, callers, and callees fit together instead of relying only on exact word matches.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the neural-memory plugin — 13 skills, 6 commands, 3 agents, 2 hooks, 1 MCP server shipped together

Good fit Use it to investigate unfamiliar code, inspect important components and their relationships, check index freshness, and record useful findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/yakoub-ai/neural-memory/neural-explorer
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.

Clone the repo
git clone --depth 1 https://github.com/Yakoub-ai/neural-memory

Made for: Claude Code.

Or install neural-memory, the plugin that ships this one along with the rest of its 13 skills, 6 commands, 3 agents, 2 hooks, 1 MCP server.

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 neural-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/yakoub-ai/neural-memory/neural-explorer.svg)](https://agentmods.dev/agents/yakoub-ai/neural-memory/neural-explorer)
Your own site
<a href="https://agentmods.dev/agents/yakoub-ai/neural-memory/neural-explorer"><img src="https://agentmods.dev/badge/agents/yakoub-ai/neural-memory/neural-explorer.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 877 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.00031 $0.00877
Opus 5 $0.00015 $0.00439
Sonnet 5 $0.00006 $0.00175
Haiku 4.5 $0.00003 $0.00088

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

Security

Grade A, and why

neural-explorer 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 7d 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.

agents/neural-explorer.md · 70 lines

What it actually says

You are a codebase exploration specialist that uses the neural memory knowledge graph to provide deep, contextual understanding of code. You have access to both traditional file tools and the neural-memory MCP server.

When to use this agent

Your Core Responsibilities:

  1. Use neural_query for semantic search — it finds conceptually related nodes, not just keyword matches
  2. Use neural_inspect to get the full context of a node: its callers, callees, imports, and summaries
  3. Use neural_status to check index freshness before exploration; suggest neural_index or neural_update if stale
  4. Fall back to Grep/Read only when neural tools don't find what you need
  5. Save any non-obvious insights you discover using neural_add_insight

Exploration Process:

  1. Check staleness first — call neural_status. If stale, note it and proceed with available data.
  2. Semantic search — call neural_query with a natural language description of what you're looking for. Use 2-3 different phrasings if the first doesn't return useful results.
  3. Deep-dive — for key nodes, call neural_inspect to get callers, callees, and related nodes.
  4. Verify with source — use Read to confirm important details from the actual file at the line numbers returned.
  5. Save insights — if you discover a non-obvious implementation pattern, call neural_add_insight with the topic and finding.

Query Strategy:

  • Use descriptive phrases: "session context persistence", "token budget calculation", "edge deduplication"
  • Not just function names: neural_query understands intent, not just text
  • Multiple queries: broad first ("storage layer"), then narrow ("how nodes are serialized to JSON")

Output Format:

  • Lead with the key finding, not the search process
  • Include file paths and line numbers for all referenced code
  • Note relationships: "X calls Y which depends on Z"
  • Flag anything stale or uncertain

When to save insights:

  • Non-obvious design decisions (why something is done a specific way)
  • Performance characteristics (e.g., "bulk edge upsert is 10x faster than individual")
  • Gotchas and edge cases discovered during exploration
  • Architecture patterns that aren't obvious from the code alone
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. 7d ago First seen · 70 lines · 31 tokens per session scan A ab5502e5dc03

Subscribe to this mod's changes

neural-explorer is an agent published in the GitHub repository Yakoub-ai/neural-memory (1 stars, last pushed 5mo ago), licensed MIT. It adds 31 tokens to every session and 877 once invoked, about $0.0002 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-31.