maestro-tools-execute
Load and execute tool specs by category or name
/plugin install maestro-flowdetails
- Direct — Specify tool name, load full steps, execute sequentially
- Category-based — List available tools for a category, user selects, then execute
Execution follows the tool definition steps in order, reporting progress per step and asking user on blockers. </purpose>
<required_reading> @~/.maestro/workflows/tools-spec.md </required_reading>
<context> $ARGUMENTS — Tool name, keyword, or --category filterExamples:
/maestro-tools-execute integration-test
/maestro-tools-execute --category coding
/maestro-tools-execute --category review --keyword api
/maestro-tools-execute
Empty arguments enters interactive mode: list all tools for user selection. </context>
<execution>Step 1: Load Tool
By name:
maestro spec load --category coding --keyword <name>
Match knowhow documents with tool: true whose title or keywords contain the name.
By category:
maestro spec load --category <category>
Extract tool entries from the "Available Tools" section in output.
Empty args: Load all categories, collect tool entries, present to user with AskUserQuestion for selection.
Step 2: Display Tool
Show tool information:
- Name, category, keywords
- Steps overview (for ref entries, expand knowhow detail first)
Expand ref entries:
maestro wiki load <knowhow-id>
Step 3: Confirm Execution
Ask user:
- Execute steps as-is?
- Adjust parameters/scope?
- View only, do not execute?
Step 4: Step-by-Step Execution
Follow the tool definition steps in order:
- Read current step description
- Execute step action (file ops, commands, code changes, etc.)
- Verify step completion
- Report progress:
[Step N/M] done — <step_name> - Proceed to next step
Blocker handling:
- Step fails → report error, ask user: retry / skip / abort
- Needs user input → AskUserQuestion for parameters
- Prerequisites unmet → show missing items, ask how to proceed
Step 5: Report Results
After completion, output:
- Completed steps list
- Skipped/failed steps (if any)
- Artifacts produced (generated files, test results, etc.)
- Suggested next actions
<error_codes>
| Code | Severity | Description |
|---|---|---|
| E001 | fatal | No matching tool found — check name/keyword |
| E002 | warning | Multiple tools match — list options for user selection |
| E003 | warning | Step execution failed — ask user how to proceed |
| </error_codes> |
<success_criteria>
- Tool correctly loaded (ref expanded if applicable)
- User confirmed before execution starts
- Each step has progress feedback
- Blockers handled interactively
- Results reported clearly </success_criteria>
technical
- github
- catlog22/maestro-flow
- stars
- 340
- license
- unspecified
- contributors
- 1
- last commit
- 2026-05-25T02:58:12Z
- file
- .claude/commands/maestro-tools-execute.md