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 skills add kimgoetzke/coding-agent-configs --skill persistgit clone --depth 1 https://github.com/kimgoetzke/coding-agent-configsWrote 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/kimgoetzke/coding-agent-configs/persist)<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.
<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>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.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 |
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.
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}orpersistence={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 uselocal-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-codebaseskill 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"
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.
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.
- 6d ago Changed · -18 tokens per session 328350a92d16
- 14d ago Changed 70dd63bc04ab
- 1mo ago Changed · +16 lines · -2 tokens per session 220921bea1c1
- 3mo ago First seen · 77 lines · 47 tokens per session scan A bc26d1fc0416
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.
persist compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| persistkimgoetzke/coding-agent-configs | Skill | 3 | 7d ago | MIT | A | 27 | Claude Code |
| codebase-memorynarumiruna/pi-extensions | Skill | 828 | today | MIT | A | 98 | Claude Code, Codex |
| accordion-context-foldinga-Fig/Accordion | Skill | 249 | today | MIT | A | 102 | Claude Code, Codex |
| accordion-context-recalla-Fig/Accordion | Skill | 249 | today | MIT | A | 89 | Claude Code, Codex |
| agy-session-askw-winter/dot314 | Skill | 143 | yesterday | MIT | A | 65 | Claude Code, Codex |
| session-searchjoelhooks/pi-tools | Skill | 90 | 5d ago | none | A | 70 | Claude Code, Codex |
| session-capturejoelhooks/pi-tools | Skill | 90 | 5d ago | none | A | 40 | Claude Code, Codex |