egregore: Skill for Claude Code

.claude/skills/wrap/SKILL.md

wrap is a skill for Claude Code from egregore-labs/egregore. It costs 41 tokens per session (4,095 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: $ARGUMENTS substitution. Also seen: names the AskUserQuestion tool; positional $N argument.

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/capture-run.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/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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,095 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00041 $0.04095
Opus 5 $0.00020 $0.02048
Sonnet 5 $0.00008 $0.00819
Haiku 4.5 $0.00004 $0.00409

Measured 8d ago against content hash 45f61fa3da03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

wrap scanned grade A with 1 finding 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 8d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**Neo4j-first (connected mode only).** In connected mode, all queries via `bash bin/graph.sh query "..."`. No MCP. No direct curl to Neo4j.
.claude/skills/wrap/SKILL.md · 436 lines

How it starts

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

Close your session with a personal summary. Saves everything.

Enriches the auto-captured Session node with topic, summary, and connections.

When to invoke

User says: "done", "wrapping up", "that's it", "let me wrap", "I'm done for now", "good stopping point", "call it a day", "wrap up", "wrap it" Not this: "hand off to X" → /handoff · "push" or "keep working" → /save

Topic: $ARGUMENTS

Auto-saves. No need to run /save after.

Mode detection

MODE=$(jq -r '.mode // "connected"' egregore.json 2>/dev/null)

Local mode (mode === "local"): Skip ALL bin/graph.sh, bin/graph-op.sh, and bin/graph-wal.sh calls — do NOT run them. Do NOT show any graph-related messaging ("Graph offline", "will sync", Neo4j, Session node, enriched, etc.). Still call bin/capture-run.sh --mode personal; it writes and pushes the file-backed capture while automatically skipping graph reconciliation. Show a clear one-line confirmation (✓ Wrapped · memory/wraps/...). Skip all graph context queries, Artifact linking, and Session enrichment. The memory-side /save at the end still runs (git operations work the same in both modes).

Execution rules

Neo4j-first (connected mode only). In connected mode, all queries via bash bin/graph.sh query "...". No MCP. No direct curl to Neo4j. Queue-first for writes (connected mode only). Foreground graph mutations append to bin/graph-wal.sh; lifecycle reconciliation and network latency stay in the detached worker. CRITICAL: Suppress raw output. Never show raw JSON to the user. All bin/graph.sh and bin/graph-wal.sh calls MUST redirect stdout: pipe to /dev/null or capture in a variable. Only show formatted progress lines.

  • 1 Bash call: git config user.name
  • Session ID from ~/.egregore/session-{hash}.id
  • Git log + diff stat for context
  • 3-5 Neo4j queries for context gathering
  • 1-2 AskUserQuestion calls for validation + link suggestions
  • Graph writes via WAL + direct
  • Wrap file to memory/wraps/YYYY-MM/
  • Auto-save via /save flow
  • Telemetry emit
  • TUI confirmation

Read the full file on GitHub · 436 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. 8d 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 (282 stars, last pushed 4d ago), licensed MIT. It adds 41 tokens to every session and 4,095 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

sw-handoff

Write a portable, secret-scrubbed handoff doc plus a diff of your uncommitted edits so another tool or machine resumes where you stopped. Use for "handoff", "out of tokens", "switch to Codex".

anton-abyzov/specweave · 48 tokens

tokf-discover

Find missed token savings by scanning AI coding session files for commands that ran without tokf filtering.

mpecan/tokf · 24 tokens

handoff

Write a portable, secret-scrubbed handoff doc so this work can continue in any AI tool or on any machine. Use when saying "handoff", "running out of tokens", or "continue elsewhere".

anton-abyzov/specweave · 44 tokens

claude-code-expert

Especialista profundo em Claude Code - CLI da Anthropic. Maximiza produtividade com atalhos, hooks, MCPs, configuracoes avancadas, workflows, CLAUDE.md, memoria, sub-agentes, permissoes e integracao com ecossistemas.

aAAaqwq/AGI-Super-Team · 59 tokens

amq-spec

Use two agents to research a design independently and converge on one specification through AMQ. Trigger for collaborative design or messages labeled workflow:spec; use amq-cli for ordinary coordination.

avivsinai/agent-message-queue · 40 tokens

notion-cli

Work with Notion from the terminal using the notion CLI. Use when the user needs to read, create, update, query, or manage Notion pages, databases, blocks, comments, users, or files programmatically. Covers the entire Notion API with 50+ commands. Triggers: Notion workspace automation, database queries, page creation…

4ier/notion-cli · 109 tokens