{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mulerouter-skills",
    "name": "Mulerouter",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Misaka43fd/mulerouter-skills",
    "canonicalUrl": "https://clawhub.ai/Misaka43fd/mulerouter-skills",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/mulerouter-skills",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mulerouter-skills",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "core/__init__.py",
      "core/client.py",
      "core/config.py",
      "core/image.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/mulerouter-skills"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/mulerouter-skills",
    "agentPageUrl": "https://openagent3.xyz/skills/mulerouter-skills/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mulerouter-skills/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mulerouter-skills/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "MuleRouter API",
        "body": "Generate images and videos using MuleRouter or MuleRun multimodal APIs."
      },
      {
        "title": "Configuration Check",
        "body": "Before running any commands, verify the environment is configured:"
      },
      {
        "title": "Step 1: Check for existing configuration",
        "body": "# Check environment variables\necho \"MULEROUTER_BASE_URL: $MULEROUTER_BASE_URL\"\necho \"MULEROUTER_SITE: $MULEROUTER_SITE\"\necho \"MULEROUTER_API_KEY: ${MULEROUTER_API_KEY:+[SET]}\"\n\n# Check for .env file\nls -la .env 2>/dev/null || echo \"No .env file found\""
      },
      {
        "title": "Step 2: Configure if needed",
        "body": "Option A: Environment variables with custom base URL (highest priority)\n\nexport MULEROUTER_BASE_URL=\"https://api.mulerouter.ai\"  # or your custom API endpoint\nexport MULEROUTER_API_KEY=\"your-api-key\"\n\nOption B: Environment variables with site (used if base URL not set)\n\nexport MULEROUTER_SITE=\"mulerun\"    # or \"mulerouter\"\nexport MULEROUTER_API_KEY=\"your-api-key\"\n\nOption C: Create .env file\n\nCreate .env in the current working directory:\n\n# Option 1: Use custom base URL (takes priority over SITE)\nMULEROUTER_BASE_URL=https://api.mulerouter.ai\nMULEROUTER_API_KEY=your-api-key\n\n# Option 2: Use site (if BASE_URL not set)\n# MULEROUTER_SITE=mulerun\n# MULEROUTER_API_KEY=your-api-key\n\nNote: MULEROUTER_BASE_URL takes priority over MULEROUTER_SITE. If both are set, MULEROUTER_BASE_URL is used.\n\nNote: The tool only reads .env from the current directory. Run scripts from the skill root (skills/mulerouter-skills/)."
      },
      {
        "title": "Step 3: Using uv to run scripts",
        "body": "The skill uses uv for dependency management and execution. Make sure uv is installed and available in your PATH.\n\nRun uv sync to install dependencies."
      },
      {
        "title": "1. List available models",
        "body": "uv run python scripts/list_models.py"
      },
      {
        "title": "2. Check model parameters",
        "body": "uv run python models/alibaba/wan2.6-t2v/generation.py --list-params"
      },
      {
        "title": "3. Generate content",
        "body": "Text-to-Video:\n\nuv run python models/alibaba/wan2.6-t2v/generation.py --prompt \"A cat walking through a garden\"\n\nText-to-Image:\n\nuv run python models/alibaba/wan2.6-t2i/generation.py --prompt \"A serene mountain lake\"\n\nImage-to-Video:\n\nuv run python models/alibaba/wan2.6-i2v/generation.py --prompt \"Gentle zoom in\" --image \"https://example.com/photo.jpg\" #remote image url\n\nuv run python models/alibaba/wan2.6-i2v/generation.py --prompt \"Gentle zoom in\" --image \"/path/to/local/image.png\" #local image path"
      },
      {
        "title": "Image Input",
        "body": "For image parameters (--image, --images, etc.), prefer local file paths over base64.\n\n# Preferred: local file path (auto-converted to base64)\n--image /tmp/photo.png\n\n--images [\"/tmp/photo.png\"]\n\nThe skill automatically converts local file paths to base64 before sending to the API. This avoids command-line length limits that occur with raw base64 strings."
      },
      {
        "title": "Workflow",
        "body": "Check configuration: verify MULEROUTER_BASE_URL or MULEROUTER_SITE, and MULEROUTER_API_KEY are set\nInstall dependencies: run uv sync\nRun uv run python scripts/list_models.py to discover available models\nRun uv run python models/<path>/<action>.py --list-params to see parameters\nExecute with appropriate parameters\nParse output URLs from results"
      },
      {
        "title": "Tips",
        "body": "For an image generation model, a suggested timeout is 5 minutes.\nFor a video generation model, a suggested timeout is 15 minutes."
      },
      {
        "title": "References",
        "body": "REFERENCE.md - API configuration and CLI options\nMODELS.md - Complete model specifications"
      }
    ],
    "body": "MuleRouter API\n\nGenerate images and videos using MuleRouter or MuleRun multimodal APIs.\n\nConfiguration Check\n\nBefore running any commands, verify the environment is configured:\n\nStep 1: Check for existing configuration\n# Check environment variables\necho \"MULEROUTER_BASE_URL: $MULEROUTER_BASE_URL\"\necho \"MULEROUTER_SITE: $MULEROUTER_SITE\"\necho \"MULEROUTER_API_KEY: ${MULEROUTER_API_KEY:+[SET]}\"\n\n# Check for .env file\nls -la .env 2>/dev/null || echo \"No .env file found\"\n\nStep 2: Configure if needed\n\nOption A: Environment variables with custom base URL (highest priority)\n\nexport MULEROUTER_BASE_URL=\"https://api.mulerouter.ai\"  # or your custom API endpoint\nexport MULEROUTER_API_KEY=\"your-api-key\"\n\n\nOption B: Environment variables with site (used if base URL not set)\n\nexport MULEROUTER_SITE=\"mulerun\"    # or \"mulerouter\"\nexport MULEROUTER_API_KEY=\"your-api-key\"\n\n\nOption C: Create .env file\n\nCreate .env in the current working directory:\n\n# Option 1: Use custom base URL (takes priority over SITE)\nMULEROUTER_BASE_URL=https://api.mulerouter.ai\nMULEROUTER_API_KEY=your-api-key\n\n# Option 2: Use site (if BASE_URL not set)\n# MULEROUTER_SITE=mulerun\n# MULEROUTER_API_KEY=your-api-key\n\n\nNote: MULEROUTER_BASE_URL takes priority over MULEROUTER_SITE. If both are set, MULEROUTER_BASE_URL is used.\n\nNote: The tool only reads .env from the current directory. Run scripts from the skill root (skills/mulerouter-skills/).\n\nStep 3: Using uv to run scripts\n\nThe skill uses uv for dependency management and execution. Make sure uv is installed and available in your PATH.\n\nRun uv sync to install dependencies.\n\nQuick Start\n1. List available models\nuv run python scripts/list_models.py\n\n2. Check model parameters\nuv run python models/alibaba/wan2.6-t2v/generation.py --list-params\n\n3. Generate content\n\nText-to-Video:\n\nuv run python models/alibaba/wan2.6-t2v/generation.py --prompt \"A cat walking through a garden\"\n\n\nText-to-Image:\n\nuv run python models/alibaba/wan2.6-t2i/generation.py --prompt \"A serene mountain lake\"\n\n\nImage-to-Video:\n\nuv run python models/alibaba/wan2.6-i2v/generation.py --prompt \"Gentle zoom in\" --image \"https://example.com/photo.jpg\" #remote image url\n\nuv run python models/alibaba/wan2.6-i2v/generation.py --prompt \"Gentle zoom in\" --image \"/path/to/local/image.png\" #local image path\n\nImage Input\n\nFor image parameters (--image, --images, etc.), prefer local file paths over base64.\n\n# Preferred: local file path (auto-converted to base64)\n--image /tmp/photo.png\n\n--images [\"/tmp/photo.png\"]\n\n\nThe skill automatically converts local file paths to base64 before sending to the API. This avoids command-line length limits that occur with raw base64 strings.\n\nWorkflow\nCheck configuration: verify MULEROUTER_BASE_URL or MULEROUTER_SITE, and MULEROUTER_API_KEY are set\nInstall dependencies: run uv sync\nRun uv run python scripts/list_models.py to discover available models\nRun uv run python models/<path>/<action>.py --list-params to see parameters\nExecute with appropriate parameters\nParse output URLs from results\nTips\nFor an image generation model, a suggested timeout is 5 minutes.\nFor a video generation model, a suggested timeout is 15 minutes.\nReferences\nREFERENCE.md - API configuration and CLI options\nMODELS.md - Complete model specifications"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Misaka43fd/mulerouter-skills",
    "publisherUrl": "https://clawhub.ai/Misaka43fd/mulerouter-skills",
    "owner": "Misaka43fd",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mulerouter-skills",
    "downloadUrl": "https://openagent3.xyz/downloads/mulerouter-skills",
    "agentUrl": "https://openagent3.xyz/skills/mulerouter-skills/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mulerouter-skills/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mulerouter-skills/agent.md"
  }
}