Agent skill

PDF Vue3

by hymhub in hymhub/pdf-vue3

Use the pdf-vue3 Vue 3 component to render PDFs (URL, base64, or Uint8Array) with built-in virtual scrolling, crisp zoom, print, download, and page navigation.

MITAuto-check passedDocuments & Office

Install PDF Vue3

skills CLI
$ npx skills add hymhub/pdf-vue3 --skill pdf-vue3 -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hymhub/pdf-vue3 pdf-vue3 --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hymhub/pdf-vue3.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/pdf-vue3 .claude/skills/pdf-vue3 && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pdf-vue3
GitHub stars
123
Token cost
~1k tokens
SKILL.md length
443 words
Files
7 (incl. references)
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Use the pdf-vue3 Vue 3 component to render PDFs (URL, base64, or Uint8Array) with built-in virtual scrolling, crisp zoom, print, download, and page navigation.

  • Works in 5 steps: Never advise users to call internal… → Never suggest CSS transform: scale(...)… → Never mutate pdfRef.value.getPdf()… → …
  • The user asks to display a PDF in a Vue 3 / Nuxt 3 app
  • SKILL.md covers When to use this skill, Minimal recipe (always start…, Deeper guides and Quick decision tree, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

PDF Vue3 is an agent skill from hymhub/pdf-vue3. Use the pdf-vue3 Vue 3 component to render PDFs (URL, base64, or Uint8Array) with built-in virtual scrolling, crisp zoom, print, download, and page navigation. Trigger when the user asks to display a PDF in a Vue 3 / Nuxt 3 app, mentions pdf-vue3 or <PDF /, needs to handle large/multi-thousand-page PDFs, S3 presigned URLs, in-browser PDF zoom or printing, or asks how to migrate from pdf-vue3@1.x to 2.x.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/api.md`, `references/large-pdfs.md` and `references/migration-1-to-2.md`).

It sits in Documents & Office, covering PDF and File uploads and storage. It works with Vue.js and Nuxt. The repository describes itself as: A high-performance Vue 3 PDF viewer with virtual scrolling, supporting large PDFs, zoom, print, and more. The licence is MIT.

When your agent uses it

  • The user asks to display a PDF in a Vue 3 / Nuxt 3 app
  • Mentions pdf-vue3
  • Needs to handle large/multi-thousand-page PDFs
  • S3 presigned URLs

Example prompts

  • “/pdf-vue3”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Never advise users to call internal helpers via the dist build (e.g. patching the bundled pdf.mjs). Use the public props and exposed…
  2. Never suggest CSS transform: scale(...) for zoom — it makes the canvas blurry. Use the scale prop instead (it triggers a real re-render).
  3. Never mutate pdfRef.value.getPdf() results directly. Treat the PDFDocumentProxy as read-only.
  4. When the user is on SSR / Nuxt, wrap in (see references/ssr.md) unless they explicitly opt out and accept that no SSR markup will be…
  5. If the user reports an eval() warning, confirm they are on pdf-vue3@>=2.0.1. The fix lives there without the 2.0.0 render lifecycle…

What it can do on your machine

Read from SKILL.md and the folder at commit f1f1ff2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are vue).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PDF Vue3 loads about 1k tokens when it runs, and up to ~7.6k if it reads all its reference files. Until then it costs about 106 tokens; SKILL.md has 443 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~7.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hymhub/pdf-vue3 at commit f1f1ff2, republished under its MIT licence (© hymhub). 443 words, ~1,014 tokens.

Download SKILL.mdSave it as .claude/skills/pdf-vue3/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
pdf-vue3
description
Use the pdf-vue3 Vue 3 component to render PDFs (URL, base64, or Uint8Array) with built-in virtual scrolling, crisp zoom, print, download, and page navigation. Trigger when the user asks to display a PDF in a Vue 3 / Nuxt 3 app, mentions `pdf-vue3` or `<PDF />`, needs to handle large/multi-thousand-page PDFs, S3 presigned URLs, in-browser PDF zoom or printing, or asks how to migrate from `pdf-vue3@1.x` to `2.x`.

pdf-vue3 skill

This skill teaches an agent how to integrate and configure pdf-vue3 (v2.0.0+) — a high-performance Vue 3 PDF viewer.

When to use this skill

Trigger any of the following:

  • The user imports pdf-vue3 or uses the <PDF /> component.
  • The user wants to render a PDF inside a Vue 3 / Nuxt 3 / Vite app.
  • The user needs to render large PDFs (hundreds or thousands of pages) without freezing the browser.
  • The user mentions pdfjs-dist + Vue and is choosing a wrapper.
  • The user asks about S3 presigned URLs, data: URIs, base64 strings, Uint8Array PDF sources.
  • The user wants to add print / download / zoom / "jump to page" controls.
  • The user is upgrading from pdf-vue3@1.x (or sees an eval() warning from older builds).
  • The user reports memory leaks, "Cannot read parentNode of undefined", or hydration mismatches in a Vue 3 PDF viewer.

Minimal recipe (always start here)

vue
<script setup>
import PDF from 'pdf-vue3'
</script>

<template>
  <PDF src="/path/to/file.pdf" />
</template>

That's it. Defaults already enable virtual scrolling, page tooltip, progress bar, and the back-to-top button.

Deeper guides

Read these on demand, only when relevant:

  • references/usage.md — full prop reference, events, slots, exposed methods, and copy-pasteable recipes for zoom, print, download, page jump, custom progress bar, etc.
  • references/api.md — TypeScript types (PDFDocumentProxy, PDFPageProxy), default values, the imperative API surface, and how to access the underlying pdfjs-dist document.
  • references/ssr.md — Nuxt 3 / Vite SSR integration: <ClientOnly> wrapping, transpile, optimizeDeps, and how to avoid hydration mismatches.
  • references/large-pdfs.md — performance tuning for very large PDFs: virtual, preloadPages, disableAutoFetch, scale trade-offs, mobile / iOS Safari caveats.
  • references/migration-1-to-2.md — breaking changes from pdf-vue3@1.x and how to update.
  • references/troubleshooting.md — common errors and fixes (worker version mismatch, parentNode of undefined, presigned URL not loading, blurry zoom, etc.).
Show full SKILL.md (176 more words)Show less

Quick decision tree

  • "How do I show a PDF?" → start with the minimal recipe above.
  • "PDF is huge / slow / crashes on mobile" → read references/large-pdfs.md.
  • "I'm in Nuxt 3 and getting hydration errors / window is not defined" → read references/ssr.md.
  • "Add zoom / print / download / page jump" → read references/usage.md → "Exposed methods".
  • "Upgrading from 1.x" → read references/migration-1-to-2.md.
  • "Something is broken" → read references/troubleshooting.md.

Hard rules (do not violate)

  1. Never advise users to call internal helpers via the dist build (e.g. patching the bundled pdf.mjs). Use the public props and exposed methods only.
  2. Never suggest CSS transform: scale(...) for zoom — it makes the canvas blurry. Use the scale prop instead (it triggers a real re-render).
  3. Never mutate pdfRef.value.getPdf() results directly. Treat the PDFDocumentProxy as read-only.
  4. When the user is on SSR / Nuxt, wrap <PDF /> in <ClientOnly> (see references/ssr.md) unless they explicitly opt out and accept that no SSR markup will be produced for the canvas.
  5. If the user reports an eval() warning, confirm they are on pdf-vue3@>=2.0.1. The fix lives there without the 2.0.0 render lifecycle regression.

© hymhub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in skills/pdf-vue3 of hymhub/pdf-vue3.

  • SKILL.md
  • references/api.md
  • references/large-pdfs.md
  • references/migration-1-to-2.md
  • references/ssr.md
  • references/troubleshooting.md
  • references/usage.md

Open the folder on GitHubat commit f1f1ff2

Compare with similar skills

PDF Vue3 next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PDF Vue3 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PDF Vue3 this skillhymhub/pdf-vue3123—~1kAutomated safety check: PassMIT
Datasheetsbiosshot/easyeda-copilot170—~1.2kAutomated safety check: PassMIT
Review DocsTotomInc/vue3-select-component119—~3.8kAutomated safety check: PassMIT
Edit PDFSimplePDF/simplepdf-embed407—~1.5kAutomated safety check: PassMIT
Slidev CLI Skilldskilld-dev/vue-ecosystem-skills181—~1.1kAutomated safety check: PassMIT
Adu Targeted Page ViewermikeOnBreeze/cc-crossbeam293—~1.8kAutomated safety check: PassMIT

Similar skills

  • Datasheets

    biosshot/easyeda-copilot

    Download component datasheet PDFs, locate useful pages, and read verified pinouts, electrical limits, thermal data and application notes using the agent's PDF tools.

    170 GitHub stars~1.2k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Review Docs

    TotomInc/vue3-select-component

    Review documentation for quality, clarity, SEO, and technical correctness.

    119 GitHub stars~3.8k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Edit PDF

    SimplePDF/simplepdf-embed

    Edit and fill PDF documents. An agent skill from SimplePDF/simplepdf-embed.

    407 GitHub stars~1.5k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Slidev CLI Skilld

    skilld-dev/vue-ecosystem-skills

    Build, present, and ship Slidev decks with @slidev/cli. An agent skill from skilld-dev/vue-ecosystem-skills.

    181 GitHub stars~1.1k tokensUpdated 18 days ago
    Documents & OfficeAuto-check passed
  • Adu Targeted Page Viewer

    mikeOnBreeze/cc-crossbeam

    Extracts construction plan PDFs into page PNGs, reads the sheet index to build a sheet-to-page manifest, and enables targeted viewing of specific sheets.

    293 GitHub stars~1.8k tokensUpdated 7 mo ago
    Documents & OfficeAuto-check passed
  • Study

    alaliqing/claude-paper

    A skill your agent uses when the user wants to read, study, analyze, or deeply understand a research paper (PDF).

    343 GitHub stars~2.5k tokensUpdated 1 mo ago
    Research & ScienceAuto-check: notes

Works with

Questions about PDF Vue3

What does PDF Vue3 do?

Use the pdf-vue3 Vue 3 component to render PDFs (URL, base64, or Uint8Array) with built-in virtual scrolling, crisp zoom, print, download, and page navigation. PDF Vue3 is an agent skill from hymhub/pdf-vue3. Use the pdf-vue3 Vue 3 component to render PDFs (URL, base64, or Uint8Array) with built-in virtual scrolling, crisp zoom, print, download, and page navigation.

When should I use PDF Vue3?

PDF Vue3 fits situations like: the user asks to display a PDF in a Vue 3 / Nuxt 3 app; mentions pdf-vue3; needs to handle large/multi-thousand-page PDFs; S3 presigned URLs.

How do I install PDF Vue3 in Claude Code?

Run `npx skills add hymhub/pdf-vue3 --skill pdf-vue3 -a claude-code`. Or copy the skill folder (skills/pdf-vue3 in hymhub/pdf-vue3) into .claude/skills/pdf-vue3 in your project. Claude Code loads it when a task matches its description.

How do I install PDF Vue3 in Codex?

Run `npx skills add hymhub/pdf-vue3 --skill pdf-vue3 -a codex`. Or copy the skill folder (skills/pdf-vue3 in hymhub/pdf-vue3) into .agents/skills/pdf-vue3 in your project. Codex loads it when a task matches its description.

Can I use PDF Vue3 in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hymhub/pdf-vue3 --skill pdf-vue3 -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pdf-vue3, .gemini/skills/pdf-vue3, .github/skills/pdf-vue3 and .opencode/skills/pdf-vue3 in your project.

What does PDF Vue3 need to run?

SKILL.md names no scripts, command-line tools or credentials: PDF Vue3 is instructions for the agent only.

Does PDF Vue3 access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is PDF Vue3 safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does PDF Vue3 use?

PDF Vue3 is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PDF Vue3 use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.6k tokens, read only when the agent opens those files.

What are the alternatives to PDF Vue3?

Skills that share tags, products or a category with PDF Vue3: Datasheets (biosshot/easyeda-copilot, 170 stars), Review Docs (TotomInc/vue3-select-component, 119 stars), Edit PDF (SimplePDF/simplepdf-embed, 407 stars) and Slidev CLI Skilld (skilld-dev/vue-ecosystem-skills, 181 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PDF Vue3?

hymhub (a GitHub user) maintains it in hymhub/pdf-vue3, which has 123 GitHub stars. The repository was last updated on May 19, 2026.

Source: hymhub/pdf-vue3 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.