vanar-neutron-memory

Save and recall agent memory with semantic search. Context that persists across every session.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vanar-neutron-memory" with this command: npx skills add naeemmaliki036/vanar-neutron-memory

Neutron Memory

Every conversation, preference, and decision your agent makes can persist across sessions. Save what matters, and when you need it, semantic search finds the right context by meaning — not keywords. Every session builds on the last.

How It Works

Manual — save and search with simple commands:

  1. ./scripts/neutron-memory.sh save "user prefers dark mode" "Preferences" — save context
  2. ./scripts/neutron-memory.sh search "what theme does the user like" — find it by meaning

Automatic (opt-in) — enable hooks to capture and recall automatically:

  1. Auto-Capture saves conversations after each AI turn
  2. Auto-Recall finds relevant memories before each AI turn and injects them as context

Quick Start

See SETUP.md for the full setup guide. TL;DR:

  1. Get a free API key at https://openclaw.vanarchain.com/ ($20 free credits, no credit card)
  2. export API_KEY=nk_your_key
  3. ./scripts/neutron-memory.sh test

Commands

Save

./scripts/neutron-memory.sh save "Content to remember" "Title"

Search

./scripts/neutron-memory.sh search "what do I know about X" 10 0.5

Arguments: QUERY LIMIT THRESHOLD(0-1)

Diagnose

./scripts/neutron-memory.sh diagnose

Checks all prerequisites: curl, jq, API key, connectivity, and authentication.

Hooks (Auto-Capture & Auto-Recall)

  • hooks/pre-tool-use.shAuto-Recall: Queries memories before AI turn, injects relevant context
  • hooks/post-tool-use.shAuto-Capture: Saves conversation after AI turn

Both are disabled by default (opt-in only). To enable:

export VANAR_AUTO_RECALL=true
export VANAR_AUTO_CAPTURE=true

API Endpoints

  • POST /memory/save — Save text (multipart/form-data)
  • POST /memory/search — Semantic search (JSON body)

Auth: Authorization: Bearer $API_KEY — that's it. No other credentials needed.

Security & Privacy

No data is sent unless you run a command or explicitly enable auto-capture/auto-recall. Both hooks are disabled by default.

This skill only sends data you explicitly save (or opt-in auto-captured conversations) to the Neutron API. Here's exactly what happens:

ActionWhat's sentWhere
SaveThe text you pass to save or auto-captured conversation turnsPOST /memory/save over HTTPS
SearchYour search query textPOST /memory/search over HTTPS
Auto-RecallThe user's latest message (used as search query)POST /memory/search over HTTPS
Auto-CaptureUser: {message}\nAssistant: {response}POST /memory/save over HTTPS

What is NOT sent:

  • No local files are read or uploaded
  • No environment variables (other than the API key for auth)
  • No system information, file paths, or directory contents
  • No data from other tools or skills

All communication is over HTTPS to api-neutron.vanarchain.com. The source code is fully readable in the scripts/ and hooks/ directories — three short bash scripts, no compiled binaries.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Agentmfa

Request human approval via biometric auth before performing sensitive actions. Use this skill whenever an action is irreversible, destructive, or requires hu...

Registry SourceRecently Updated
Automation

Proviras Logger

Run on every heartbeat to summarize completed tasks and log them to your analytics dashboard. Triggers automatically during heartbeat cycles to track agent p...

Registry SourceRecently Updated
Automation

clawpage-skill

Router for Clawpage workflows. Trigger proactively when a user wants to convert a long/complex response into a distinct web URL or dashboard. Also use for al...

Registry SourceRecently Updated
Automation

Control Host Browser

Control the host machine's Chrome browser to open specific URLs in new tabs. Use when: User explicitly asks to "open a link", "show me this page", or "search...

Registry SourceRecently Updated