Skill Index

maestro-flow/

maestro-tools-execute

community[command]

Load and execute tool specs by category or name

$/plugin install maestro-flow

details

<purpose> Load registered tool documents and execute them step-by-step. Two invocation modes:
  1. Direct — Specify tool name, load full steps, execute sequentially
  2. 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 filter

Examples:

/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:

  1. Read current step description
  2. Execute step action (file ops, commands, code changes, etc.)
  3. Verify step completion
  4. Report progress: [Step N/M] done — <step_name>
  5. 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
</execution>

<error_codes>

CodeSeverityDescription
E001fatalNo matching tool found — check name/keyword
E002warningMultiple tools match — list options for user selection
E003warningStep 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

related