save-context

save-context is a skill for Claude Code, Codex from vibhasdutta/context-mcp. It costs 50 tokens per session (230 once invoked), scanned A, original, no licence file.

A skill for saving decisions, fixes, features, and discoveries to persistent memory so they can be recalled later.

In plain words
What is it for?
Use it when someone asks the agent to remember something, or after completing work that contains a non-obvious decision or finding.
Why use it?
It prevents important context from being lost between tasks or conversations.

Skill for Claude CodeCodex

Part of the context-mcp plugin — 4 skills, 3 commands, 2 hooks, 1 MCP server shipped together

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/vibhasdutta/context-mcp/save-context
Any agent
npx skills add vibhasdutta/context-mcp --skill save-context
Clone the repo
git clone --depth 1 https://github.com/vibhasdutta/context-mcp

Made for: Claude Code, Codex.

Or install context-mcp, the plugin that ships this one along with the rest of its 4 skills, 3 commands, 2 hooks, 1 MCP server.

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 save-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/vibhasdutta/context-mcp/save-context.svg)](https://agentmods.dev/skills/vibhasdutta/context-mcp/save-context)
Your own site
<a href="https://agentmods.dev/skills/vibhasdutta/context-mcp/save-context"><img src="https://agentmods.dev/badge/skills/vibhasdutta/context-mcp/save-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 230 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00050 $0.00230
Opus 5 $0.00025 $0.00115
Sonnet 5 $0.00010 $0.00046
Haiku 4.5 $0.00005 $0.00023

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

Security

Grade A, and why

save-context 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.

src/templates/antigravity/skills/save-context/SKILL.md · 26 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 26 lines · 50 tokens per session scan A 846a7d8429b8

Subscribe to this mod's changes

save-context is a skill published in the GitHub repository vibhasdutta/context-mcp (0 stars, last pushed 1mo ago), with no licence file. It adds 50 tokens to every session and 230 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

guardian-memory

Maintain project context in Project Guardian's memory.db knowledge graph. Use during coding, debugging, planning, and project-management sessions to restore relevant context and record significant decisions, changes, tasks, and milestones.

1999AZZAR/project-guardian-mcp-server · 43 tokens

guardian-tracker

Auto-tracking skill for Project-Guardian. Automatically records file changes, code edits, decisions, and bug fixes to memory.db. Trigger after every significant operation (file edit, git commit, bug fix, refactor). Uses git diff and file analysis to generate observations.

1999AZZAR/project-guardian-mcp-server · 58 tokens

guardian-session

Restore relevant Project Guardian context from memory.db at session start. Use when resuming project work, switching repositories, or answering what was previously in progress; surface active tasks, open bugs, recent observations, and blockers.

1999AZZAR/project-guardian-mcp-server · 46 tokens

state-memory-mcp

Teaches the agent to use the state-memory-mcp MCP server to track workflow state, tasks, decisions, blockers, artifacts, plans, milestones, and their semantic relationships in a persistent graph database.

putervision/vision-memory-mcp · 45 tokens

vision-memory-mcp

Teaches the agent to use the Visual Memory MCP server to cache webpage and application screenshots, matching layout states and avoiding redundant LLM vision calls.

putervision/vision-memory-mcp · 34 tokens

rpg-worldstate-gm

Use the RPG Worldstate MCP as durable memory when starting, continuing, or gamemastering an RPG campaign. Applies only when the user is working with a persistent RPG world, not to unrelated chats or ordinary fiction writing without this MCP.

Eurobertics/mcp_rpg_worldstate · 55 tokens