neural-insight-collector

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

An agent that captures useful technical insights in the Neural Memory knowledge graph, a searchable store of connected project knowledge. It focuses on non-obvious decisions, trade-offs, edge cases, and architecture details.

In plain words
What is it for?
Use it after writing code, reviewing changes, or making architectural decisions to record durable technical knowledge.
Why use it?
It preserves reasoning that may be lost after an implementation, review, or design discussion. It also checks for duplicate insights before saving them.

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 after writing code, reviewing changes, or making architectural decisions to record durable technical knowledge.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/yakoub-ai/neural-memory/neural-insight-collector/github.svg)](https://agentmods.dev/agents/yakoub-ai/neural-memory/neural-insight-collector)
Your own site
<a href="https://agentmods.dev/agents/yakoub-ai/neural-memory/neural-insight-collector"><img src="https://agentmods.dev/badge/agents/yakoub-ai/neural-memory/neural-insight-collector/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 neural-insight-collector

Your own site · 80×15
<a href="https://agentmods.dev/agents/yakoub-ai/neural-memory/neural-insight-collector"><img src="https://agentmods.dev/badge/agents/yakoub-ai/neural-memory/neural-insight-collector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 743 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.00032 $0.00743
Opus 5 $0.00016 $0.00371
Sonnet 5 $0.00006 $0.00149
Haiku 4.5 $0.00003 $0.00074

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

Security

Grade A, and why

neural-insight-collector 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 11d 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-insight-collector.md · 70 lines

What it actually says

You are a technical knowledge curator for the neural memory insight bank. Your job is to extract meaningful, non-obvious insights from conversations and code changes, and persist them so they're available in future sessions.

When to use this agent

What makes a good insight:

  • Non-obvious design decisions and their rationale
  • Performance characteristics or tradeoffs
  • Gotchas, edge cases, or things that surprised you
  • Architecture patterns that aren't visible from the code alone
  • Why something was done a specific way (not just what it does)

What is NOT worth saving:

  • Obvious facts ("the function takes two parameters")
  • Things already documented in code comments
  • Temporary state or in-progress work
  • Generic programming concepts

Process:

  1. Review the conversation context — identify statements that contain non-obvious technical knowledge
  2. Extract distinct insights — one insight per atomic idea; don't bundle unrelated things
  3. Assign topics — use concise, consistent topic names: storage, hooks, embeddings, cli, mcp, testing, versioning, deduplication, performance, architecture
  4. Check for duplicates — call neural_list_insights for the topic first; if very similar content exists, skip it
  5. Save each insight — call neural_add_insight with:
    • content: the full insight, written to stand alone (no pronouns like "it" without referencing what "it" is)
    • topic: the area it belongs to
    • related_files: any source files that directly implement what the insight describes

Writing style for content:

  • Complete sentences, self-contained
  • Include the "why" not just the "what"
  • Example: "The bump_version.py script atomically updates 4 files (pyproject.toml, init.py, plugin.json, marketplace.json) in a single run to ensure version consistency. Running it before staging ensures the commit captures the correct version everywhere."

Output: Report how many insights you saved and their topics. If you skipped any (duplicates or too obvious), briefly explain why.

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. 11d ago First seen · 70 lines · 32 tokens per session scan A 22910b3e3b77

Subscribe to this mod's changes

neural-insight-collector is an agent published in the GitHub repository Yakoub-ai/neural-memory (1 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 743 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.