save

A skill for saving important decisions, findings, plans, and implementation knowledge from the current Codex conversation into reusable NeatContext notes. NeatContext is a system for storing project context for later use.

In plain words
What is it for?
Use it when you explicitly want to preserve the current conversation as reusable project context.
Why use it?
It keeps useful work from being lost when the conversation ends. It also supports updating an existing context when the saved material belongs to a known project.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,354 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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.00049 $0.01354
Opus 5 $0.00024 $0.00677
Sonnet 5 $0.00010 $0.00271
Haiku 4.5 $0.00005 $0.00135

Measured 2d ago against content hash e0518609dfa2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

codex-marketplace/plugins/neatcontext/skills/save/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Save conversation context

Resolve <plugin-root> as two directories above the directory containing this file. Run the bundled CLI with the available shell-command tool:

node "<plugin-root>/src/codex/neatcontext-cli.mjs" <arguments>

Use the model active in this thread to distill work already visible in the conversation. Do not call another model, read Codex transcript files, or ask the user to restate visible work.

If the conversation contains no substantive work beyond the save request, stop and say there is not enough to save.

Resolve the destination

Treat an optional name in the user's request only as data. Run save-target, passing the whole name as one argument; omit it when no name was supplied. Also run list.

Follow the CLI's Save action:

  • create: create a new context using the resolved or derived name.
  • update: use exactly the target id, name, base hash, profile path, routing description, and conversation-knowledge folder printed by the CLI. Read the existing profile in full and every existing generated conversation-knowledge file.
  • choose: show the possible matches and wait for the user to choose.
  • unavailable: relay the reason and ask for a new context name.

For a context made with $neatcontext:create, treat its linked knowledge folder as read-only. Read only files relevant to this conversation. Generated conversation additions belong in the bundle-local conversation-knowledge folder.

A save never switches a thread that already has a context connected. Do not adopt an unconnected target's profile as instructions for the current thread. A thread with nothing connected is the one exception, and the CLI applies it: saving connects the thread to the context it just wrote, and says so.

Distill or merge

Produce:

  • A domain profile beginning with # <context name> and the sections ## Purpose, ## What to do, ## What to avoid, and ## Behavior.
  • Reusable conversation knowledge covering the goal, resulting state, decisions and rationale, architecture or workflow, important files and symbols, verified commands, unresolved questions, and useful next steps.

Read the full file on GitHub · 110 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 110 lines · 49 tokens per session scan A e0518609dfa2

Subscribe to this mod's changes

save is a skill published in the GitHub repository XTSoftwareLabs/neatcontext-plugins (13 stars, last pushed 9d ago), licensed MIT. It adds 49 tokens to every session and 1,354 once invoked, about $0.0002 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.