orphans
Installation
SKILL.md
claude-routines:orphans
Cross-reference local .md routine files against the cloud routine list. Report files whose trigger_id is no longer present in the cloud.
Procedure
- Call
RemoteTriggerwithaction: "list". Build a set of cloudtrigger_idvalues. - Scan local
.mdfiles (default search:routines/**/*.md,personal/**/*.md, or wherever the user keeps them; ask if unsure). - For each file, parse the YAML frontmatter and read
trigger_id. If the value is absent, skip (it hasn't been deployed yet). - If
trigger_idis present but NOT in the cloud set, print:<file path> -> <trigger_id> (not in cloud). - End with a count:
N orphans found.
Output format
personal/old-shopping-list.md -> trig_01XYZ... (not in cloud)
personal/draft-news-digest.md -> trig_01ABC... (not in cloud)