Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

muapi-workflowmuapi 工作流程

Agent Skill

muapi-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,536

周安装

189

GitHub Stars

3,136

下载量

1,512
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:muapi-workflow(muapi 工作流程)
来源仓库:https://github.com/samuraigpt/generative-media-skills
仓库路径:skills/muapi-workflow
安装命令:
npx skills add https://github.com/samuraigpt/generative-media-skills --skill muapi-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/samuraigpt/generative-media-skills --skill muapi-workflow

简介

muapi-workflow 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索场景。
  • 通过 npx skills add 命令从 samuraigpt/generative-media-skills 仓库安装使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

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:

pip install --upgrade /path/to/muapi-cli

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. muapi workflow discover --output-json
  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. muapi workflow get <workflow_id> 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. - If multiple workflows are highly relevant, present the options to the user with their descriptions and ask them to confirm which one to use, and also ask for the required inputs. - If no workflow matches the user's complex request, offer to architect a new one using muapi workflow create.

Example Agent Reasoning

"The user wants a product promo video. I fetched the catalog using discover. I see two potential workflows: 1. wf_123: 'Product promo with background music' 2. wf_456: 'Simple video gen' I will analyze wf_123 with get. It has the required nodes. I will suggest wf_123 or just run it if the match is precise."

Protocol: Building a Workflow

Step 1 — Describe your pipeline

muapi workflow create "take a text prompt, generate an image with flux-dev, then upscale it to 4K"

The architect returns a workflow with a unique ID and a node graph. Save the ID.

Step 2 — Inspect and visualize

# Rich ASCII node graph in the terminal
muapi workflow get <workflow_id>

# Or raw JSON
muapi workflow get <workflow_id> --output-json

Step 3 — Run it

# Run with specific inputs
muapi workflow execute <workflow_id> \
  --input "node1.prompt=a glowing crystal cave at midnight"

# Use --download to pull results locally
muapi workflow execute <workflow_id> \
  --input "node1.prompt=a sunset" \
  --download ./outputs

Step 4 — Discovery (Optional)

If you want to reuse an existing workflow instead of creating a new one:

# Search by keywords
muapi workflow discover "ugc video"

Step 5 — Interactive Execution

Run a workflow and have the CLI prompt you for each required input:

muapi workflow run-interactive <workflow_id>

Workflow Examples

Image Pipelines

# Text → Image → Upscale
muapi workflow create "take a text prompt, generate with flux-dev, upscale the result"

# Text → Image → Background removal → Product shot
muapi workflow create "generate a product image with hidream, remove background, create professional product shot"

Video Pipelines

# Text → Video
muapi workflow create "generate a 10-second cinematic video from a text prompt using kling-master"

# Image → Video → Lipsync
muapi workflow create "animate an input image with seedance, then apply lipsync from an audio file"

Editing an Existing Workflow

# Add a step
muapi workflow edit <id> --prompt "add a face-swap step after the image generation"

# Swap a model
muapi workflow edit <id> --prompt "change the video model from kling to veo3"

CLI Reference

# List all your workflows
muapi workflow list

# Browse templates
muapi workflow templates

# Generate new workflow
muapi workflow create "text → flux image → upscale → face swap"

# Visualize a workflow
muapi workflow get <id>

# Execute with inputs
muapi workflow execute <id> --input "node1.prompt=a sunset"

# Monitor a run
muapi workflow status <run_id>

# Get outputs
muapi workflow outputs <run_id> --download ./results

# Edit with AI
muapi workflow edit <id> --prompt "add lipsync at the end"

# Rename / delete
muapi workflow rename <id> --name "Product Pipeline v2"
muapi workflow delete <id>

MCP Tools (for AI agents)

ToolDescription
muapi_workflow_listList user's workflows
muapi_workflow_createAI architect: prompt → workflow
muapi_workflow_getGet workflow definition + node graph
muapi_workflow_executeRun with specific inputs
muapi_workflow_statusNode-by-node run status
muapi_workflow_outputsFinal output URLs

Constraints

  • Workflows can contain any combination of muapi.ai nodes (image, video, audio, enhance, edit)
  • Node outputs are automatically wired as inputs to downstream nodes
  • --sync mode waits up to 120s for generation; use --async for complex workflows and poll separately
  • Run timeouts: 10 minutes maximum per workflow execution

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.47%
按下载量换算521

Claude

30.5%
按下载量换算461

Cursor

18.81%
按下载量换算284

Gemini CLI

8.47%
按下载量换算128

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/samuraigpt/generative-media-skills --skill muapi-workflow 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills