Community程式設計與開發github.com

AI 工作流程建構器

將 muapi.ai 的任何生成步驟組合到自動化管道中。AI 架構師會將您的純語言描述轉換為可執行的節點圖。

AI 工作流程建構器 是什麼?

AI 工作流程建構器(AI Workflow Builder)是一項技能,可讓 AI 代理透過 muapi.ai 的 CLI 和 MCP 工具,將多個生成步驟(例如文字、圖像、影片、音訊)組合到自動化管道中。它支援 Claude Code、Cursor、Codex 和其他基於終端機的代理。該技能提供了發現、建立、檢視、編輯和執行工作流程的操作。其核心功能包括 AI 驅動的架構設計(將自然語言轉換為節點圖)、代理引導的工作流程發現(模型會根據用戶意圖分析目錄)以及互動式執行。工作流程可以包含 muapi.ai 節點的任何組合,輸出會自動連接到下游節點。該技能強調代理在使用者確認之前,必須先使用 `discover` 和 `get` 命令識別並分析工作流程,然後提示使用者提供確切的 API 輸入值,絕不允許猜測輸入。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add majiayu000/claude-skill-registry-data

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

AI 工作流程建構器 是做什麼的?

將 muapi.ai 的任何生成步驟組合到自動化管道中。AI 架構師會將您的純語言描述轉換為可執行的節點圖。

先決條件

在執行任何命令之前,務必確保 muapi CLI 是最新版本。請在每次工作階段開始時從原始碼重新安裝:

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

將 /path/to/muapi-cli 替換為工作區中 muapi-cli 目錄的實際路徑(包含 pyproject.toml 的目錄)。

核心操作

  1. 生成 (generate-workflow.sh) — AI 架構師根據描述建立工作流程
  2. 發現 (discover-workflow.sh) — 透過自然語言尋找相關的現有工作流程
  3. 編輯 (generate-workflow.sh --workflow-id) — 使用提示修改現有工作流程
  4. 互動式執行 (interactive-run.sh) — 提示輸入並執行工作流程
  5. 執行 (run-workflow.sh) — 執行工作流程,逐節點輪詢,收集輸出
  6. CLI (muapi workflow) — 直接在終端機中進行完整的 CRUD 操作 + 視覺化

代理引導的發現與選擇

作為 AI 代理,您可以讀取並理解可用工作流程的目的,以選擇最適合用戶任務(例如「創建一個 UGC 影片」)的工作流程。

  1. 發現:以 JSON 格式擷取可用工作流程及其描述的目錄。
    muapi workflow discover --output-json
    
  2. 匹配(內部推理):使用您的 LLM 能力分析傳回工作流程的 name、category 和 description 欄位。為用戶的意圖找到最佳匹配。
  3. 分析:如果找到有希望的候選對象,請檢查其結構以確保它具有必要的節點和參數。
    muapi workflow get <workflow_id>
    
    關鍵規則:muapi workflow get 的輸出將包含一個「API 輸入」表格。您必須閱讀此表格以了解需要哪些輸入。
  4. 選擇、確認並提示使用者:
    • 如果一個工作流程是完美匹配,您必須要求使用者提供所需 API 輸入的確切值,然後再執行。切勿自行憑空發明或猜測輸入值(例如提示、URL 等)。
    • 如果多個工作流程高度相關,請將選項及其描述呈現給使用者,並要求他們確認要使用哪一個,同時也要求提供所需的輸入。
    • 如果沒有工作流程符合使用者的複雜請求,請提供使用 muapi workflow create 架構一個新工作流程的選項。

代理推理範例

「使用者想要一個產品宣傳影片。我使用 discover 擷取了目錄。我看到兩個潛在的工作流程:

  1. wf_123:'帶背景音樂的產品宣傳'
  2. wf_456:'簡單影片生成' 我將使用 get 分析 wf_123。它具有所需的節點。我將建議 wf_123,如果匹配精確則直接執行。」

協議:建立工作流程

步驟 1 — 描述您的管道

muapi workflow create "取得文字提示,使用 flux-dev 生成圖像,然後將其放大至 4K"

架構師會傳回一個具有唯一 ID 和節點圖的工作流程。儲存此 ID。

步驟 2 — 檢查與視覺化

# 在終端機中顯示豐富的 ASCII 節點圖
muapi workflow get <workflow_id>

# 或原始 JSON
muapi workflow get <workflow_id> --output-json

步驟 3 — 執行

# 使用特定輸入執行
muapi workflow execute <workflow_id> \
  --input "node1.prompt=午夜中閃爍的水晶洞穴"

# 使用 --download 將結果拉到本地
muapi workflow execute <workflow_id> \
  --input "node1.prompt=夕陽" \
  --download ./outputs

步驟 4 — 發現(可選)

如果您想重複使用現有工作流程而不是建立新的:

# 使用關鍵字搜尋
muapi workflow discover "ugc 影片"

步驟 5 — 互動式執行

執行工作流程並讓 CLI 提示您輸入每個必需的輸入:

muapi workflow run-interactive <workflow_id>

