memory-compress

memory-compress is a skill for Claude Code, Codex from thcjp/hermes-skills. It costs 0 tokens per session (1,902 once invoked), scanned A, original, no licence file.

A tool for shortening an agent’s memory files while retaining important information. It was designed for large memory files and growing daily logs.

In plain words
What is it for?
It is for compressing MEMORY.md files and accumulated daily logs.
Why use it?
It helps control memory size when long-term notes and daily records become difficult to manage.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit It is for compressing MEMORY.md files and accumulated daily logs.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thcjp/hermes-skills/memory-compress.svg)](https://agentmods.dev/skills/thcjp/hermes-skills/memory-compress)
Your own site
<a href="https://agentmods.dev/skills/thcjp/hermes-skills/memory-compress"><img src="https://agentmods.dev/badge/skills/thcjp/hermes-skills/memory-compress.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,902 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 unknown 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.00000 $0.01902
Opus 5 $0.00000 $0.00951
Sonnet 5 $0.00000 $0.00380
Haiku 4.5 $0.00000 $0.00190

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

Security

Grade A, and why

memory-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 7d 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.

clawhub-skills/downloaded/Agents/memory-compress/SKILL.md · 233 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 7d ago First seen · 233 lines · 0 tokens per session scan A 8d3009329f96

Subscribe to this mod's changes

memory-compress is a skill published in the GitHub repository thcjp/hermes-skills (1 stars, last pushed 16d ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 1,902 tokens. 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.

Related

Other skills, from other repositories

notion

Read, create, and update Notion pages and databases via the Notion REST API.

taracodlabs/aiden · 20 tokens

cocohealth

Context utilization monitor — background monitor that samples context window utilization via PostToolUse hook, surfaces advisory at 60% and critical warning with recovery decision matrix at 70%.

Snowflake-Labs/cocoplus · 38 tokens

agent-memory

Persistent memory system for AI agents. Remember facts, learn from experience, and track entities across sessions.

LeoYeAI/openclaw-master-skills · 0 tokens

compact-memory-implementation

Developer implementation guide for adding compact memory to an Agent — covers fork agent pattern for compaction, trigger strategy, summary format design, and memory restoration in subsequent sessions. Use when a developer asks how to implement compact memory, context compression, or memory persistence in their agent…

simbajigege/book2skills · 68 tokens

harness-step3-session-management

A project setup for keeping an agent’s work state in files between separate chat sessions. It creates a task list, a progress summary, and a script for checking the project environment.

simbajigege/book2skills · 149 tokens

log-session

Append a structured entry to the project's session log (docs/LOGS.md): what was done this session, files touched, decisions taken, and the next step — so the next session (or another person) can pick up the thread without re-reading git history. Run it before /clear, before closing Claude Code, or at any natural…

gtrabanco/agentic-workflow · 183 tokens