vecfs-memory

vecfs-memory is a skill for Claude Code from WazzaMo/vecfs. It costs 54 tokens per session (1,239 once invoked), scanned A, original, Apache-2.0.

A skill that gives an agent long-term memory stored in a local file of sparse vectors, which are compact numerical representations of text. It can recall earlier context, decisions, errors, and feedback.

In plain words
What is it for?
Use it for projects that span sessions, tasks involving recall or learning, repeated errors, and conversations where past context or feedback matters.
Why use it?
It helps an agent keep useful information across conversations and avoid repeating mistakes or forgetting decisions made in earlier sessions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for projects that span sessions, tasks involving recall or learning, repeated errors, and conversations where past context or feedback matters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wazzamo/vecfs/vecfs-memory
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 WazzaMo/vecfs --skill vecfs-memory
Clone the repo
git clone --depth 1 https://github.com/WazzaMo/vecfs

Made for: Claude Code.

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 vecfs-memory

README.md
[![agentmods](https://agentmods.dev/badge/skills/wazzamo/vecfs/vecfs-memory/github.svg)](https://agentmods.dev/skills/wazzamo/vecfs/vecfs-memory)
Your own site
<a href="https://agentmods.dev/skills/wazzamo/vecfs/vecfs-memory"><img src="https://agentmods.dev/badge/skills/wazzamo/vecfs/vecfs-memory/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 vecfs-memory

Your own site · 80×15
<a href="https://agentmods.dev/skills/wazzamo/vecfs/vecfs-memory"><img src="https://agentmods.dev/badge/skills/wazzamo/vecfs/vecfs-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,239 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.00054 $0.01239
Opus 5.5 $0.00022 $0.00496
Sonnet 5.5 $0.00011 $0.00248
Haiku 4.5 $0.00005 $0.00124

Measured 1mo ago against content hash 2c44fd15cc17, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

vecfs-memory 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate-store.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

vecfs-memory/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to Activate

Activate this skill when any of the following apply:

  • The user's task is non-trivial and could benefit from prior context.
  • The user explicitly mentions remembering, recalling, or learning.
  • The agent encounters a repeated error or pattern it has seen before.
  • The conversation involves a project that spans multiple sessions.
  • The conversation or a markdown file indicates that a decision has been made.

Generating Embeddings

The VecFS MCP server accepts pre-computed sparse vectors. Use the bundled embedding script to convert text into a sparse vector before calling the server tools.

echo "your search text" | python -m vecfs_embed --mode query

Embed a Document (for memorisation)

python -m vecfs_embed --mode document "key lesson or fact to remember"

The script outputs JSON with a vector field that can be passed directly to the search or memorize tools.

See references/vector-encoding.md for details on how embeddings are converted to sparse vectors.

Context Sweep (Proactive Recall)

At the start of any non-trivial task, perform a Context Sweep:

  1. Extract keywords and concepts from the current user prompt.
  2. Generate a sparse vector by running the embedding script in query mode.
  3. Call the search tool with that vector.
  4. If results are returned with high similarity, incorporate them into your reasoning (including any stored decisions). Mention to the user that you found relevant history.
  5. If results have low similarity or no results are returned, proceed without historical context. Do not force irrelevant recall.

Memorisation (Reflective Learning)

After completing a task or achieving a milestone:

  1. Identify key lessons, corrections, decisions, or facts worth retaining.
  2. Filter for long-term value: avoid storing transient details like one-time commands or session-specific paths.
  3. Summarise the lesson as a short, clear text (one to three sentences).
  4. Generate a sparse vector by running the embedding script in document mode.
  5. Call the memorize tool with:
    • A descriptive id (e.g., lesson-react-useeffect-cleanup).
    • The text content.
    • The sparse vector.
    • Optional metadata tags (e.g., {"topic": "react", "type": "correction"}).

Read the full file on GitHub · 150 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 150 lines · 54 tokens per session scan A 2c44fd15cc17

Subscribe to this mod's changes

vecfs-memory is a skill published in the GitHub repository WazzaMo/vecfs (9 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 54 tokens to every session and 1,239 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

engram-digest

Seed or top up this project's Engram graph from the existing codebase — an explicit, user-invoked digestion of the current working tree into typed memory nodes (decisions, principles, cautions, problems, insights, intents). Use when the user says "digest this project", "ingest the codebase into memory", "seed the…

techtheist/engram · 98 tokens

engram

Read and write the project's durable reasoning memory (decisions, principles, cautions, problems, insights) through the Engram MCP tools. Recall relevant memory before non-trivial work; capture only durable, high-value knowledge silently at natural stopping points; keep the graph honest (judge suspects, close answered…

techtheist/engram · 78 tokens

relic

A system for turning people, pets, relationships, teams, places, moments, or other subjects into interactive digital profiles called Relics. It can also let users interact with existing profiles and includes separate steps for creating and protecting them.

Ylsssq926/relic.skill · 238 tokens

thoughtline-memory

Persistent, project-aware memory for AI coding agents. Use thoughtline whenever you make a decision, fix a bug, learn something non-obvious, or need to recall prior work.

AgusLoza2021/Thoughtline · 40 tokens

context-window-optimizer

Curates and condenses codebase context, file contents, and prompts to optimize LLM token usage and response quality.

codebygarv/Ai-skills · 29 tokens

bootstrap-llm-synthesis

Construct the LLM synthesis prompt from project surface scan + optional tree-sitter context + optional Q&A answers. Call the LLM. Parse and validate the response into 6-8 structured memory entries with clarity tags and source traceability. Used as Stage 3 of the /gaai:bootstrap pipeline.

digipulse-engineering/GAAI-framework · 69 tokens