Agent skill · creative production · samuraigpt
muapi-workflow
Build, run, and visualize multi-step AI generation workflows. The AI architect translates natural language descriptions into connected node graphs — chain image generation, video creation, enhancement, and editing into automated pipelines.
Why this skill is useful
Adds 5 executable scripts for building and managing AI generation workflows that automate complex tasks.
What it needs
Requires muapi installed locally. About 4k tokens when loaded. Last updated 2026-08-04. 3,990 stars on the source repository.
What this skill does
AI Workflow Builder Chain any combination of muapi.ai generation steps into automated pipelines. The AI architect converts your plain-language description into a runnable node graph. Prerequisites Always ensure the muapi CLI is up-to-date before running any commands. Reinstall from source at the start of every session: Replace /path/to/muapi-cli with the actual path to the muapi-cli directory in the workspace (the directory containing pyproject.toml). Core Operations 1. Generate (generate-workflow.sh) — AI architect creates a workflow from a description 2. Discover (discover-workflow.sh) — Find a relevant existing workflow by natural language 3. Edit (generate-workflow.sh --workflow-id) — Modify an existing workflow with a prompt 4. Interactive Run (interactive-run.sh) — Prompt for inputs and execute a workflow 5. Run (run-workflow.sh) — Execute a workflow, poll node-by-node, collect outputs 6. CLI (muapi workflow) — Full CRUD + visualization directly from the terminal --- Agent Guided Discovery & Selection As an AI agent, you have the ability to read and understand the purpose of available workflows to select the best one for the user's task (e.g., "create a UGC video"). 1. Discover: Fetch the catalog of available workflows and their descriptions in JSON format. 2. Match (Internal Reasoning): Use your LLM capabilities to analyze the name, category, and description fields of the returned workflows. Find the best match for the user's intent. 3. Analyze: If you find a promising candidate, inspect its structure to ensure it has the necessary nodes and parameters. CRITICAL RULE: The output of muapi workflow get will include an "API Inputs" table. You MUST read this table to understand what inputs are required. 4. Choose & Confirm & Prompt User: If one workflow is a perfect match, you MUST ask the user to provide the exact values for the required API inputs before executing it. Never invent or guess input values (like prompts, URLs, etc.) on your own. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills samuraigpt/workflow