Kill
Removes a specific deployed agent. Deletes its cron entry, project directory, and removes it from the claudomate agent registry. Use when you want to permanently retire one automated workflow.From its SKILL.md
npx -y skills add sidmcfarland/claudomate --skill killAssembled 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.
SKILL.md
1.8 KB, as published. Nobody here has run it
Remove a specific deployed agent managed by claudomate.
Working Directory
First, determine CLAUDOMATE_DIR:
- If
.claude/claudomate/exists in the current working directory → use that - Otherwise → use
~/.claude/claudomate/
Steps
-
Read
{CLAUDOMATE_DIR}/monitoring.json. This file contains the registry of deployed agents. If the file doesn't exist or is empty, tell the user there are no deployed agents to remove and stop. -
List the deployed agents with their names and descriptions so the user can choose which one to remove. If there is only one agent, confirm with the user before proceeding.
-
Once the user selects an agent, confirm the action — this is destructive and cannot be undone:
Remove agent "{name}"? - Cron entry: {schedule} - Directory: {path} This will permanently delete the agent and all its files. Confirm? (yes/no) -
Remove the agent's cron entry by running
crontab -l, filtering out any line that references this agent's directory — whether active or suspended (i.e., prefixed with# claudomate-suspended:). Write the result back withcrontab -. Be careful not to remove unrelated cron entries. -
Delete the agent's project directory using
rm -rf {path}. Double-check that the path comes from monitoring.json and is within the home directory before deleting. -
Remove the agent's entry from
{CLAUDOMATE_DIR}/monitoring.jsonand save the updated file. -
Confirm to the user that the agent has been fully removed: cron entry deleted, directory removed, registry updated.