{
  "schemaVersion": "1.0",
  "item": {
    "slug": "imagemagick",
    "name": "ImageMagick Operations",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/kesslerio/imagemagick",
    "canonicalUrl": "https://clawhub.ai/kesslerio/imagemagick",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/imagemagick",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=imagemagick",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/remove-bg.sh",
      "skill.json"
    ],
    "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/imagemagick"
    },
    "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/imagemagick",
    "agentPageUrl": "https://openagent3.xyz/skills/imagemagick/agent",
    "manifestUrl": "https://openagent3.xyz/skills/imagemagick/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/imagemagick/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": "ImageMagick Moltbot Skill",
        "body": "Comprehensive ImageMagick operations for image manipulation in Moltbot."
      },
      {
        "title": "Installation",
        "body": "macOS:\n\nbrew install imagemagick\n\nLinux:\n\nsudo apt install imagemagick  # Debian/Ubuntu\nsudo dnf install ImageMagick  # Fedora\n\nVerify:\n\nconvert --version"
      },
      {
        "title": "1. Remove Background (white/solid color → transparent)",
        "body": "./scripts/remove-bg.sh input.png output.png [tolerance] [color]\n\nParameterDefaultRangeDescriptioninput.png——Source imageoutput.png——Output transparent PNGtolerance200-255Color matching fuzz factorcolor#FFFFFFhexColor to remove\n\nExamples:\n\n./scripts/remove-bg.sh icon.png icon-clean.png              # default white\n./scripts/remove-bg.sh icon.png icon-clean.png 30           # loose tolerance\n./scripts/remove-bg.sh icon.png icon-clean.png 10 \"#000000\" # remove black"
      },
      {
        "title": "2. Resize Image",
        "body": "convert input.png -resize 256x256 output.png"
      },
      {
        "title": "3. Convert Format",
        "body": "convert input.png output.webp          # PNG → WebP\nconvert input.jpg output.png           # JPG → PNG\nconvert input.png -quality 80 output.jpg  # Compress"
      },
      {
        "title": "4. Rounded Corners (iOS style)",
        "body": "convert input.png -alpha set -virtual pixel transparent \\\n    -distort viewport 512x512+0+0 \\\n    -channel A -blur 0x10 -threshold 50% \\\n    output-rounded.png"
      },
      {
        "title": "5. Add Watermark",
        "body": "convert base.png watermark.png -gravity southeast -composite output.png"
      },
      {
        "title": "6. Batch Thumbnail Generation",
        "body": "for f in *.png; do convert \"$f\" -resize 128x128 \"thumbs/$f\"; done"
      },
      {
        "title": "7. Color Adjustments",
        "body": "convert input.png -brightness-contrast 10x0 output.png      # brighter\nconvert input.png -grayscale output.png                     # grayscale\nconvert input.png -modulate 100,150,100 output.png          # more saturation"
      },
      {
        "title": "Flat Icon → Transparent Background",
        "body": "./scripts/remove-bg.sh icon.png icon-clean.png 15"
      },
      {
        "title": "Generate App Icon Set (iOS)",
        "body": "for size in 1024 512 256 128 64 32 16; do\n    convert icon.png -resize ${size}x${size} icon-${size}.png\ndone"
      },
      {
        "title": "Optimize for Web",
        "body": "convert large.png -quality 85 -resize 2000x2000\\> optimized.webp"
      },
      {
        "title": "Tips",
        "body": "Higher tolerance (20-50): Better for anti-aliased edges, may remove some foreground\nLower tolerance (5-15): Preserves detail, may leave color fringes\nFor flat icons: 10-20 usually works best\nUse -quality for JPEG/WebP compression (0-100)\nUse -strip to remove metadata for smaller files"
      }
    ],
    "body": "ImageMagick Moltbot Skill\n\nComprehensive ImageMagick operations for image manipulation in Moltbot.\n\nInstallation\n\nmacOS:\n\nbrew install imagemagick\n\n\nLinux:\n\nsudo apt install imagemagick  # Debian/Ubuntu\nsudo dnf install ImageMagick  # Fedora\n\n\nVerify:\n\nconvert --version\n\nAvailable Operations\n1. Remove Background (white/solid color → transparent)\n./scripts/remove-bg.sh input.png output.png [tolerance] [color]\n\nParameter\tDefault\tRange\tDescription\ninput.png\t—\t—\tSource image\noutput.png\t—\t—\tOutput transparent PNG\ntolerance\t20\t0-255\tColor matching fuzz factor\ncolor\t#FFFFFF\thex\tColor to remove\n\nExamples:\n\n./scripts/remove-bg.sh icon.png icon-clean.png              # default white\n./scripts/remove-bg.sh icon.png icon-clean.png 30           # loose tolerance\n./scripts/remove-bg.sh icon.png icon-clean.png 10 \"#000000\" # remove black\n\n2. Resize Image\nconvert input.png -resize 256x256 output.png\n\n3. Convert Format\nconvert input.png output.webp          # PNG → WebP\nconvert input.jpg output.png           # JPG → PNG\nconvert input.png -quality 80 output.jpg  # Compress\n\n4. Rounded Corners (iOS style)\nconvert input.png -alpha set -virtual pixel transparent \\\n    -distort viewport 512x512+0+0 \\\n    -channel A -blur 0x10 -threshold 50% \\\n    output-rounded.png\n\n5. Add Watermark\nconvert base.png watermark.png -gravity southeast -composite output.png\n\n6. Batch Thumbnail Generation\nfor f in *.png; do convert \"$f\" -resize 128x128 \"thumbs/$f\"; done\n\n7. Color Adjustments\nconvert input.png -brightness-contrast 10x0 output.png      # brighter\nconvert input.png -grayscale output.png                     # grayscale\nconvert input.png -modulate 100,150,100 output.png          # more saturation\n\nCommon Patterns\nFlat Icon → Transparent Background\n./scripts/remove-bg.sh icon.png icon-clean.png 15\n\nGenerate App Icon Set (iOS)\nfor size in 1024 512 256 128 64 32 16; do\n    convert icon.png -resize ${size}x${size} icon-${size}.png\ndone\n\nOptimize for Web\nconvert large.png -quality 85 -resize 2000x2000\\> optimized.webp\n\nTips\nHigher tolerance (20-50): Better for anti-aliased edges, may remove some foreground\nLower tolerance (5-15): Preserves detail, may leave color fringes\nFor flat icons: 10-20 usually works best\nUse -quality for JPEG/WebP compression (0-100)\nUse -strip to remove metadata for smaller files"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/kesslerio/imagemagick",
    "publisherUrl": "https://clawhub.ai/kesslerio/imagemagick",
    "owner": "kesslerio",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/imagemagick",
    "downloadUrl": "https://openagent3.xyz/downloads/imagemagick",
    "agentUrl": "https://openagent3.xyz/skills/imagemagick/agent",
    "manifestUrl": "https://openagent3.xyz/skills/imagemagick/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/imagemagick/agent.md"
  }
}