tag-cleanup

Analyze tag co-occurrence and execute user-approved tag consolidation actions.

3|1|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/isizono/calm --skill tag-cleanup-isizono
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tag-cleanup
Source: https://github.com/isizono/calm/tree/main/skills/tag-cleanup
Command: npx skills add https://github.com/isizono/calm --skill tag-cleanup-isizono

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Over time, tagging systems accumulate duplicate, orphaned, and bloated tags that make retrieval unreliable. This Skill runs co-occurrence analysis on your tags, presents organized cleanup proposals, and executes only the actions you approve. ## Core Features & Use Cases - Duplicate Detection: Identifies similarly named tags and proposes renaming or canonical aliasing to a single normalized tag. - Cluster & Orphan Analysis: Surfaces natural tag clusters and low-usage orphan tags with PMI-based absorption suggestions or archival recommendations. - Notes Budget Enforcement: Finds tags whose notes exceed the 4,000-character ceiling and demotes approved sections into standalone materials. - Use Case: After months of tagging discussions, you notice variants like checkin, check-in, and activity-checkin. Run the cleanup to get a consolidated proposal, approve the canonical merge, and save an audit record of every change. ## Quick Start Ask the AI to run tag cleanup and organize the scattered tags in the current domain.

Frequently Asked Questions about tag-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean up duplicate tags in my knowledge base?▼

Run tag co-occurrence analysis to group similarly named tags, then review the proposed canonical tag for each group. Approved duplicates are merged via canonical aliasing or full rename, keeping the highest-usage or most conventional name as the primary tag.

What is tag co-occurrence analysis used for?▼

Tag co-occurrence analysis measures how often tags appear together using PMI scores and clustering. It reveals duplicate tags, natural groupings, orphan tags with low usage, and relationships strong enough to suggest consolidation or new grouping tags.

Can I archive a tag instead of deleting it?▼

Yes, archiving retires a tag without physical deletion by setting archived=True with a reason, and it can be reversed anytime. A tag that is the canonical target of other tags cannot be archived until those aliases are removed first.

How do I fix tags whose notes exceed the character limit?▼

Use notes demotion to move approved sections, identified by their markdown headings, into standalone materials. Status or journal sections can be dropped entirely, while other sections are replaced with pointers, until the notes fall under the 4,000-character ceiling.

Does tag cleanup run automatically without approval?▼

No, the analysis only produces a proposal organized into duplicates, clusters, orphans, co-occurrence data, and over-budget notes. Every consolidation, rename, archival, or demotion action executes only after explicit user approval, and results are saved as a tagged material record.