/memory-mason:mma [--dry-run | --commit] [--k <n>]from memory-mason
Archives log entries from _meta/log.md into compact fold pages when exceeding 32 entries. Uses extractive summarization and 2^k batch folding. Run when log grows unwieldy.
Ships in memory-mason. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fold the oldest 2^k entries from _meta/log.md into a single summary page, reducing log.md size while preserving all information.
This command is operational only. Do not write /mma, /memory-mason:mma, or their execution chatter back into the vault.
Use /mma for:
--k 5 folds 32 entries at once)--dry-run)Resolve vault config in priority order: ./.env → ./memory-mason.json → ~/.memory-mason/.env → ~/.memory-mason/config.json.
{vault}: absolute path to the Obsidian vault.{subfolder}: MEMORY_MASON_SUBFOLDER (.env source) or subfolder field (JSON source); default ai-knowledge.Run with --dry-run (default) to preview, --commit to write, --k N to batch 2^N entries (default k=4, 16 entries).
Read {vault}/{subfolder}/_meta/log.md.
## [).Determine fold range.
fold-k{k}-from-{EARLIEST-DATE}-to-{LATEST-DATE}-n{COUNT}
Example: fold-k4-from-2026-04-01-to-2026-04-16-n16Generate fold summary.
Fold page format (_meta/folds/{fold-id}.md):
---
fold_id: "{fold-id}"
entries_folded: {COUNT}
source: "_meta/log.md"
created: {ISO-date}
---
# Build Log Fold: {EARLIEST-DATE} to {LATEST-DATE}
{COUNT} entries. Compiles: {n} | Created: {n} ([[wikilinks]]) | Updated: {n} | Queries: {n}
## Source Entries
{verbatim copy of folded entries}
Write the fold page to _meta/folds/{fold-id}.md.
Remove the folded entries from log.md.
<!-- folded: [[{subfolder}/_meta/folds/{fold-id}]] ({COUNT} entries, {EARLIEST-DATE} to {LATEST-DATE}) -->Append to log.md:
## [{ISO-timestamp}] fold | {fold-id}
- Entries folded: {COUNT} ({EARLIEST-DATE} to {LATEST-DATE})
- Fold page: [[{subfolder}/_meta/folds/{fold-id}]]
Report without writing:
Fold plan:
- Entries to fold: {COUNT} (oldest 2^{k})
- Date range: {EARLIEST-DATE} to {LATEST-DATE}
- Fold ID: {fold-id}
- Fold page: _meta/folds/{fold-id}.md
- Remaining in log.md: {total - COUNT} entries
Run /mma --commit to execute.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
log-archival, memory-mason, obsidian, log-management, fold, extractive-summary
npx claudepluginhub s-gryt/memory-mason --plugin memory-mason6 skills in this plugin
/mmcCompile today's or a specified daily capture into the Vault Architecture v2 structure. Runs a three-stage EXTRACT -> TRANSFORM -> LOAD pipeline that updates concepts, atlas MOCs, synthesis pages, the root index, build log, manifest, state, session bootstrap context, and auto-archive folds. Triggers: "compile today", "/mmc", "compile YYYY-MM-DD", "--all" for batch. Use /mmq instead to query the vault without modifying it.
/mmlLint the knowledge base for broken links, orphan pages, stale captures, and wikilink convention violations. Run as a periodic health check.
/mmqQuery the knowledge base. Reads session context first, then the root index, then relevant atlas, concept, and synthesis pages, and synthesizes a clear answer with [[wikilink]] citations. Use when you want to ask about past decisions, patterns, lessons, or technical knowledge captured in previous AI conversations. Use the `insights` argument to surface workflow-coaching advisories from hook-generated data.
Other plugins' skills for the same job