Skills Explorer Add Skills

context-compression

An agent skill by muratcankoylan, from muratcankoylan/Agent-Skills-for-Context-Engineering. Tags: automation, developer-tools, documents, performance, strategy.

What it does

This skill should be used when long-running agent sessions need context compression, structured summarization, compaction, token-per-task optimization, or durable handoff summaries that preserve decisions, files, risks, and next actions.

Install

With the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill context-compression

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering
cp -r Agent-Skills-for-Context-Engineering/skills/context-compression ~/.claude/skills/context-compression

Safety box score

Grade A, minimal risk: 4 of 100 risk points, rated 2026-10-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill is a documentation-and-Python utility for context compression, probe generation, and evaluation. It does not ship network access, filesystem mutation, or credential handling; the main risk is ordinary local code execution plus the fact that its evaluator is mostly heuristic/stubbed rather than a real judge pipeline.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution1 (low)`scripts/compression_evaluator.py` is a runnable Python module with a `__main__` demo; it executes local code, but it does not spawn shells or run downloaded code.
Network access0 (none)No outbound requests or downloads are implemented in the shipped code; the file notes that LLM judge calls are "stubbed for demonstration".
Filesystem reach0 (none)The shipped files only read their own source via import/tests and operate on in-memory strings; there are no writes or deletes outside the project.
Secrets & credentials0 (none)Nothing in the skill reads tokens, keys, passwords, `.env` files, browser sessions, or other credential stores.
Privilege & persistence0 (none)There is no use of sudo, global installs, services, scheduled tasks, or OS/shell configuration changes.
Instruction hijack surface0 (none)`references/evaluation-framework.md` includes a judge `System Prompt` example, but it does not instruct the agent to ignore higher-priority rules, hide actions, or fetch external instructions.
Irreversible actions0 (none)The skill is evaluative/documentary only; it does not push, deploy, post, pay, book, or delete anything.
Transparency0 (none)All shipped artifacts are plain-text Markdown and Python; there are no binaries, minified blobs, base64 payloads, or unpinned installers.

Before installing

Rated 2026-10-20 by an automated review of 4 files from the skill's repository.

Source

Repository
muratcankoylan/Agent-Skills-for-Context-Engineering (all skills from this repository)
Path
skills/context-compression/SKILL.md
Branch
main
Updated
2026-09-19