compact-note

Solid

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.

AI & Automation 18 stars 5 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
43
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

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

Details

Author
wrg32786
Repository
wrg32786/aigent-os
Created
3 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

save-before-compact

Use ONLY when the user explicitly wants to compact a long session without losing its learnings — triggers like "save before compact" / "wrap up and compact" / "session's too long, compact but keep the takeaways" / "capture learnings then compact". NEVER fire unsolicited. This skill APPLIES changes (CLAUDE.md / preference-file additions, memory, new skills) and writes a resume brief, then stops for the user to run /compact — it never runs /compact itself. Thin sessions get only the resume brief; in-flight high-stakes ops defer (Step 1 has the thresholds).

1 Updated today
damson
Code & Development Listed

summary

Summarize current session context for high-quality /compact. Run before compacting to preserve what matters.

0 Updated 2 days ago
TechHU-GS
AI & Automation Listed

compact-plus

Secure everything the user approved before a context compaction so a later /compact can never lose or alter it. Writes verbatim intent and handoff state to disk and commits plus pushes the tracked work product in the correct repository, then reports whether it is safe to compact. It does NOT run /compact itself - it makes a later compact safe. Run this only when the limit plugin's injected ACTION line names it (session-context fill crossed a configured threshold) or when the user invokes it manually. Never self-trigger it proactively - that only wastes tokens. Accepts extra trailing instructions to perform in addition to the securing checklist. A minimal mode (invoke as /compact-plus min) secures only intent plus handoff to disk - no audit, no commit or push - for a quick token-cheap save.

12 Updated 2 days ago
Marcel-Bich