Context Compression
guanyang/open-agent-hub
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…
A skill your agent uses when context compression is imminent, when resuming a session, or when preserving critical decisions across long tasks.
$ npx skills add vibeeval/vibecosystem --skill notepad-system -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install vibeeval/vibecosystem notepad-system --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/vibeeval/vibecosystem.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/notepad-system .claude/skills/notepad-system && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "notepad-system" agent skill from https://github.com/vibeeval/vibecosystem/tree/main/skills/notepad-system into .claude/skills/notepad-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "notepad-system", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/vibeeval/vibecosystem/tree/main/skills/notepad-systemType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add vibeeval/vibecosystem --skill notepad-system -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install vibeeval/vibecosystem notepad-system --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vibeeval/vibecosystem.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/notepad-system .agents/skills/notepad-system && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "notepad-system" agent skill from https://github.com/vibeeval/vibecosystem/tree/main/skills/notepad-system into .agents/skills/notepad-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "notepad-system", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vibeeval/vibecosystem --skill notepad-system -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install vibeeval/vibecosystem notepad-system --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vibeeval/vibecosystem.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/notepad-system .cursor/skills/notepad-system && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "notepad-system" agent skill from https://github.com/vibeeval/vibecosystem/tree/main/skills/notepad-system into .cursor/skills/notepad-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "notepad-system", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/vibeeval/vibecosystem.git --path skills/notepad-system--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add vibeeval/vibecosystem --skill notepad-system -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install vibeeval/vibecosystem notepad-system --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vibeeval/vibecosystem.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/notepad-system .gemini/skills/notepad-system && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "notepad-system" agent skill from https://github.com/vibeeval/vibecosystem/tree/main/skills/notepad-system into .gemini/skills/notepad-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "notepad-system", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install vibeeval/vibecosystem notepad-systemInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add vibeeval/vibecosystem --skill notepad-system -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/vibeeval/vibecosystem.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/notepad-system .github/skills/notepad-system && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "notepad-system" agent skill from https://github.com/vibeeval/vibecosystem/tree/main/skills/notepad-system into .github/skills/notepad-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "notepad-system", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add vibeeval/vibecosystem --skill notepad-system -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install vibeeval/vibecosystem notepad-system --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/vibeeval/vibecosystem.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/notepad-system .opencode/skills/notepad-system && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "notepad-system" agent skill from https://github.com/vibeeval/vibecosystem/tree/main/skills/notepad-system into .opencode/skills/notepad-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "notepad-system", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
notepad-systemA skill your agent uses when context compression is imminent, when resuming a session, or when preserving critical decisions across long tasks.
Notepad System is an agent skill from vibeeval/vibecosystem. Use this skill when context compression is imminent, when resuming a session, or when preserving critical decisions across long tasks. Provides a durable notepad that survives compaction and lets any agent pick up exactly where the previous context left off.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering LLM cost and token optimization. The repository describes itself as: AI software team for Claude Code - 138 agents, 295 skills, 73 hooks. Self-learning, multi-agent swarm, autonomous skill evolution. The licence is MIT.
Read from SKILL.md and the folder at commit 3b763b1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and bash).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Notepad System loads about 1.7k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 541 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from vibeeval/vibecosystem at commit 3b763b1, republished under its MIT licence (© vibeeval). 541 words, ~1,742 tokens.
.claude/skills/notepad-system/SKILL.md (or your agent's skills folder).Structured storage for decisions, task state, and critical context that must survive context window compression. Extends pre-compact-state.md from manual discipline to a concrete file-based protocol.
When context compresses, the following is lost:
Without this, the recovered context either restarts from scratch or makes assumptions that contradict earlier decisions.
| Type | Persistence | When to Use |
|---|---|---|
| Priority | Permanent until explicitly deleted | Architectural decisions, user confirmed preferences, hard constraints |
| Working | Session-scoped, cleared at session end | Current task state, WIP progress, in-flight findings |
| Scratch | Cleared after use (one-time calc) | Quick calculations, temp values used once |
~/.claude/projects/<project-hash>/notepad.mdThe project hash is derived from the working directory path. If the directory does not exist, create it before writing.
# Notepad
## Priority Notes
### [2026-03-29 14:22] Decision: Auth approach
JWT with refresh tokens. User confirmed.
Reason: Stateless, scalable, mobile-friendly.
Rejected: Session-based (server state, scaling issues).
### [2026-03-29 15:10] Constraint: Node version
Must stay on Node 18. Server has LTS pinned, no upgrade path in scope.
## Working Notes
### [2026-03-29 14:45] Task: API refactor — Phase 2
Completed: /users, /products, /categories endpoints
Remaining: /orders, /payments endpoints
Blocked on: Stripe webhook secret (user to provide)
Next action: Start /orders, skip payment until secret arrives
## Scratch
### [2026-03-29 15:30] Token estimate
Average response: 256 tokens. 4x safety margin = ~1024 tokens per request budget.
USED — safe to delete.When context compression is imminent (context window at ~80% or system warning appears):
Step 1 — Dump active task state to Working Notes
What task is in progress?
What has been completed so far?
What remains?
Are there any blockers?
What is the immediate next action when context resumes?Step 2 — Promote any pending decisions to Priority Notes
Any architectural choice made this session → Priority Note
Any user-confirmed preference → Priority Note
Any external constraint discovered → Priority NoteStep 3 — Record modified files
List every file touched this session.
Note what changed in each (one line per file is enough).
Note whether changes are committed or uncommitted.Step 4 — Save pending decisions with their options
If a decision was not yet made, record the question and the options.
This prevents re-deriving the same options after compression.Do this BEFORE continuing work. State preservation takes priority.
When a new or compressed context begins:
Step 1 — Read notepad.md
Path: ~/.claude/projects/<project-hash>/notepad.mdStep 2 — Inject Priority Notes into active context These are always relevant. Treat them as if the user stated them at session start.
Step 3 — Summarize Working Notes for the user
"Resuming: API refactor, Phase 2.
Completed: /users, /products, /categories.
Remaining: /orders, /payments.
Blocked: Stripe webhook secret needed.
Next: starting /orders."Step 4 — Clear Scratch notes They were single-use. Remove them now.
Step 5 — Resume from last known state Do not ask the user to re-explain context that is in Working Notes.
notepad delete priority <title>file.ts:line insteadRead the notepad:
cat ~/.claude/projects/<hash>/notepad.mdClear working notes (session end):
# Remove the Working Notes section content, keep the headersClear scratch notes (after use):
# Remove individual scratch entries after they have been appliedpre-compact-state.md — This skill is the concrete implementation of that rule. The rule defines what to save; this skill defines where, how, and in what format.
compass agent — The compass agent performs context recovery. It should read notepad.md as its first action and use the contents to construct the "Nerede kalmistik?" summary.
Any agent — Any agent starting work on a project should check notepad.md for Priority Notes that constrain their approach. An architect should not propose a solution that contradicts a Priority Note.
Working on a large refactor across 12 files. Context at 80%.
Pre-compact dump:
### [2026-03-29 16:00] Task: Auth system refactor — 7/12 files done
Completed: user.service.ts, auth.controller.ts, token.service.ts,
session.middleware.ts, logout.handler.ts, login.handler.ts, refresh.handler.ts
Remaining: password.service.ts, oauth.handler.ts, 2fa.handler.ts,
admin.auth.ts, tests/auth.test.ts
Next: start password.service.ts — method signature unchanged, internals onlyAfter compression, any agent reads this and knows exactly which 5 files remain.
User asked about caching strategy but has not confirmed yet.
Scratch note:
### [2026-03-29 16:15] Pending: Caching strategy
Options: (a) Redis — fast, requires infra; (b) in-memory — simple, no persistence
Awaiting user confirmation on whether Redis is available in prod.This prevents re-deriving the same question after compression.
User mentioned early in a long session that they cannot use PostgreSQL — MySQL only.
Priority note created immediately:
### [2026-03-29 10:05] Constraint: Database — MySQL only
No PostgreSQL. Server is MySQL 8.0. All queries and schema must be MySQL-compatible.
Reason: Hosting provider limitation.Every subsequent agent reads this and never proposes PostgreSQL.
© vibeeval, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/notepad-system of vibeeval/vibecosystem.
Open the folder on GitHubat commit 3b763b1
Notepad System next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Notepad System this skillvibeeval/vibecosystem | 531 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Context Compressionguanyang/open-agent-hub | 973 | 2 repos | ~4.6k | Automated safety check: Pass | MIT | |
| Bounty Hunter1sadjlk/bounty-hunter-skill | 282 | 1 repos | ~761 | Automated safety check: Pass | MIT | |
| Skill Shortenerluongnv89/asm | 953 | — | ~3.8k | Automated safety check: Notes | MIT | |
| Fleet Auditoralexgreensh/token-optimizer | 2.5k | — | ~1.7k | Automated safety check: Pass | Custom licence | |
| Context Auditundefined-ui/second-brain-os | 999 | — | ~810 | Automated safety check: Pass | MIT |
guanyang/open-agent-hub
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…
1sadjlk/bounty-hunter-skill
A professional AI bounty hunter persona named Atlas. An agent skill from 1sadjlk/bounty-hunter-skill.
luongnv89/asm
Refactor a too-long SKILL.md by progressive disclosure: measure token cost, classify every section KEEP/CUT/MOVE, shorten the body into references/ and scripts/, verify nothing was lost.
alexgreensh/token-optimizer
Cross-system agent token/cost audit (Claude Code, Codex, OpenClaw, Hermes, OpenCode): idle burns, model misrouting, config bloat, with dollar savings.
undefined-ui/second-brain-os
Audit an agent's context layout against the four places: system prompt, tools, history, tail.
momori777/Artemis
SmartCrusher + CCR context compression — crunch large JSON arrays, tool outputs, and search results to save tokens.
vibeeval/vibecosystem
Framework for measuring and tracking agent response quality over time.
vibeeval/vibecosystem
Security-focused differential code review with blast radius analysis, risk-adaptive depth (DEEP/FOCUSED/SURGICAL), git history correlation, and structured finding format.
vibeeval/vibecosystem
A skill your agent uses when making any factual claim about the codebase — existence, absence, or behavior.
vibeeval/vibecosystem
Systematic false positive verification for security findings.
vibeeval/vibecosystem
n8n otomasyon workflow'lari. An agent skill from vibeeval/vibecosystem.
vibeeval/vibecosystem
Property-based testing (PBT) patterns with fast-check (JS/TS), Hypothesis (Python), and gopter (Go).
Categories
A skill your agent uses when context compression is imminent, when resuming a session, or when preserving critical decisions across long tasks. Notepad System is an agent skill from vibeeval/vibecosystem. Use this skill when context compression is imminent, when resuming a session, or when preserving critical decisions across long tasks.
Notepad System fits situations like: context compression is imminent; resuming a session; preserving critical decisions across long tasks.
Run `npx skills add vibeeval/vibecosystem --skill notepad-system -a claude-code`. Or copy the skill folder (skills/notepad-system in vibeeval/vibecosystem) into .claude/skills/notepad-system in your project. Claude Code loads it when a task matches its description.
Run `npx skills add vibeeval/vibecosystem --skill notepad-system -a codex`. Or copy the skill folder (skills/notepad-system in vibeeval/vibecosystem) into .agents/skills/notepad-system in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vibeeval/vibecosystem --skill notepad-system -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/notepad-system, .gemini/skills/notepad-system, .github/skills/notepad-system and .opencode/skills/notepad-system in your project.
SKILL.md names no scripts, command-line tools or credentials: Notepad System is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Notepad System is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Notepad System: Context Compression (guanyang/open-agent-hub, 973 stars), Bounty Hunter (1sadjlk/bounty-hunter-skill, 282 stars), Skill Shortener (luongnv89/asm, 953 stars) and Fleet Auditor (alexgreensh/token-optimizer, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
vibeeval (a GitHub user) maintains it in vibeeval/vibecosystem, which has 531 GitHub stars. The repository holds 144 skills in this directory. The repository was last updated on August 8, 2026.
Source: vibeeval/vibecosystem on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.