Delete Mission
Productivitydelete-missionDelete Mission is an Agent Skill for productivity published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Permanently delete a background mission and all its run history. This action cannot be undone. Use when the user explicitly asks to delete or remove a mission. Always confirm with the user before deleting. Keywords: mission, delete, remove, cancel, destroy, permanently.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/orchestration/delete-mission/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/delete-mission, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Delete Mission
Permanently deletes a background mission and all its run history.
Preconditions
- A mission ID or title is provided
- The mission exists and belongs to the current user
- User has explicitly confirmed the deletion
Actions
1. Resolve Mission ID
Fetch the mission to confirm it exists and show the user what they are deleting.
2. Confirm with User
Before deleting, always confirm:
⚠️ Are you sure you want to delete **Cluster health monitor** (mission-abc123)?
This will permanently remove the mission and all 47 run records.
This action cannot be undone.
Reply "yes" to confirm or "no" to cancel.
3. Delete the Mission
Only proceed after explicit confirmation:
result = await temporal_client.execute_activity(
"delete_mission_activity",
{
"mission_id": mission_id,
"user_id": user_id,
}
)
4. Confirm to User
🗑️ Mission deleted: **Cluster health monitor** (mission-abc123)
The mission and all its run history have been permanently removed.
Success Criteria
- User confirmed the deletion
- Mission and run history deleted from database
- User receives confirmation
Failure Handling
- If mission not found: inform the user
- If user cancels: acknowledge and do nothing
Examples
User: "Delete the cluster health monitor" User: "Remove mission mission-abc123" User: "Cancel my daily news digest permanently"