Msmodeling text generate executor

From kali20gakki/msAgent · View interactive version

Msmodeling text generate executor is an AI agent skill from the GitHub repository kali20gakki/msAgent. Interactively gather parameters for `python -m cli.inference.text_generate`, generate a concrete text generation simulation command, explain assumptions, ask for execution confirmation, then run the command and summarize performance metrics. Use when the user wants to validate a specific model, hard

How to use this skill

Skill file

Text Generate Executor

Use this skill to turn a text generation validation request into a confirmed text_generate run and concise performance summary.

Workflow

  1. Read the local text_generate implementation or --help output when the repository is available and parameter behavior needs verification.
  2. Ask only for missing inputs. Keep the dialog progressive; do not dump the full parameter list at once.
  3. Build a candidate command and show a short parameter summary.
  4. After the candidate command is ready, always explain optional Debug/Trace switches and ask whether to add any of them.
  5. Highlight validation issues or assumptions before execution.
  6. Ask for explicit confirmation before running the command.
  7. Run the command from the repository root when the repo is available.
  8. Parse and summarize the result.

Context And Suggestion Hard Rules

Question Flow

Follow the branching rules in references/dialog-flow.md.

Always collect these core inputs first:

Then branch:

Defaults And Confirmation Rules

Use the parameter guidance in references/text-generate-params.md.

Apply these rules:

Validation Rules

Before execution, check these conditions and call them out clearly:

Execution Pattern

When the user confirms execution:

  1. Print the exact command you will run.
  2. Run it from the repository root when the repo is available.
  3. Capture combined stdout and stderr.
  4. Extract key metrics and table rows from the output when available.
  5. Return a concise summary with:

Result Summary Requirements

After a successful run, always include:

These results come from text_generate simulation and are for validation/planning reference only. Actual performance depends on runtime, topology, software stack, model implementation, and real traffic patterns, so validate with real workload testing before final deployment decisions.

Failure Handling

If execution fails:

Handoff

If the user wants to search for the best deployment strategy, use the msmodeling-throughput-optimizer-executor skill.

If the user asks whether optimizer results are reasonable, why hardware results differ, or how a best row maps to text_generate validation, use the throughput-optimizer-explainer skill.

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.