工作流程範例

圖像管道

# 文字 → 圖像 → 放大
muapi workflow create "取得文字提示,使用 flux-dev 生成,放大結果"

# 文字 → 圖像 → 去背 → 產品照片
muapi workflow create "使用 hidream 生成產品圖像,移除背景,創建專業產品照片"

影片管道

# 文字 → 影片
muapi workflow create "使用 kling-master 從文字提示生成 10 秒電影級影片"

# 圖像 → 影片 → 唇形同步
muapi workflow create "使用 seedance 對輸入圖像進行動畫處理,然後從音訊檔案套用唇形同步"

編輯現有工作流程

# 新增步驟
muapi workflow edit <id> --prompt "在圖像生成步驟之後新增一個換臉步驟"

# 切換模型
muapi workflow edit <id> --prompt "將影片模型從 kling 更改為 veo3"

CLI 參考

# 列出所有工作流程
muapi workflow list

# 瀏覽範本
muapi workflow templates

# 生成新的工作流程
muapi workflow create "文字 → flux 圖像 → 放大 → 換臉"

# 視覺化工作流程
muapi workflow get <id>

# 使用輸入執行
muapi workflow execute <id> --input "node1.prompt=夕陽"

# 監控執行
muapi workflow status <run_id>

# 取得輸出
muapi workflow outputs <run_id> --download ./results

# 使用 AI 編輯
muapi workflow edit <id> --prompt "在結尾新增唇形同步"

# 重新命名 / 刪除
muapi workflow rename <id> --name "產品管線 v2"
muapi workflow delete <id>

MCP 工具(適用於 AI 代理)

工具描述
muapi_workflow_list列出使用者的工作流程
muapi_workflow_createAI 架構師:提示 → 工作流程
muapi_workflow_get取得工作流程定義 + 節點圖
muapi_workflow_execute使用特定輸入執行
muapi_workflow_status逐節點執行狀態
muapi_workflow_outputs最終輸出 URL

限制

  • 工作流程可以包含 muapi.ai 節點的任何組合(圖像、影片、音訊、增強、編輯)
  • 節點輸出會自動作為輸入連接到下游節點
  • --sync 模式最多等待 120 秒進行生成;對於複雜工作流程,請使用 --async 並單獨輪詢
  • 執行逾時:每個工作流程執行最長 10 分鐘

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD agents while maintaining compliance

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Edit existing BMAD modules while maintaining coherence

majiayu000/claude-skill-registry-data

Analyzes current state and user query to answer BMad questions or recommend the next workflow or agent. Use when user says what should I do next, what do I do now, or asks a question about BMad

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Build AI agents with Google ADK Python (Agent Development Kit). Use for multi-agent systems, workflow agents (sequential/parallel/loop), Vertex AI deployment, tool integration, human-in-the-loop.

majiayu000/claude-skill-registry-data

Portfolio allocation and rebalancing optimizer. Manages asset allocation across stocks/cash/bonds, performs periodic rebalancing, and ensures diversification according to market regime and risk tolerance.

majiayu000/claude-skill-registry-data

Create a hilarious and ultra-realistic video of an anthropomorphic animal acting like a human vlogger in a real-world setting.

majiayu000/claude-skill-registry-data

Speech-to-text transcription and translation via OpenAI Audio API -- models, response formats, timestamps, prompting, streaming, chunking, and diarization

majiayu000/claude-skill-registry-data

This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.

majiayu000/claude-skill-registry-data

小省导购员数字人带货版即梦视频提示词生成系统,基于四大智能体协同(提示词生成师、质量管控师、知识库运维师、跨环节适配师),按照"主体+运动+场景+(镜头语言+光影+氛围)"公式输出中英文双版提示词,适配5s短视频。确保人物一致性、视觉连贯性、情绪连贯性,支持知识库智能复用和跨工具适配(Suno音乐、AI绘画),为数字人带货视频提供高质量提示词生成服务。

majiayu000/claude-skill-registry-data

Upload and manage files using Google Gemini File API via scripts/. Use for uploading images, audio, video, PDFs, and other files for use with Gemini models. Supports file upload, status checking, and file management. Triggers on "upload file", "file API", "upload image", "upload PDF", "upload video", "file management".

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Analyze images/audio/video with Gemini API (better vision than Claude). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.

majiayu000/claude-skill-registry-data

Skill for discovering and researching autonomous AI agents, tools, and ecosystems using the AgentFolio directory.

majiayu000/claude-skill-registry-data

Conduct domain and industry research. Use when the user says "lets create a research report on [domain or industry]

majiayu000/claude-skill-registry-data

Conduct market research on competition and customers. Use when the user says "create a market research report about [business idea]".

majiayu000/claude-skill-registry-data

Conduct technical research on technologies and architecture. Use when the user says "create a technical research report on [topic]".

majiayu000/claude-skill-registry-data

Builds, edit or validate Agent Skill through conversational discovery. Use when the user requests to "Create an Agent", "Optimize an Agent" or "Edit an Agent".

相關技能