private-garden-labs/garden-desk/pdf-documents

Claude Code and agent skill by private-garden-labs/garden-desk

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create PDFs or change pages. Use read for PDF text.

Install

npx vskill@latest install private-garden-labs/garden-desk/pdf-documents

SKILL.md

Use ReportLab Platypus for text PDFs. Adapt this recipe; let paragraphs flow across pages.

python
from xml.sax.saxutils import escape
from reportlab.lib.styles import ParagraphStyle
from reportlab.pdfbase import pdfmetrics
from reportlab.pdfbase.ttfonts import TTFont
from reportlab.platypus import Paragraph, SimpleDocTemplate
pdfmetrics.registerFont(TTFont("Body", "/usr/share/fonts/dejavu/DejaVuSerif.ttf"))
title = ParagraphStyle("title", fontName="Body", fontSize=22, leading=28, spaceAfter=16)
body = ParagraphStyle("body", fontName="Body", fontSize=12, leading=18, spaceAfter=10)
paragraphs = ["Body text."]
path = "/workspace/result.pdf"
story = [Paragraph(escape("Title"), title)]
story += [Paragraph(escape(text), body) for text in paragraphs]
SimpleDocTemplate(path, title="Title").build(story)
  • Add tables only when needed. Set colWidths/rowHeights in Table(...); let row heights grow with text. On LayoutError, split oversized content.
  • For Chinese/Japanese/Korean, use TTFont("Body", "/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc", subfontIndex=0). This runtime lacks shaping support for Arabic, Hebrew, Devanagari, and Thai; explain the limit and offer DOCX.
  • Use pypdf.PdfReader/PdfWriter to split, merge, or rotate pages.

Reopen with PdfReader(path); compare page count and page.extract_text() with the request. Return after a successful check. Never decode PDF streams manually.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/private-garden-labs/garden-desk/pdf-documents/badge)](https://verified-skill.com/skills/private-garden-labs/garden-desk/pdf-documents)

Something wrong with this skill or its page? Tell us.