Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create a new proactive background mission for the Nexus agent. A mission is a scheduled, autonomous task that the agent executes on a cron schedule without user interaction. Use this skill when the user asks to monitor something automatically, run a recurring check, or set up a background task. Keywords: mission, create, schedule, monitor, background, recurring, automatic, proactive, cron, periodic.
.claude/skills/majiayu000-create-mission/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | -20% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 94% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -33% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 11% | 0% |
Creates a new proactive background mission that the Nexus agent will execute autonomously on a schedule.
Before applying this skill, verify:
Extract from the user's request:
yamltitle: Short human-readable title (max 80 chars) goal: Natural language description of what the agent should do schedule: Cron expression (default: "0 * * * *" = every hour) mcp_policy: "nexus" for safe missions, "nexus-proactive" for cluster access max_tool_calls: 1-50 (default: 20) notify_on: ["anomaly", "error"] — when to notify the user
Schedule reference: | Schedule | Cron Expression | |---|---| | Every 5 minutes | */5 * * * * | | Every 15 minutes | */15 * * * * | | Every 30 minutes | */30 * * * * | | Every hour | 0 * * * * | | Every 6 hours | 0 */6 * * * | | Twice daily | 0 9,21 * * * | | Daily at 9am | 0 9 * * * | | Weekly Monday | 0 9 * * 1 |
Policy reference:
nexus — memory, skills, fetch (safe, no cluster access)nexus-proactive — adds kubernetes, discord, temporal (for monitoring missions)notify_on options:
always — notify after every runanomaly — notify when the agent flags something unusualerror — notify when the mission failscompletion — notify when the mission completesnever — silent modeCall the create_mission_activity Temporal activity:
pythonresult = await temporal_client.execute_activity( "create_mission_activity", { "user_id": user_id, "title": title, "goal": goal, "schedule": schedule, "mcp_policy": mcp_policy, "max_tool_calls": max_tool_calls, "notify_on": notify_on, } )
Respond with a confirmation that includes:
The skill succeeds when:
If creation fails:
User request: "Monitor my cluster health every 30 minutes and alert me if anything is wrong"
Extracted parameters:
json{ "title": "Cluster health monitor", "goal": "Check the overall health of the Kubernetes cluster. Look for pods in CrashLoopBackOff or Error state, nodes with high resource usage, and any recent events that indicate problems. Flag anything that requires attention.", "schedule": "*/30 * * * *", "mcp_policy": "nexus-proactive", "max_tool_calls": 15, "notify_on": ["anomaly", "error"] }
Response to user:
✅ Mission created: **Cluster health monitor** (mission-abc123)
The agent will check your cluster health every 30 minutes, starting at 14:30.
You'll be notified if any anomalies are found or if the mission encounters an error.
To manage this mission:
- Pause: "pause mission mission-abc123"
- View history: "show mission history for mission-abc123"
- Delete: "delete mission mission-abc123"Other measured skills in the registry, with their headline benchmark lift.