Plan request

From stevehuang0115/crewly · View interactive version

Plan request is an AI agent skill from the GitHub repository stevehuang0115/crewly. Analyze a user request and get a list of proposed ProjectTasks via the V3 Request Plan API.

How to use this skill

Skill file

Plan Request

Analyze a user request message and get a list of proposed ProjectTasks via the POST /api/requests/plan endpoint. This allows agents (orchestrator or sub-agents) to decompose a user request into structured, actionable tasks.

Parameters

| Flag | JSON Field | Required | Description |

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

| --message / -m | message | Yes | The user request message to decompose |

| --max-tasks | options.maxTasks | No | Maximum number of tasks to generate |

| --default-priority | options.defaultPriority | No | Default priority for tasks: high, medium, low |

Examples — CLI Flags (preferred)

# Basic plan
bash execute.sh --message "Build a new authentication system with OAuth2 support"

# Plan with options
bash execute.sh --message "Fix all failing tests in the auth module" \
  --max-tasks 10 --default-priority high

Examples — Legacy JSON (backward compatible)

bash execute.sh '{"message":"Build a search feature","options":{"maxTasks":5,"defaultPriority":"medium"}}'

Output

JSON response with a RequestPlan containing:

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.