context_summarizer

context_summarizer is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 17 tokens per session (281 once invoked), scanned A, original, Apache-2.0.

A context tool that shortens long conversations or activity logs while keeping key details that help reconstruct the original meaning. It can also rank information by relevance and plan what to remove when space is limited.

In plain words
What is it for?
Use it to summarize text, restore a saved summary, rank conversation sections for a question, or decide which sections to remove.
Why use it?
It reduces the amount of stored or active context needed, making long-running work easier to continue within a limited memory budget.

Skill for Claude CodeCodex

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

Good fit Use it to summarize text, restore a saved summary, rank conversation sections for a question, or decide which sections to remove.

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

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 context_summarizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/context_summarizer.svg)](https://agentmods.dev/skills/jxoesneon/ciel/context_summarizer)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/context_summarizer"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/context_summarizer.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 281 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.00017 $0.00281
Opus 5 $0.00009 $0.00140
Sonnet 5 $0.00003 $0.00056
Haiku 4.5 $0.00002 $0.00028

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

Security

Grade A, and why

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

ciel.skill/seed_skills/context_summarizer/SKILL.md · 37 lines

What it actually says

context_summarizer

Compress long traces / conversations into recoverable AAAK blobs.

Operations

  • ctx.summarize(text, target_tokens, anchor_hints?) — produce AAAK blob.
  • ctx.expand(blob) — reconstruct best-fidelity form.
  • ctx.rank(chunks, query) — relevance scores for eviction.
  • ctx.evict(segments, budget) — compose an eviction plan.

I/O Contract

io_contract:
  input: { op, args }
  output: { result }
  idempotent: deterministic_with_seed
  side_effects: []

AAAK

Adaptive Anchored Attention Keys — lossy-compressed format with recovery anchors. Written to MemPalace as native .aaak blobs.

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 · 17 tokens per session scan A f4d3e2609a9f

Subscribe to this mod's changes

context_summarizer is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed 7d ago), licensed Apache-2.0. It adds 17 tokens to every session and 281 once invoked, about $0.0001 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

build-personal-brain

Create, resume, validate, connect, or maintain a private cross-project memory for AI assistants. Use when a person asks to build a personal memory from local work folders and past assistant conversations, continue an interrupted memory audit, connect an existing memory to another local assistant, verify that the…

mikeshu2001/personal-brain-builder · 81 tokens

squad-bootstrap

Skill de inicialização da squad. Faz a varredura do projeto e popula a memória técnica e de negócios em memories/. ATENÇÃO - SÓ DEVE ser executada se houver solicitação explícita do usuário ("instalar a squad", "fazer setup inicial", "bootstrap do projeto") ou logo após o instalador (install.sh) ter configurado a…

rcelebrone/DotAgents · 84 tokens

compound

Persistência de aprendizados nas memórias vivas ao final de cada ciclo. Use para "atualizar memória", "guardar aprendizados" ou "sincronizar contexto do projeto". Executada pelo Tech Lead após o PO definir Status entregue.

rcelebrone/DotAgents · 52 tokens

macrodata-onboarding

Guide new users through macrodata setup. Creates identity, human profile, and workspace files. Use when getcontext returns isFirstRun true, or user asks to set up their profile.

Kacper0199/Opencode-Ultrathinker · 42 tokens

macrodata-distill

Extract distilled actions and facts from today's conversations. Spawns sub-agents per conversation to avoid context blowup.

Kacper0199/Opencode-Ultrathinker · 27 tokens

macrodata-memory-maintenance

End of day memory maintenance. Runs distillation, updates state files, prunes stale info. Runs in background with no user interaction.

Kacper0199/Opencode-Ultrathinker · 33 tokens