# Send pymupdf to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/pymupdf",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pymupdf",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "agents/openai.yaml",
      "scripts/pymupdf_cli.py",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "pymupdf",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-05T03:23:07.539Z",
      "expiresAt": "2026-05-12T03:23:07.539Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pymupdf",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pymupdf",
        "contentDisposition": "attachment; filename=\"pymupdf-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "pymupdf"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### pymupdf

Use scripts/pymupdf_cli.py for deterministic pymupdf operations instead of ad-hoc fitz snippets.

### Workflow

Confirm the PDF file path is accessible locally.
Run the desired command (export-images, extract-images, info).
Inspect the output directory or stdout.

### Command Guide

Export pages as images:

python scripts/pymupdf_cli.py export-images --input <file.pdf> --output-dir <dir/>
Override format: --format png (default), jpg, or ppm.
Override resolution: --dpi 300 (default: 150).
Restrict to specific pages: --pages 0 1 2.


Extract images embedded inside a PDF:

python scripts/pymupdf_cli.py extract-images --input <file.pdf> --output-dir <dir/>
Optionally restrict to specific pages: --pages 0 1 2.


Inspect page dimensions and basic document info:

python scripts/pymupdf_cli.py info --input <file.pdf>

### Operational Rules

Pages are always 0-indexed in all commands.
export-images renders each page as a raster image at the specified DPI.
extract-images saves raw image streams embedded in the PDF (e.g. photos, logos); output filenames include page index and image index.
Install dependency if missing: pip install pymupdf.
For text extraction, splitting, merging, or rotating PDFs, use the pypdf skill instead.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Maverick-AI-Tech
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-05T03:23:07.539Z
- Expires at: 2026-05-12T03:23:07.539Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/pymupdf)
- [Send to Agent page](https://openagent3.xyz/skills/pymupdf/agent)
- [JSON manifest](https://openagent3.xyz/skills/pymupdf/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/pymupdf/agent.md)
- [Download page](https://openagent3.xyz/downloads/pymupdf)