waggle-memory

waggle-memory is a skill for Claude Code, Codex from Abhigyan-Shekhar/Waggle-mcp. It costs 31 tokens per session (805 once invoked), scanned A, a copy of waggle-memory, Apache-2.0.

A project-memory skill for Waggle that retrieves durable decisions and constraints from earlier coding work and saves important new outcomes. It keeps memory tied to the correct project.

In plain words
What is it for?
Loading relevant project history at the start of substantial work, checking earlier decisions before answering, and recording durable conclusions, constraints, bugs, or experiments.
Why use it?
It reduces repeated explanations and helps preserve project-specific context across coding sessions without treating every past conversation as relevant.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Loading relevant project history at the start of substantial work, checking earlier decisions before answering, and recording durable conclusions, constraints, bugs, or experiments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abhigyan-shekhar/waggle-mcp/waggle-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 Abhigyan-Shekhar/Waggle-mcp --skill waggle-memory
Clone the repo
git clone --depth 1 https://github.com/Abhigyan-Shekhar/Waggle-mcp

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/abhigyan-shekhar/waggle-mcp/waggle-memory"><img src="https://agentmods.dev/badge/skills/abhigyan-shekhar/waggle-mcp/waggle-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 805 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 100% copy Near-identical to another mod 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.00805
Opus 5 $0.00015 $0.00402
Sonnet 5 $0.00006 $0.00161
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

waggle-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 12d 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.

Origin

This is a copy

100% identical to waggle-memory — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/waggle/skills/waggle-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.

Waggle project memory

Treat Waggle as memory owned by the project, not as a transcript archive or generic personal chat memory.

Establish a stable scope

Before the first Waggle call in a task, choose one stable project value:

  1. Prefer the repository's canonical remote identity without credentials or a trailing .git, such as github.com/acme/api.
  2. If there is no remote, use the canonical absolute Git root path.
  3. Outside Git, use the canonical absolute workspace path.

Reuse that value across sessions. Do not use only a directory basename because unrelated repositories can share it. Pass agent_id: "codex" and the current task/session identifier when one is available. Never mix remembered context from a different project into the answer.

Retrieve selectively

  • At the beginning of a new task that involves meaningful project work, call prime_context once with the narrowest known scope.
  • Skip priming for greetings, trivial formatting, or questions fully answerable from the current prompt with no project-history dependency.
  • Before answering anything that may depend on earlier decisions, preferences, constraints, failed attempts, bugs, experiments, unresolved questions, or project state, call query_graph with the stable project scope. Start with max_nodes: 10, max_depth: 1, and retrieval_mode: "hybrid".
  • Use get_related when a returned node ID needs graph context, and graph_diff when the user asks what changed.
  • Treat retrieved memories as historical evidence, not current repository truth. Verify changeable facts against the working tree. If retrieval is empty or conflicts with current evidence, say so and do not invent history.

Store durable knowledge only

Use this threshold for every write:

Store information when forgetting it would likely cause duplicated work, a wrong future decision, or violation of an established constraint. Do not store something merely because it happened.

After a completed turn, call observe_conversation only when the turn crosses that threshold and contains durable project knowledge, such as:

Read the full file on GitHub · 56 lines

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. 12d ago First seen · 56 lines · 31 tokens per session scan A 2e074f96f9a0

Subscribe to this mod's changes

waggle-memory is a skill published in the GitHub repository Abhigyan-Shekhar/Waggle-mcp (40 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 805 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to waggle-memory, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories