agentsclimarketplace

Mem clean

Skill akunzai/agent-skills/skills/mem-clean

My personal agent skills for AI coding assistants

Install
npx -y skills add akunzai/agent-skills --skill mem-clean

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Interactively clean short-term memory — delete expired project/global daily logs (.memories/YYYY-MM-DD.md) under a confirmed retention plan, and resolve cloud-drive conflict copies. Destructive; always requires a dry-run plan and explicit user confirmation.

SKILL.md

1.6 KB, 340 tokens by cl100k_base, as published. Nobody here has run it

mem-clean — Short-Term Memory Cleanup

What it cleans

Rules (summary)

  • Default retention is 30 days, computed from the YYYY-MM-DD.md filename, never mtime.
  • Block cleanup of daily logs with unresolved [Candidate] entries (not [Promoted], [Rejected], or [Expired]).
  • Leave .memories/handoffs/ files alone: active handoffs are managed by mem-auto, which deletes each task's file on completion. Only offer to remove a handoff file when the user confirms its task is abandoned.
  • Project cleanup is per-user: after deleting expired logs locally, run /mem-sync first, then mem-sync-git.sh compact to rewrite the user's memories/<email-localpart> branch to a single commit and force-push. Other devices adopt it on next pull.
  • Always show the dry-run plan (scope, retention window, delete list, blocked files, user keep-list) and require explicit confirmation.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.