a2wave-memory

A cross-session memory system that saves information in a short startup catalog and searchable topic files.

In plain words
What is it for?
Use it to store, find, and maintain bounded topics across sessions, especially when exact history or previously saved project knowledge is needed.
Why use it?
It helps an agent recall relevant information from earlier sessions without loading all saved memory at once.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/lilithgames/a2wave/a2wave-memory
Any agent
npx skills add LilithGames/a2wave --skill a2wave-memory
Clone the repo
git clone --depth 1 https://github.com/LilithGames/a2wave

Made for: Claude Code, Codex.

Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.00774
Opus 5 $0.00015 $0.00387
Sonnet 5 $0.00006 $0.00155
Haiku 4.5 $0.00003 $0.00077

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

Security

Grade A, and why

a2wave-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 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/memory-search.mjs, scripts/memory-write.mjs), 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.

apps/api/src/builtin-skills/a2wave-memory/SKILL.md · 56 lines

How it starts

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

a2wave Memory

a2wave platform memory overrides native Cursor / Claude Code / Codex memory. Never write memory to AGENTS.md, CLAUDE.md, .cursorrules, or CLI-native memory files. Use the exact commands injected in <recall_strategy>; never assume a skill directory.

Fast Recall

MEMORY.md is a compact startup summary and topic catalog. Detailed knowledge lives in bounded topic files.

  1. Use the injected catalog to form a focused query.
  2. Run <memory-recall-command> "query" once. It selects and returns at most one active topic while enforcing the disclosure budget.
  3. Answer from that topic when sufficient. Do not list topics or read the same topic again.
  4. Only when no topic matches, the topic is incomplete, or exact chronology is required, read references/history-and-maintenance.md.

If the user limits the answer to saved topics and says not to guess or to report absence, a no-match result is conclusive: stop and report that no saved topic matched. Do not list other topics or search history unless the user separately asks for historical evidence.

Never bulk-read topics. Read another topic only for a concrete cross-topic dependency revealed by the first result.

Explicit Memory Mutations

Direct writes require an imperative request to remember, save to memory, add to a memory topic, update memory, or forget. A durable statement alone is not write authorization. Requests to only acknowledge or understand, and negated requests such as "do not save this", never authorize a write. Ordinary durable statements remain eligible for post-Run automatic extraction unless the user opts out of memory persistence for that Run. Explicit interactive mutations are authoritative and bypass post-Run worklog and insight persistence, avoiding duplicate or fallback writes; the Run and audit trail remain available.

Add One Durable Item

Run exactly one server-routed write. Do not list or read topics first. Include topicId only when the injected catalog has an unambiguous match; otherwise let the server select or create the stable topic.

Read the full file on GitHub · 56 lines

Files

What ships with it

3 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. 2d ago First seen · 56 lines · 29 tokens per session scan A e0e8e57fafc7

Subscribe to this mod's changes

a2wave-memory is a skill published in the GitHub repository LilithGames/a2wave (24 stars, last pushed 4d ago), licensed Apache-2.0. It adds 29 tokens to every session and 774 once invoked, about $0.0001 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

local-frontend-check

Smoke-test or verify UI behaviour on the local Jarvis Registry frontend running at http://localhost/gateway. Use for manual regression checks, bug-fix verification, and end-to-end confirmation of specific flows without running the automated test suite.

ascending-llc/jarvis-registry · 52 tokens

with-frontmatter

Help an agent inspect a failed trace run, identify likely failure layers, and produce a short audit note.

kungfu-systems/kungfu · 0 tokens

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

gsap-core

Official GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion). Use when the user asks for a JavaScript animation library, animation in React/Vue/vanilla, GSAP tweens, easing, basic animation, responsive or reduced-motion…

calesthio/OpenMontage · 128 tokens

playwright-recording

Record browser interactions as video using Playwright. Use for capturing demo videos, app walkthroughs, and UI flows for Remotion videos. Triggers include recording a demo, capturing browser video, screen recording a website, or creating walkthrough footage.

calesthio/OpenMontage · 53 tokens

comfyui

Use when working with ComfyUI workflows in OpenMontage, including comfyuiimage/comfyuivideo/comfyuimusic, custom workflowjson/workflowpath inputs, outputnode selection, missing model setup, LoRAs, low-VRAM workflow choices, and community workflow imports.

calesthio/OpenMontage · 61 tokens