egregore: Skill for Claude Code

.claude/skills/wrap/SKILL.md

wrap is a skill for Claude Code from egregore-labs/egregore. It costs 58 tokens per session (866 once invoked), scanned A, original, MIT.

A command for closing a work session with a personal summary that is saved automatically.

In plain words
What is it for?
Wrapping up a session, recording what happened, and saving the result to the project's memory files.
Why use it?
It preserves the session's topic, summary, and connections so the work is easier to recall later, with different handling for local and connected modes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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/agent.sh wrap \.

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/wrap/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 wrap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/egregore-labs/egregore/wrap"><img src="https://agentmods.dev/badge/skills/egregore-labs/egregore/wrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 866 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 pass 7 Sept 2026
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.00058 $0.00866
Opus 5.5 $0.00023 $0.00346
Sonnet 5.5 $0.00012 $0.00173
Haiku 4.5 $0.00006 $0.00087

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

Security

Grade A, and why

wrap 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/wrap/SKILL.md · 104 lines

How it starts

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

Personal session wrap

Record what this actor finished, what was verified, and what remains. A wrap is personal session closure, not a handoff, notification, publication, or claim that an organizational obligation is complete.

Canonical Markdown and Git provenance are authoritative. The Egregore Runtime owns authorization, stable ActorContext resolution, persistence, provenance, retrieval refresh, background embedding, and content-free telemetry through one writeback transaction.

When to invoke

Close the current Egregore session with a personal, canonical summary. Use for /wrap or when the user says they are done, wrapping up, or at a stopping point. Route work assigned to another person to /handoff and save-without-closing to /save.

Prepare

  1. Reuse the current conversation and relevant EGREGORE_ORG_CONTEXT_V1 evidence. Do not search organizational memory again merely to summarize the session.
  2. Derive a short topic, a two-to-four sentence summary, verified outcomes, and concise open threads. Separate completed work from unverified work.
  3. If the proposed summary is materially ambiguous, show it once and ask for correction. Skip confirmation when the user already supplied exact wrap wording.
  4. If project changes need delivery, invoke /save once before the wrap. That is a separate project-delivery action; do not reproduce Git commands in this skill and do not run a second save after canonical wrap succeeds.

Use this body shape, omitting empty sections:

## Summary

<what changed and the current state>

## Completed

- <completed outcome>

## Verification

- <test or check and its result>

## Open Threads

- [ ] <unfinished item or next step>

Write once

Write this body to the file tmp/wrap-body.md, then pass it to the Runtime-neutral wrap adapter in one command:

<body markdown>

Use {topic} for the short topic and {summary} for the two-to-four sentence summary derived from the session during preparation:

Read the full file on GitHub · 104 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 · -332 lines · +17 tokens per session 6871c03082d7
  2. 1mo ago First seen · 436 lines · 41 tokens per session scan A 45f61fa3da03

Subscribe to this mod's changes

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