Pause Mission
Apps & Automationpause-missionPause Mission is an Agent Skill for apps & automation published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Pause a running background mission. The mission will stop executing on its schedule until resumed. Use when the user wants to temporarily stop a mission without deleting it. Keywords: mission, pause, stop, suspend, disable.
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/workflow/pause-mission/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pause-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.
Pause Mission
Pauses a background mission so it stops executing on its schedule.
Preconditions
- A mission ID or title is provided
- The mission exists and belongs to the current user
- The mission is currently active
Actions
1. Resolve Mission ID
If the user provides a title instead of an ID, search for the matching mission:
missions = await list_missions_activity({"user_id": user_id})
match = next((m for m in missions["missions"] if title in m["title"]), None)
mission_id = match["id"]
2. Pause the Mission
result = await temporal_client.execute_activity(
"update_mission_status_activity",
{
"mission_id": mission_id,
"status": "paused",
"user_id": user_id,
}
)
3. Confirm to User
⏸️ Mission paused: **Cluster health monitor** (mission-abc123)
The agent will no longer run this mission automatically.
To resume it, say: "resume mission mission-abc123"
Success Criteria
- Mission status updated to "paused"
- User receives confirmation
Failure Handling
- If mission not found: list available missions and ask for clarification
- If already paused: inform the user it is already paused
Examples
User: "Pause the cluster health monitor" User: "Stop mission mission-abc123" User: "Disable my daily news digest"