Xpersona
G

GLM-V-PDF-to-WEB

CLAWHUB · Unverified

Convert a PDF (research paper, technical report, or project document) into a beautiful single-page academic/project website with a structured outline JSON. T... Skill: GLM-V-PDF-to-WEB Owner: zai-org Summary: Convert a PDF (research paper, technical report, or project document) into a beautiful single-page academic/project website with a structured outline JSON. T... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-15T12:18:16.199Z | user - Removed the requirement for specific system binaries in metadata. - No changes to features or functionality; behavior remains the sa

62
Rank
84
Safety
1.3k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.3K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173sh1fb6z7xwvxgf5n3z6sdd83sddy:glmv-pdf-to-web
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-zai-org-glmv-pdf-to-web/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

27,793 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: glmv-pdf-to-web
description:
  Convert a PDF (research paper, technical report, or project document) into a beautiful
  single-page academic/project website with a structured outline JSON. Trigger this
  skill when the user wants to make a paper page, project homepage, or academic website
  from a PDF — in Chinese or English.
metadata:
  openclaw:
    emoji: "🌐"
    homepage: https://github.com/zai-org/GLM-V/tree/main/skills/glmv-pdf-to-web
---

# PDF → Academic Project Website Skill

Convert a research paper or technical document PDF into a polished single-page project website — the kind used for NeurIPS/CVPR/ICLR paper releases. Pages are converted locally at DPI 120, a structured `outline.json` is saved, images are cropped locally, and the final page is saved with `generate_web.py`.

**Scripts are in:** `{SKILL_DIR}/scripts/`

## Dependencies

Python packages (install once):
```bash
pip install pymupdf pillow
```

System tools: `curl` (pre-installed on macOS/Linux).

## When to Use

Trigger when the user asks to create a webpage or project page from a PDF — phrases like:
"make a project page from a PDF", "create a paper website", "build an academic website for this paper", "论文主页", "做项目主页", "根据pdf做网页", "把论文做成主页", or any similar intent in Chinese or English.

## Output Directory Convention

All output goes under `{WORKSPACE}/web/<pdf_stem>_<timestamp>/`:

```
web/
└── <pdf_stem>_<timestamp>/
    ├── outline.json        ← structured web plan (WebPlan schema)
    ├── crops/              ← locally-saved cropped images
    │   ├── fig_arch_crop.png
    │   ├── table_results_crop.png
    │   └── ...
    └── index.html          ← the website
```

- `<pdf_stem>` = PDF filename without extension
- `<timestamp>` = format `YYYYMMDD_HHMMSS`
- HTML references images via relative path `crops/<name>_crop.png`

## Input

`$ARGUMENTS` is the path to the PDF file (local) or an HTTP/HTTPS URL.

- If user provides a **URL**: download with curl first, then convert
- If user provides a **local PDF path**: convert directly

---

## Workflow

### Phase 0 — Create Output Directory

```python
import os, datetime
pdf_stem = os.path.splitext(os.path.basename(pdf_path))[0]
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
out_dir = os.path.join(workspace, "web", f"{pdf_stem}_{timestamp}")
```

```bash
mkdir -p "<out_dir>/crops"
```

---

### Phase 1 — Convert PDF Pages to Images (DPI 120)

If the input is a URL, download it first:
```bash
pdf_stem=$(basename "$ARGUMENTS" .pdf)
curl -L -o "/tmp/${pdf_stem}.pdf" "$ARGUMENTS"
```
Then convert (pass either the downloaded path or the original local path):
```bash
python {SKILL_DIR}/scripts/pdf_to_images.py "<pdf_path>" --dpi 120
```

Outputs JSON to stdout:
```json
[{"page": 1, "path": "/abs/path/page_001.png"}, ...]
```

Parse and store the full `page → path` map.

---

### Phase 2 — Read All Pages in Order

View **all page images** sequentially before planning. Goal: pure understanding of the document's

_meta.json

{
  "ownerId": "kn77dpbnmmgb7k1emww674jjy1827an4",
  "slug": "glmv-pdf-to-web",
  "version": "1.0.1",
  "publishedAt": 1776255496199
}

skill-card.md

## Description:

Convert a PDF (research paper, technical report, or project document) into a beautiful single-page academic/project website with a structured outline JSON.

This skill is ready for commercial/non-commercial use.

## Publisher:

[zai-org](https://clawhub.ai/user/zai-org)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and researchers use this skill to turn a local or trusted remote research paper, technical report, or project document PDF into a single-page academic project website with a structured outline and local image crops.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Remote PDF URLs may be downloaded before conversion, which can expose the workspace to untrusted or unexpected input.

Mitigation: Prefer local PDFs or trusted URLs only, and run the skill in a restricted workspace.

Risk: The security review calls out under-scoped crop output handling and temporary-file handling for untrusted PDFs or shared machines.

Mitigation: Patch crop filename sanitization and temporary-file handling before using the skill with untrusted PDFs or in shared environments.

Risk: The skill depends on PDF and image-processing packages for local file conversion.

Mitigation: Install dependencies in a virtual environment with pinned versions before use.

## Reference(s):

- [GLM-V PDF-to-Web homepage](https://github.com/zai-org/GLM-V/tree/main/skills/glmv-pdf-to-web)

## Skill Output:

**Output Type(s):** [Code, Files, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown guidance with inline shell commands, JSON outline files, PNG crops, and a single-page HTML website.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Creates web/<pdf_stem>_<timestamp>/ containing outline.json, crops/, and index.html; HTML references crop assets by relative path.]

## Skill Version(s):

1.0.1 (source: release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to GLM-V-PDF-to-WEB and adjacent AI workflows.