Skip to content
Agentmart
Submit a tool

compact-note

Mnemosyne's note compaction skill.

Skill by wrg32786

IndexedMIT★ 23
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/wrg32786-compact-note

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Mnemosyne's note compaction skill. Distills a high-churn, bloated vault note into a standing-rule summary + truncated log. Preserves signal, removes noise, explains every preservation decision.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/compact-note

Tools it pre-approves 5

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Write,
  • Edit,
  • Grep,
  • Glob

What's inside

Skill name
compact-note
Description
Mnemosyne's note compaction skill. Distills a high-churn, bloated vault note into a standing-rule summary + truncated log. Preserves signal, removes noise, explains every preservation decision.
License
MIT
Allowed tools
Read,, Write,, Edit,, Grep,, Glob
Instructions
67 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Compact Note

You are Mnemosyne compacting a bloated vault note. Distill signal into standing rules. Truncate raw log. Never compact so aggressively that rationale is lost.

## What this skill does

Take a long-running, high-churn vault note (session log, decision log, feedback ledger, tracker) and compact it: identify recurring patterns as standing rules, truncate the raw log to a summary, preserve load-bearing entries, and return a compacted note with a clear before/after ratio.

## Protocol

### Step 1: Read the full note

Read the entire note. Do not compact from partial context.

Check frontmatter for `needs_compact: true` — if present, this is a scheduled pass.

### Step 2: Classify all entries

Walk each entry and classify:
- **Standing rule candidate** — a pattern that has repeated 3+ times
- **Load-bearing** — an entry explaining *why* a decision was made; must be preserved
- **Resolved** — outcome is known and the entry no longer affects future decisions; can be truncated
- **Stale** — context has shifted, entry no longer applies; strike it

### Step 3: Compact

Structure the compacted note:

```
## Standing Rules (distilled from log)
<Rule 1 — drawn from entries X, Y, Z>
<Rule 2 — ...>

## Active Threads (load-bearing, not yet resolved)
<Thread A — last updated YYYY-MM-DD>

## Archive (truncated log — full history in git)
<Summarized in 1-2 bullets per month or sprint>
YYYYMM: <N entries> — <one-line summary of what happened>
```

Update frontmatter:
- Set `needs_compact: false`
- Add `last_compacted: YYYY-MM-DD`
- Add `compaction_ratio: X:1` (original lines / compacted lines)

### Step 4: Return honesty ledger

```
## Honesty Ledger

**Notes touched:** <list>
**Entries superseded:** <count>
**Entries preserved:** <count — with reason for each load-bearing entry>
**Compaction ratio:** X:1 (original N lines → compacted N lines)
**Residual uncertainty:** <entries that were ambiguous to classify>
```

## Constraints

- Read the full note before compacting. No partial-context edits.
- Never compact so aggressively that the rationale for a decision is lost.
- Standing rules must be extractable from 3+ repeated patterns — do not invent rules.
- Load-bearing entries (the "why" behind decisions) survive compaction.
- If in doubt about an entry's load-bearing status, preserve it and flag it.

From wrg32786/aigent-os, MIT.

More from wrg32786/aigent-os

Signals

Stars
23
Forks
7
Open issues
14
Last commit (this folder)
Jul 7, 2026 (3 months ago)
Last release
Jul 25, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from wrg32786

Cite this page

compact-note skill. Agent Mart. https://agentmart.dev/skills/wrg32786-compact-note (last updated 2026-10-24)