persist

persist is a skill for Claude Code from kimgoetzke/coding-agent-configs. It costs 27 tokens per session (1,103 once invoked), scanned A, original, MIT.

A skill for saving research, analysis, or other important results to disk so they remain available after the agent's conversation memory is cleared.

In plain words
What is it for?
Persisting investigation results, summaries, compliance research, comparisons, and other work that does not yet involve changing the code.
Why use it?
It prevents useful findings from being lost when a task is long or the conversation reaches its context limit.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Persisting investigation results, summaries, compliance research, comparisons, and other work that does not yet involve changing the code.

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

Made for: Claude Code.

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 persist

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kimgoetzke/coding-agent-configs/persist"><img src="https://agentmods.dev/badge/skills/kimgoetzke/coding-agent-configs/persist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,103 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 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.1 $0.00027 $0.01103
Opus 5.5 $0.00011 $0.00441
Sonnet 5.5 $0.00005 $0.00221
Haiku 4.5 $0.00003 $0.00110

Measured 6d ago against content hash 328350a92d16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

persist 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 6d 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.

skills/persist/SKILL.md · 93 lines

How it starts

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

Core idea

  • Context window = RAM (volatile, limited)
  • Anything important gets persisted.

Persistence

A persistence implementation decides where and how output is stored. This skill writes to one of two skill groups, decided in Step 3:

Output Skill group Implementation file
Research documents research ./persistence/{implementation}.md
Documents inside an existing plan plans ../planning/persistence/{implementation}.md

Once Step 3 has picked the group, find the setting, replacing {group} with research or plans:

R="$(git rev-parse --show-toplevel 2>/dev/null)/.ai/config.properties"; { cat "$R" ~/.ai/config.properties | grep '^persistence\.{group}[[:space:]]*=[[:space:]]*[^[:space:]]'; cat "$R" ~/.ai/config.properties | grep '^persistence[[:space:]]*=[[:space:]]*[^[:space:]]'; } 2>/dev/null | head -1 | tr -d ' \t\r'
  • No output: use local-ai-folder-markdown, the default for both skill groups
  • persistence.{group}={value} or persistence={value}: use {value}. If the group's implementation file does not exist for {value}, tell the user the {group} skill group has no {value} implementation and use local-ai-folder-markdown

Read only that group's implementation file, and follow it whenever this skill creates or updates a document.

Workflow

Step 1: Determine task type

Before doing any work, determine whether the user's request is primarily about understanding or documenting existing code in the current repository.

  • If yes → invoke the research-codebase skill instead. Do not continue with this skill.
    • Examples: "how does the auth flow work?", "document the payment service", "explain the middleware chain", "what classes handle X?"
  • If no → continue with Step 2.
    • Examples: no argument or "analyse this RFC", "summarise the compliance requirements", "investigate options for a new library", "compare approaches for X"

Read the full file on GitHub · 93 lines

Files

What ships with it

2 files 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. 6d ago Changed · -18 tokens per session 328350a92d16
  2. 14d ago Changed 70dd63bc04ab
  3. 1mo ago Changed · +16 lines · -2 tokens per session 220921bea1c1
  4. 3mo ago First seen · 77 lines · 47 tokens per session scan A bc26d1fc0416

Subscribe to this mod's changes

persist is a skill published in the GitHub repository kimgoetzke/coding-agent-configs (3 stars, last pushed 7d ago), licensed MIT. It adds 27 tokens to every session and 1,103 once invoked, about $0.0001 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

persist compared with skills from other repositories

persist next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
persistkimgoetzke/coding-agent-configsSkill37d agoMITA27Claude Code
codebase-memorynarumiruna/pi-extensionsSkill828todayMITA98Claude Code, Codex
accordion-context-foldinga-Fig/AccordionSkill249todayMITA102Claude Code, Codex
accordion-context-recalla-Fig/AccordionSkill249todayMITA89Claude Code, Codex
agy-session-askw-winter/dot314Skill143yesterdayMITA65Claude Code, Codex
session-searchjoelhooks/pi-toolsSkill905d agononeA70Claude Code, Codex
session-capturejoelhooks/pi-toolsSkill905d agononeA40Claude Code, Codex