Create mission

From stevehuang0115/crewly · View interactive version

Create mission is an AI agent skill from the GitHub repository stevehuang0115/crewly. Create a new Mission with objective, success criteria, and strategy.

How to use this skill

Skill file

Create Mission

Create a new Mission via the /api/missions endpoint. Missions define high-level objectives with success criteria and strategy, enabling team leads and agents to autonomously set goals.

Parameters

| Flag | JSON Field | Required | Description |

|------|-----------|----------|-------------|

| --objective / -o | objective | Yes | The mission objective (what to achieve) |

| --owner-team-id / -t | ownerTeamId | Yes | Team ID that owns this mission |

| --success-criteria / -c | successCriteria | Yes | JSON array of success criteria strings |

| --strategy / -s | currentStrategy | Yes | Description of the current strategy |

| --cadence | cadence | No | Cadence string (e.g. daily, weekly) |

| --policy | policy | No | JSON object for mission policy overrides |

Examples — CLI Flags (preferred)

# Create a basic mission
bash execute.sh --objective "Deliver V3 architecture" \
  --owner-team-id "817a1aeb-b04e-45dd-bdbc-be5cbc4345f1" \
  --success-criteria '["All V3 services implemented","100% test coverage","Zero regressions"]' \
  --strategy "Incremental migration with parallel V2 support"

# Create with cadence and policy
bash execute.sh --objective "Weekly code quality audit" \
  --owner-team-id "team-123" \
  --success-criteria '["All critical issues resolved","Test coverage above 80%"]' \
  --strategy "Automated scanning with manual review" \
  --cadence "weekly" \
  --policy '{"maxBudget":1000,"autoEscalate":true}'

Examples — Legacy JSON (backward compatible)

bash execute.sh '{"objective":"Ship V3","ownerTeamId":"team-123","successCriteria":["All services migrated"],"currentStrategy":"Incremental migration"}'

Output

JSON response from the missions API with the created Mission object, including its generated ID, status, and policy.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.