compress

compress is a skill for Claude Code, Codex from sliamh11/Deus. It costs 33 tokens per session (476 once invoked), scanned A, original, MIT.

A session-saving skill that writes a compact summary of the current conversation and its important decisions to a shared memory vault.

In plain words
What is it for?
Use it to record outcomes, changed files, pending tasks, lessons, and workarounds at the end of a session.
Why use it?
It preserves useful context so future sessions can continue work without starting from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to record outcomes, changed files, pending tasks, lessons, and workarounds at the end of a session.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sliamh11/deus/compress
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 sliamh11/Deus --skill compress
Clone the repo
git clone --depth 1 https://github.com/sliamh11/Deus

Made for: Claude Code, Codex.

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 compress

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sliamh11/deus/compress"><img src="https://agentmods.dev/badge/skills/sliamh11/deus/compress.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 476 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.00033 $0.00476
Opus 5 $0.00016 $0.00238
Sonnet 5 $0.00007 $0.00095
Haiku 4.5 $0.00003 $0.00048

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

Security

Grade A, and why

compress 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.

container/skills/compress/SKILL.md · 66 lines

What it actually says

/compress — Save Session

Save a summary of this conversation to the vault.

The vault is mounted at /workspace/vault/. If it doesn't exist, check /workspace/extra/obsidian/Deus/ as a legacy fallback.

Steps

  1. Resolve vault path:

    VAULT_DIR="${DEUS_VAULT_DIR:-/workspace/vault}"
    [ ! -d "$VAULT_DIR" ] && VAULT_DIR="/workspace/extra/obsidian/Deus"
    
  2. Reflect on the conversation — identify what's worth saving:

    • Decisions made, key learnings, files modified, pending tasks, errors/workarounds
  3. Determine a short topic slug from the main theme (e.g. google-calendar-setup, ui-debugging).

  4. Write the session log:

    $VAULT_DIR/Session-Logs/YYYY-MM-DD-{topic}.md
    

    Use this format — the tldr frontmatter field is mandatory; full sections are optional:

    ---
    type: session
    date: YYYY-MM-DD
    topics: [topic1, topic2]
    tldr: |
      What happened (1 sentence). Key decision or outcome. Pending: X, Y.
    ---
    
    <!-- Full details — only loaded on demand -->
    
    ## Decisions Made
    - ...
    
    ## Key Learnings
    - ...
    
    ## Files Modified
    - ...
    
    ## Pending Tasks
    - [ ] ...
    
    ## Errors & Workarounds
    - ...
    

    Keep tldr to 2–3 lines max — this is what gets loaded every session. Skip any full section that has no content.

  5. Update pending tasks in the vault if there are carry-forward items:

    • Update the pending: block in $VAULT_DIR/CLAUDE.md
    • Write it back
  6. Confirm: "Session saved to {filename}. {N} pending tasks carried forward."

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. 6d ago First seen · 66 lines · 33 tokens per session scan A e1ca43b33ac5

Subscribe to this mod's changes

compress is a skill published in the GitHub repository sliamh11/Deus (51 stars, last pushed 4d ago), licensed MIT. It adds 33 tokens to every session and 476 once invoked, about $0.0002 per session on Opus 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-09-03.

Related

Other skills, from other repositories

memcord

Privacy-first, self-hosted chat memory for OpenClaw — save and recall conversation history across sessions without any cloud dependency.

ukkit/memcord · 28 tokens

mem9

Persistent cloud memory for OpenClaw agents. Use when users say: "install mem9" "setup memory" "add memory plugin" "openclaw memory" "mem9 onboarding" "memory not working" "import memories" "upload sessions".

unvulcanised-watercress762/mem9 · 63 tokens

mem9

Persistent cloud memory for OpenClaw agents. Use when users say: "install mem9" "setup memory" "add memory plugin" "openclaw memory" "mem9 onboarding" "memory not working" "import memories" "upload sessions".

unvulcanised-watercress762/mem9 · 63 tokens

cortex

Personal knowledge compiler and memory system. Ingests raw sources (documents, notes, transcripts, captures) into a structured, interlinked knowledge base. Maintains living entity pages, learning analysis, and the MEMORY.md routing table. Replaces the librarian skill.

TechNickAI/openclaw-config · 55 tokens

librarian

DEPRECATED — Use the cortex skill instead. Cortex v2 absorbs all librarian functionality (memory maintenance, knowledge organization, learning analysis) into a unified knowledge compiler. This skill is kept for backwards compatibility but all triggers now route to Cortex.

TechNickAI/openclaw-config · 54 tokens

neuron-curated-memory

Use Neuron (the semantic-memory MCP server) the RIGHT way so its graph stays clean and useful. Before answering, load prior context; after answering, save a CURATED turn — 3-5 concept keywords (nouns/entities/tech, never verbs or filler), typed links with a short rationale, and never a self-link. This raises graph…

recla93/Neuron · 133 tokens