egregore: Skill for Claude Code

.claude/skills/save/SKILL.md

save is a skill for Claude Code from egregore-labs/egregore. It costs 32 tokens per session (1,249 once invoked), scanned A, original, MIT.

A save workflow for committing your code changes, pushing the working branch, and opening a pull request to the project's configured base branch.

In plain words
What is it for?
Use it when you want to commit and push changes, sync your branch, or create a pull request for the current work.
Why use it?
It removes the repeated Git steps needed to publish work for review. It also distinguishes saving work from handing off or ending a session.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Codex.

This is egregore-labs/egregore's own configuration. It tells Claude Code how to work on egregore itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything egregore configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash bin/base-branch.sh.

Reuse

Borrowing it

Nothing to install: this file belongs to egregore-labs/egregore. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/egregore-labs/egregore/main/.claude/skills/save/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/egregore-labs/egregore

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 save

README.md
[![agentmods](https://agentmods.dev/badge/skills/egregore-labs/egregore/save/github.svg)](https://agentmods.dev/skills/egregore-labs/egregore/save)
Your own site
<a href="https://agentmods.dev/skills/egregore-labs/egregore/save"><img src="https://agentmods.dev/badge/skills/egregore-labs/egregore/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/egregore-labs/egregore/save"><img src="https://agentmods.dev/badge/skills/egregore-labs/egregore/save.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,249 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 426
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Excessive Agency · line 511
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00032 $0.01249
Opus 5.5 $0.00013 $0.00500
Sonnet 5.5 $0.00006 $0.00250
Haiku 4.5 $0.00003 $0.00125

Measured 24d ago against content hash 9d7c711c2e4b, 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 24d 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.

.claude/skills/save/SKILL.md · 126 lines

How it starts

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

Save work without asking the user to manage Git mechanics.

When to invoke

Use for “save”, “commit and push”, “push this work”, or $save. When the user is ending a session and needs a durable continuation record, use handoff or wrap first; their canonical writes are already independently durable.

Contract

  • bin/agent.sh save is the one runtime-neutral Git transaction for Claude, Codex, Pi, and Prime.
  • Resolve the integration branch from egregore.json; never hardcode develop or main.
  • Do not scan or mutate the graph before/after saving. Canonical lifecycle and projection repair are separate Runtime operations.
  • Do not repeat canonical artifact writeback. Save only outstanding repository changes and already-created memory records.
  • The current Git/GitHub transport remains valid but is behind the sync boundary; GitHub identity is not ActorIdentity.

Flow

  1. Inspect branch, working-tree changes, memory changes, ahead count, and an existing PR. A clean tree can still need a push/PR when the branch is ahead.
  2. Resolve the configured integration branch first:
bash bin/base-branch.sh

It prints the branch name; for a managed repo run bash bin/base-branch.sh <repo-name>. A non-zero exit means the configuration could not be resolved: stop before any Git change. Use the printed name wherever {base} appears below.

Stop before mutation if it cannot be resolved.

  1. The shared bin/agent.sh save preflight runs distribution validation, the change report, and the strict Runtime-skill audit before any memory or project mutation. Both engine and registry must exist; installed public instances intentionally omit the development engine.

    It also prints an advisory affected-skill receipt from the branch diff, staged/unstaged edits, and relevant untracked files. Read the named instructions for drift and include material findings in PR verification; ordinary edits require no new approval. A missing base is reported as an unavailable review, never as zero affected skills. Set EGREGORE_SKILL_REVIEW=0 only to explicitly disable this advisory receipt.

Read the full file on GitHub · 126 lines

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. 24d ago Changed · -400 lines · -19 tokens per session 9d7c711c2e4b
  2. 1mo ago Changed 64988d5f63a4
  3. 1mo ago First seen · 526 lines · 51 tokens per session scan A 390c51c3459e

Subscribe to this mod's changes

save is a skill published in the GitHub repository egregore-labs/egregore (293 stars, last pushed 9d ago), licensed MIT. It adds 32 tokens to every session and 1,249 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-30.

Related

Other skills, from other repositories