persist

persist is a skill for Claude Code from synaptiai/agent-capability-standard. It costs 38 tokens per session (2,838 once invoked), scanned A, original, Apache-2.0.

A capability for saving lasting project knowledge—such as decisions, facts, patterns, or context—to files like CLAUDE.md. It preserves existing content and records metadata about the saved information.

In plain words
What is it for?
Use it to record project decisions, coding patterns, stable facts, or other information that should be available later.
Why use it?
It prevents important project knowledge from being lost between sessions. Future work can use the stored decisions and patterns for more consistent results.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; mentions CLAUDE.md.

Part of the agent-capability-standard plugin — 42 skills, 2 hooks shipped together

Good fit Use it to record project decisions, coding patterns, stable facts, or other information that should be available later.

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

Made for: Claude Code.

Or install agent-capability-standard, the plugin that ships this one along with the rest of its 42 skills, 2 hooks.

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/synaptiai/agent-capability-standard/persist/github.svg)](https://agentmods.dev/skills/synaptiai/agent-capability-standard/persist)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/agent-capability-standard/persist"><img src="https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/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/synaptiai/agent-capability-standard/persist"><img src="https://agentmods.dev/badge/skills/synaptiai/agent-capability-standard/persist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,838 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.00038 $0.02838
Opus 5.5 $0.00015 $0.01135
Sonnet 5.5 $0.00008 $0.00568
Haiku 4.5 $0.00004 $0.00284

Measured 1mo ago against content hash 45bc6f66de92, 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 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.

skills/persist/SKILL.md · 380 lines

How it starts

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

Intent

Execute persist to write stable learnings, decisions, and patterns to durable storage for future recall and consistency.

Success criteria:

  • Content is written to the correct destination
  • Existing content is preserved or properly merged
  • New content follows established structure/format
  • Metadata (timestamp, source) is recorded
  • Write is verified successfully

Compatible schemas:

  • schemas/output_schema.yaml

Inputs

Parameter Required Type Description
content Yes string|object What to persist: decision, pattern, fact, or structured knowledge
destination No string Where to write: CLAUDE.md, file path, or auto (determine best location). Default: CLAUDE.md
section No string Section within destination to write to (e.g., "Decisions", "Patterns", "Facts")
content_type No enum Type of content: decision, pattern, fact, context. Default: auto-detect
merge_strategy No enum How to handle existing content: append, replace, merge. Default: append

Procedure

  1. Validate content: Ensure content is appropriate for persistence

    • Check content is non-empty and meaningful
    • Verify content type classification
    • Ensure no sensitive data (credentials, PII) is being persisted
    • Validate content structure if object
  2. Determine destination: Select where to write

    • CLAUDE.md: Project-level decisions and patterns
    • Specific file: Domain or feature-specific knowledge
    • auto: Choose based on content type and scope
  3. Read existing content: Load current state of destination

    • Parse structure and sections
    • Identify target section for new content
    • Note existing entries to avoid duplicates
  4. Check for duplicates/conflicts: Compare new vs existing

    • Exact duplicate: Skip or update timestamp only
    • Similar content: Flag for review
    • Contradiction: Stop and request clarification

Read the full file on GitHub · 380 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. 1mo ago First seen · 380 lines · 38 tokens per session scan A 45bc6f66de92

Subscribe to this mod's changes

persist is a skill published in the GitHub repository synaptiai/agent-capability-standard (6 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 2,838 once invoked, about $0.0002 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.