원클릭으로
pdf-to-images
Convert PDF files into a series of images (PNG/JPG) using ImageMagick
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Convert PDF files into a series of images (PNG/JPG) using ImageMagick
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | pdf-to-images |
| description | Convert PDF files into a series of images (PNG/JPG) using ImageMagick |
Convert PDF files into a series of images using ImageMagick.
A simple yet powerful tool that converts PDF documents into individual PNG images, one per page. Useful for extracting slides from presentations, creating image previews, or processing PDF content for further analysis.
Use this skill when users:
python scripts/pdf_to_images.py "PDF_FILE" [-o OUTPUT_DIR] [-d DPI] [-f FORMAT]
Convert PDF to PNG images (default):
python scripts/pdf_to_images.py "presentation.pdf"
Specify output directory:
python scripts/pdf_to_images.py "document.pdf" -o ./output-images
High resolution output (300 DPI):
python scripts/pdf_to_images.py "document.pdf" -d 300
Output as JPEG:
python scripts/pdf_to_images.py "document.pdf" -f jpg -q 90
pdf_file (required): Path to the PDF file-o, --output: Output directory (default: same directory as PDF, with -slides suffix)-d, --dpi: Resolution in DPI (default: 150)-f, --format: Output format: png, jpg, tiff (default: png)-q, --quality: JPEG quality 1-100 (default: 85, only for jpg format)-p, --prefix: Output filename prefix (default: slide)Requires ImageMagick installed on the system:
macOS:
brew install imagemagick
Ubuntu/Debian:
sudo apt-get install imagemagick
Windows: Download from https://imagemagick.org/script/download.php
output-directory/
├── slide-00.png # Page 1
├── slide-01.png # Page 2
├── slide-02.png # Page 3
└── ...
When user requests PDF to images conversion:
Check ImageMagick availability:
which magick || which convert
Execute conversion:
python /mnt/skills/user/pdf-to-images/scripts/pdf_to_images.py \
"USER_PDF_FILE" -o /mnt/user-data/outputs -d 150
Present files to user:
present_files(["/mnt/user-data/outputs/..."])
The script uses:
magick -density {DPI} "{input.pdf}" "{output_dir}/{prefix}-%02d.{format}"
Or for older ImageMagick (v6):
convert -density {DPI} "{input.pdf}" "{output_dir}/{prefix}-%02d.{format}"
Q: Getting "convert: not authorized" error? A: Edit ImageMagick policy file to allow PDF reading:
sudo sed -i 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/' /etc/ImageMagick-*/policy.xml
Q: Output images are too small/large?
A: Adjust DPI with -d flag. 150 DPI is good for screen, 300 DPI for print.
Q: Conversion is slow?
A: Lower DPI reduces processing time. Try -d 100 for faster conversion.
User: "帮我把这个 PDF 拆解成图片: presentation.pdf"
Claude:
# Check ImageMagick
which magick || which convert
# Convert PDF to images
python /mnt/skills/user/pdf-to-images/scripts/pdf_to_images.py \
"presentation.pdf" \
-o ./presentation-slides \
-d 150
# Present files
present_files(["./presentation-slides/slide-00.png", ...])
v1.0 (Current)
Personal use tool. Respects PDF document copyrights.
Decide whether a task in the current project is worth running as an agent loop. Analyzes the repo for evidence first (tests/CI/bench scripts = available verifiers; issue+PR queues = recurring work; module boundaries), then interviews the user one question at a time on the genuine decisions, and returns one of three verdicts — don't loop (stay in the loop yourself), timer loop (/loop, /schedule), or goal loop (/goal) — with cited evidence and, when looping is warranted, a drafted four-part contract (goal / verification / boundary / stop) bound to real commands found in the repo. Recommending NO loop is a first-class outcome. Use when the user asks 值不值得 loop / should I loop this / 要不要上 /goal / 这个活能不能挂个循环自动跑, or wants to apply loop engineering to a project.
GitHub backlog governance manager-loop. Triage open issues (type + routing labels), complete thin descriptions, maintain a bounded ready queue (Todo ≤ 5) on a GitHub Projects board, and repair board drift (closed issue still "In Progress" etc.). Config-driven — reads .claude/backlog-manager.yaml from the target repo; runs an init flow to generate it if missing. DRY-RUN by default, pass "apply" to execute writes. Use for recurring backlog grooming / issue triage of any GitHub repo, standalone or driven by /loop. Requires gh CLI with repo + project scopes.
Generate images (Nano Banana Pro / Imagen) and videos (Veo 3.1) through Google Flow using the account's Ultra/Pro SUBSCRIPTION credits instead of the metered Gemini/Vertex API — no per-call API cost. Use when the user wants to create a thumbnail, cover, poster, b-roll clip, image, or short video with AI and wants to avoid API billing, or explicitly mentions Flow / gflow / Veo / Nano Banana via subscription. Wraps the gflow-cli tool; encodes this machine's Flow new-UI quirk (PREFER_CLASSIC) and credit-safe retry rules learned the hard way. NOT for the paid Gemini-API nano-banana-pro path (that costs money) — this is the subscription path.
Generate a printer-receipt styled PNG bill of AI token usage and cost from local ccusage data, for the 绿皮火车 channel. Use when the user wants a token usage "账单"/"小票"/"收银台"/receipt/invoice, a shareable spend breakdown by model / input / output / cached / by day, or 节目素材 about token 消耗/花费. Triggers on "生成账单", "token 收据", "做张小票", "用量账单", "token receipt", "spend breakdown image".
本地把音频/视频文件或在线视频 URL 转录成文字稿(txt/srt/vtt/json)。基于 Apple Silicon 上的 mlx_whisper,支持中英文等多语言、自动语言检测、模型规格选择。当用户想要"转录""生成字幕/文稿/transcript""把这段音频/视频转成文字""提取台词""做 SRT 字幕",或给出一个音视频文件/YouTube 等链接要文字内容时使用。
Jordan Peterson(乔丹·彼得森,「龙虾教授」)的思维框架与表达方式。基于著作、长访谈/辩论 transcript、X发帖、外部批评、决策记录、完整时间线共6维度216个来源(一手占比约48%)的深度调研, 提炼6个核心心智模型、8条决策启发式和完整的表达DNA,并内置其已被外部验证的失效模式标注。 用途:作为思维顾问,用彼得森的视角分析个人困境、意义危机、责任与成长、文化争议、叙事与神话。 当用户提到「用彼得森的视角」「Jordan Peterson会怎么看」「彼得森」「皮特森」「龙虾教授」「JP模式」「JBP」 「peterson perspective」「人生十二法则」「12条法则」时使用。 即使用户只是说「整理好你的房间」「混乱与秩序」「先承担责任」 「帮我用彼得森的角度想想」「切换到彼得森」也应触发。 用户讨论「躺平」「内卷」「精神内耗」「年轻人迷茫」「人生没有意义」等话题且明确想要某种视角分析或建议时也可触发。 不要在用户只是泛泛倾诉、求安慰、查心理学概念,或寻求真实医疗/心理咨询时触发—— 这是思维框架skill,不是心理治疗。