lethe-offload

lethe-offload is a skill for Claude Code, Codex from JesusGarcia9009/lethe-engineering. It costs 32 tokens per session (367 once invoked), scanned A, original, Unlicense.

A context-management skill for long coding-agent sessions. LETHE is a memory service that stores large outputs and recalls them later when needed.

In plain words
What is it for?
Use it to archive large tool results or documents during extended tasks and retrieve them later by a saved handle or relevant keywords.
Why use it?
It reduces the amount of lengthy logs, files, or API responses kept in the active conversation, helping preserve context for the current work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to archive large tool results or documents during extended tasks and retrieve them later by a saved handle or relevant keywords.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jesusgarcia9009/lethe-engineering/claude-code
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 JesusGarcia9009/lethe-engineering --skill claude-code
Clone the repo
git clone --depth 1 https://github.com/JesusGarcia9009/lethe-engineering

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 lethe-offload

README.md
[![agentmods](https://agentmods.dev/badge/skills/jesusgarcia9009/lethe-engineering/claude-code.svg)](https://agentmods.dev/skills/jesusgarcia9009/lethe-engineering/claude-code)
Your own site
<a href="https://agentmods.dev/skills/jesusgarcia9009/lethe-engineering/claude-code"><img src="https://agentmods.dev/badge/skills/jesusgarcia9009/lethe-engineering/claude-code.svg" alt="Measured on agentmods" 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 367 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 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.00367
Opus 5 $0.00016 $0.00183
Sonnet 5 $0.00006 $0.00073
Haiku 4.5 $0.00003 $0.00037

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

Security

Grade A, and why

lethe-offload 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.

integrations/claude-code/SKILL.md · 37 lines

What it actually says

LETHE Offload

You have a LETHE MCP memory available. Use it to keep your context window small during long tasks, which saves tokens and preserves your attention for what matters.

The rule

When a tool result, file read, log, or API response is large (roughly > 1500 tokens) and you will not need all of it in the next step or two, archive it instead of keeping it:

  1. Call lethe_archive(content=<the big text>, label=<short name>).
  2. Keep only the returned handle (e.g. handle=a3f9) in your reasoning. Drop the full text.
  3. When you need it again, call lethe_recall("a3f9") (by handle) or lethe_recall("<keywords>") (by content) to get it back.

When to archive

  • ✅ Verbose file dumps you only needed to scan once.
  • ✅ Long logs, stack traces, large JSON/API responses.
  • ✅ Earlier step outputs that are "done" but might be referenced later.

When NOT to archive

  • ❌ The current task instructions or active goal.
  • ❌ Small outputs (under ~1500 tokens) — archiving them saves nothing.
  • ❌ Anything you are about to use in the very next step.

Check your savings

Call lethe_status() to see how many items you have archived and how many tokens you have offloaded so far. LETHE never deletes anything — archived content is always recoverable.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 37 lines · 32 tokens per session scan A 682eb613ccc3

Subscribe to this mod's changes

lethe-offload is a skill published in the GitHub repository JesusGarcia9009/lethe-engineering (0 stars, last pushed 1mo ago), licensed Unlicense. It adds 32 tokens to every session and 367 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-08-31.

Related

Other skills, from other repositories

cco-patterns

Share learned file patterns across a team — export an anonymized digest of what's usually waste/useful/co-edited, and import a teammate's so a fresh clone benefits day one.

egorfedorov/claude-context-optimizer · 39 tokens

pf-handoff

A Russian-language checkpoint and session-closing procedure that records the verified state of ongoing work in a HANDOFF file. A HANDOFF file is a written task record containing what is done, what remains, blockers, statuses, and journal entries.

turvodnik/pf-handoff · 116 tokens

pf-resume

A session-resume skill that restores work from a HANDOFF file, task packet, and recent journal entries after a chat ends or is cleared.

turvodnik/pf-handoff · 92 tokens

memorybox

Diagnoses bloated MEMORY.md files, splits oversized sections into domain-specific files, archives stale daily logs, and deduplicates content using a 3-tier hierarchy (MEMORY.md → domains/ → archive/). Use when MEMORY.md exceeds 10KB, context pressure is high, or the user asks to clean up, organize, or maintain agent…

Ramsbaby/openclaw-memorybox · 90 tokens

relay

Capture the full context of the CURRENT Claude chat into a complete, portable briefing the user can paste into a NEW chat to continue seamlessly. Use ONLY when the user explicitly asks — e.g. "relay", "relay this", "handover", "hand off", "handoff", "continue in a new chat", "this chat is getting long", "carry this…

mosuvo/relay · 164 tokens

context-optimizer

Reduce Claude AI token consumption by 5x-27x using prompt-native workflows and structural code manifests. Forces Claude to reason from CONTEXTMANIFEST.md first, fetch max 3 files per turn, and output in a strict compressed format. Use when user says optimize context, reduce tokens, context optimizer, manifest, blast…

anshmajumdar121/context-optimizer · 75 tokens