run-prompt
Installation
SKILL.md
Execute prompt(s) from the ./prompts/ directory.
Usage
Arguments: $ARGUMENTS
Parse the arguments to determine:
- Prompt number(s): One or more 3-digit numbers (e.g., 001, 002, 003)
- Execution mode:
--parallelor--sequential(default: sequential) - Model override:
--model ...(accepted for compatibility; ignore unless the available execution tool supports model selection) - Effort override:
--effort low|medium|high|xhigh|max(accepted for compatibility; treat as advisory unless the available execution tool supports effort controls) - Auto mode:
--auto(accepted for compatibility; Codex has no slash-command auto mode, so report that it is unavailable and continue manually)
Execution Steps
- Parse arguments to extract prompt numbers, execution mode, model override, effort override, and auto flag
- Locate prompt files in ./prompts/ matching the pattern
[number]-*.md - Read each prompt file to get the prompt content. Effort precedence: CLI flag > prompt-file hint (e.g.,
Run at xhighor YAML frontmattereffort:) > session default. - Execute prompts according to the specified mode