save

save is a skill for Claude Code from xgre1/troth. It costs 87 tokens per session (1,448 once invoked), scanned A, original, AGPL-3.0.

A memory-saving workflow that turns recent conversation into persistent notes and rules before the context window is shortened. A context window is the amount of conversation an agent can keep available at once.

In plain words
What is it for?
Saving recent dialogue as reusable memory before running Claude Code's native /compact command.
Why use it?
It preserves useful project knowledge that could otherwise be lost when the conversation is compacted.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the troth plugin — 19 skills, 2 commands, 1 agent, 6 hooks, 4 MCP servers shipped together

Good fit Saving recent dialogue as reusable memory before running Claude Code's native /compact command.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xgre1/troth/save
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 xgre1/troth --skill save
Clone the repo
git clone --depth 1 https://github.com/xgre1/troth

Made for: Claude Code.

Or install troth, the plugin that ships this one along with the rest of its 19 skills, 2 commands, 1 agent, 6 hooks, 4 MCP servers.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xgre1/troth/save"><img src="https://agentmods.dev/badge/skills/xgre1/troth/save.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,448 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 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.1 $0.00087 $0.01448
Opus 5.5 $0.00035 $0.00579
Sonnet 5.5 $0.00017 $0.00290
Haiku 4.5 $0.00009 $0.00145

Measured 1mo ago against content hash 309b7c2459ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

save 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 1mo 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.

plugin/skills/save/SKILL.md · 81 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

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. 1mo ago First seen · 81 lines · 87 tokens per session scan A 309b7c2459ff

Subscribe to this mod's changes

save is a skill published in the GitHub repository xgre1/troth (10 stars, last pushed 1mo ago), licensed AGPL-3.0. It adds 87 tokens to every session and 1,448 once invoked, about $0.0003 per session on Opus 5.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

hive.context-preservation

Proactively extract critical values from tool results into working notes before automatic context pruning destroys them.

aden-hive/hive · 24 tokens

hive.note-taking

Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.

aden-hive/hive · 30 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

ha-knowledge

Working method for the Hope Agent knowledge space — how to capture, organize, link, retrieve, and maintain Markdown notes well with the note tools. Load whenever you are reading or writing notes in an attached knowledge base. Trigger on: user asks to take / save / organize / restructure notes, build or grow a…

shiwenwen/hope-agent · 187 tokens

bastra-recall

Persistent external brain for ChatGPT, Codex, Claude, and other MCP clients — documents (PDFs, contracts, scans with OCR), personal facts (appointments, decisions, items, amounts), AND code lessons / preferences / project topology. USE PROACTIVELY in three modes. (1) RECALL — whenever the user asks about anything from…

n0mad-ai/bastra-recall · 0 tokens

bastra-recall

Proactive private local memory for ChatGPT and Codex — recall before acting, save durable rules, lessons and decisions without being asked. Requires the local bastra-recall MCP server installed by bastra install codex.

n0mad-ai/bastra-recall · 50 tokens