
Waggle Memory
Use Waggle automatically as portable, local project memory during meaningful coding...
Install
npx skills add hashgraph-online/awesome-codex-plugins --skill waggle-memory -g -a claude-code -y- Repository
- hashgraph-online/awesome-codex-plugins1.5k
- Category
- Engineering
- Updated
- 3d ago
- License
- Apache-2.0
- Context cost
- Lightabout 969 tokens
- Runs scripts
- No, instructions only
What it does
Use Waggle automatically as portable, local project memory during meaningful coding work; retrieve prior decisions and constraints, then store only durable outcomes.
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:
- Prefer the repository's canonical remote identity without credentials or a trailing
.git, such asgithub.com/acme/api. - If there is no remote, use the canonical absolute Git root path.
- 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_contextonce 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_graphwith the stable project scope. Start withmax_nodes: 10,max_depth: 1, andretrieval_mode: "hybrid". - Use
get_relatedwhen a returned node ID needs graph context, andgraph_diffwhen 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.
