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.
npx agentmods add skills/sistema2d/framecode-vibework/memory-rotationnpx skills add Sistema2D/FrameCode-VibeWork --skill memory-rotationgit clone --depth 1 https://github.com/Sistema2D/FrameCode-VibeWorkWrote 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.
[](https://agentmods.dev/skills/sistema2d/framecode-vibework/memory-rotation)<a href="https://agentmods.dev/skills/sistema2d/framecode-vibework/memory-rotation"><img src="https://agentmods.dev/badge/skills/sistema2d/framecode-vibework/memory-rotation.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00014 | $0.00386 |
| Opus 5 | $0.00007 | $0.00193 |
| Sonnet 5 | $0.00003 | $0.00077 |
| Haiku 4.5 | $0.00001 | $0.00039 |
Grade A, and why
memory-rotation 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 4d 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.
What it actually says
Memory rotation
Purpose
Keep active session context bounded while preserving historical evidence and promoting sourced reusable knowledge.
Use when
- active sessions exceed 10 files, 100 KB, or the project's context budget;
- duplicated or stale session summaries impair retrieval;
- the user requests archive, rotation, or memory consolidation.
Do not use for
- deleting evidence to make validation appear clean;
- rewriting published history;
- replacing canonical project documents with session narrative.
Inputs
MEMORY.md;wiki/schema.md;- active and archived session indexes;
- retention/legal requirements.
Procedure
- Inventory active sessions and choose a bounded archive range.
- Identify decisions, patterns, failures, and unresolved conflicts.
- Promote only sourced, reusable knowledge; update an existing canonical page before creating a duplicate.
- Create
wiki/archive/YYYY/README.mdwith range, sources, destination paths, and unresolved items. - Move selected sessions to
wiki/archive/YYYY/. - Keep the latest 3–10 relevant sessions active.
- Update index, log, metrics, and backlinks.
- Run wiki lint in incremental mode.
Required output
Record files moved, knowledge promoted, duplicates merged, unresolved conflicts, retention decision, and validation.
Validation and exit
- no source session is lost;
- archive links resolve;
- active session IDs remain unique;
- promoted claims cite sources;
- active memory is within the configured budget.
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.
- 4d ago First seen · 63 lines · 14 tokens per session scan A e557e9a935f5
memory-rotation is a skill published in the GitHub repository Sistema2D/FrameCode-VibeWork (23 stars, last pushed 3d ago), licensed Apache-2.0. It adds 14 tokens to every session and 386 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.
Other skills, from other repositories
evaluate-pattern-adoption
Run or plan this repository's pattern-adoption evidence evaluation locally with signed-in Codex agents. Use when asked to refresh stale evidence, assess stable or exploratory patterns, evaluate one or all catalog patterns, discover possible new patterns, or prepare a reviewable evidence PR without model-backed GitHub…
llm-wiki
Build and maintain a persistent, interlinked Obsidian-compatible markdown wiki using Karpathy's LLM Wiki pattern. Extension-backed with auto-generated metadata, guardrails, and 14 custom tools (+3 opt-in agent-trajectory tools).
neurolink-guide
Guide for using the NeuroLink SDK and CLI. Invoke when users ask how to use neurolink, integrate AI providers, add MCP tools, configure RAG, set up memory, deploy servers, or work with multimodal content. Covers SDK, CLI, providers, tools, and enterprise features.
vc-context-discovery
Discover and load all relevant context for the current task. Lists feature group nested files with full paths, loads process/context/ files by domain routing. Called at the start of every agent session.
braindb
Memory recall and save. Use at every conversation start and whenever the user shares personal information, expertise, project context, preferences, or decisions worth remembering long-term.
sage-memory
Persistent, consensus-validated memory for AI agents via SAGE MCP server. Gives you institutional memory that survives across conversations — memories go through BFT consensus, carry confidence scores, and decay over time. Use this skill when working with a SAGE MCP server to manage persistent agent memory, recall…