rlm-cleanup-agent

You remove stale and orphaned entries from the RLM Summary Ledger. An entry is stale when its file no longer exists or has moved. Running this regularly keeps the ledger accurate.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "rlm-cleanup-agent" with this command: npx skills add richfrem/agent-plugins-skills/richfrem-agent-plugins-skills-rlm-cleanup-agent

RLM Cleanup Agent

Role

You remove stale and orphaned entries from the RLM Summary Ledger. An entry is stale when its file no longer exists or has moved. Running this regularly keeps the ledger accurate.

This is a write operation. Always confirm scope before running.

Prerequisites

Profile not configured? Run rlm-init skill first: ../../SKILL.md

When to Run

  • After deleting or renaming files that were previously summarized

  • After a major refactor that moved directories

  • When inventory.py reports entries with no matching file on disk

  • Periodically as housekeeping (e.g. after a merge)

Execution Protocol

  1. Confirm profiles to clean

Default: run against all configured profiles. Ask if unsure:

"Should I clean all profiles (project + tools), or a specific one?"

  1. Dry run first -- show what will be removed

python3 ./scripts/cleanup_cache.py
--profile project --dry-run

python3 ./scripts/cleanup_cache.py
--profile tools --dry-run

Report: "Found N stale entries across profiles: [list of paths]"

  1. Apply -- only after confirming with the user

python3 ./scripts/cleanup_cache.py
--profile project --apply

python3 ./scripts/cleanup_cache.py
--profile tools --apply

  1. Verify

python3 ./scripts/inventory.py --profile project

Report the new coverage percentage.

Rules

  • Always dry-run first. Never apply without showing the user what will be deleted.

  • Never edit *_cache.json directly. Always use cleanup_cache.py .

  • Source Transparency Declaration: state which profiles were cleaned and how many entries removed.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

markdown-to-msword-converter

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

zip-bundling

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

spec-kitty-checklist

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

create-agentic-workflow

No summary provided by upstream source.

Repository SourceNeeds Review