Skip to content
Agentmart
Submit a tool

weekly-memory-maintenance

Weekly memory maintenance — prune sessions >30, check INDEX/topics consistency, evolution health

Skill by Leo-Atienza

IndexedMIT★ 4
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/leo-atienza-weekly-memory-maintenance

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

Weekly memory maintenance — prune sessions >30, check INDEX/topics consistency, evolution health

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/weekly-memory-maintenance

What's inside

Skill name
weekly-memory-maintenance
Description
Weekly memory maintenance — prune sessions >30, check INDEX/topics consistency, evolution health
License
MIT
Instructions
30 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

Weekly Memory Maintenance — Automated Knowledge System Health Check

## Tasks

1. **Session Pruning**: Check session count in `~/.claude/projects/<your-cwd-slug>/memory/sessions/sessions-index.md`. If >30 entries, prune oldest sessions AFTER verifying their learnings exist in topic files. Delete the session .md files and remove rows from sessions-index.md.

2. **INDEX ↔ Topics Consistency**:
   - Read INDEX.md and extract all entry IDs (G-PAT-xxx, G-SOL-xxx, G-ERR-xxx, G-PREF-xxx, G-FAIL-xxx)
   - List all files in topics/ directory
   - Report any orphaned topic files (file exists but no INDEX entry)
   - Report any missing topic files (INDEX entry exists but no file)
   - Auto-fix orphans by adding INDEX entries if the topic file has valid content

3. **Conflict Resolution Reminder**: Check `conflicts.md` for unresolved conflicts. If any exist >7 days old, flag them for user attention.

4. **Evolution Health**: Read `evolution.md` and report:
   - Total saves, promotions, milestones, refinements
   - Whether any patterns are approaching "proven" status (2+ confirmations)

5. **Report**: Output a concise summary of actions taken and any issues found.

## Paths
- MEMORY: ~/.claude/projects/<your-cwd-slug>/memory
- INDEX: {MEMORY}/INDEX.md
- TOPICS: {MEMORY}/topics/
- SESSIONS: {MEMORY}/sessions/
- SESSIONS_INDEX: {SESSIONS}/sessions-index.md
- CONFLICTS: {MEMORY}/conflicts.md
- EVOLUTION: {MEMORY}/evolution.md

From Leo-Atienza/atlas-claude, MIT.

More from Leo-Atienza/atlas-claude

Signals

Stars
4
Forks
5
Open issues
0
Last commit (this folder)
Jul 24, 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 Leo-Atienza

Cite this page

weekly-memory-maintenance skill. Agent Mart. https://agentmart.dev/skills/leo-atienza-weekly-memory-maintenance (last updated 2026-10-24)