{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pymupdf",
    "name": "pymupdf",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Maverick-AI-Tech/pymupdf",
    "canonicalUrl": "https://clawhub.ai/Maverick-AI-Tech/pymupdf",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/pymupdf",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pymupdf",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "agents/openai.yaml",
      "scripts/pymupdf_cli.py",
      "SKILL.md"
    ],
    "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. 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. 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/pymupdf"
    },
    "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/pymupdf",
    "agentPageUrl": "https://openagent3.xyz/skills/pymupdf/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pymupdf/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pymupdf/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "pymupdf",
        "body": "Use scripts/pymupdf_cli.py for deterministic pymupdf operations instead of ad-hoc fitz snippets."
      },
      {
        "title": "Workflow",
        "body": "Confirm the PDF file path is accessible locally.\nRun the desired command (export-images, extract-images, info).\nInspect the output directory or stdout."
      },
      {
        "title": "Command Guide",
        "body": "Export pages as images:\n\npython scripts/pymupdf_cli.py export-images --input <file.pdf> --output-dir <dir/>\nOverride format: --format png (default), jpg, or ppm.\nOverride resolution: --dpi 300 (default: 150).\nRestrict to specific pages: --pages 0 1 2.\n\n\nExtract images embedded inside a PDF:\n\npython scripts/pymupdf_cli.py extract-images --input <file.pdf> --output-dir <dir/>\nOptionally restrict to specific pages: --pages 0 1 2.\n\n\nInspect page dimensions and basic document info:\n\npython scripts/pymupdf_cli.py info --input <file.pdf>"
      },
      {
        "title": "Operational Rules",
        "body": "Pages are always 0-indexed in all commands.\nexport-images renders each page as a raster image at the specified DPI.\nextract-images saves raw image streams embedded in the PDF (e.g. photos, logos); output filenames include page index and image index.\nInstall dependency if missing: pip install pymupdf.\nFor text extraction, splitting, merging, or rotating PDFs, use the pypdf skill instead."
      }
    ],
    "body": "pymupdf\n\nUse scripts/pymupdf_cli.py for deterministic pymupdf operations instead of ad-hoc fitz snippets.\n\nWorkflow\nConfirm the PDF file path is accessible locally.\nRun the desired command (export-images, extract-images, info).\nInspect the output directory or stdout.\nCommand Guide\nExport pages as images:\npython scripts/pymupdf_cli.py export-images --input <file.pdf> --output-dir <dir/>\nOverride format: --format png (default), jpg, or ppm.\nOverride resolution: --dpi 300 (default: 150).\nRestrict to specific pages: --pages 0 1 2.\nExtract images embedded inside a PDF:\npython scripts/pymupdf_cli.py extract-images --input <file.pdf> --output-dir <dir/>\nOptionally restrict to specific pages: --pages 0 1 2.\nInspect page dimensions and basic document info:\npython scripts/pymupdf_cli.py info --input <file.pdf>\nOperational Rules\nPages are always 0-indexed in all commands.\nexport-images renders each page as a raster image at the specified DPI.\nextract-images saves raw image streams embedded in the PDF (e.g. photos, logos); output filenames include page index and image index.\nInstall dependency if missing: pip install pymupdf.\nFor text extraction, splitting, merging, or rotating PDFs, use the pypdf skill instead."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Maverick-AI-Tech/pymupdf",
    "publisherUrl": "https://clawhub.ai/Maverick-AI-Tech/pymupdf",
    "owner": "Maverick-AI-Tech",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pymupdf",
    "downloadUrl": "https://openagent3.xyz/downloads/pymupdf",
    "agentUrl": "https://openagent3.xyz/skills/pymupdf/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pymupdf/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pymupdf/agent.md"
  }
}