/palladius-public-goodies:antigravity-pdf-viewerfrom palladius-public-goodies
Provides a high-DPI interactive PDF viewer sidecar for Google Antigravity's Aux Pane, replacing raw binary previews with pdftoppm rendering, page navigation, scroll modes, text extraction, and multi-profile Chrome printing.
Ships in palladius-public-goodies. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
antigravity-pdf-viewer)By default, clicking a [file.pdf](file:///path/to/file.pdf) link in Google Antigravity opens the raw %PDF-1.4 binary stream as garbled text in the right-hand fileView pane whenever the internal pdfViewer flag is disabled.
However, Antigravity's fileView component checks o4(".pdf") for any running UI Sidecar declaring "entrypoint": "SIDECAR_UI_ENTRYPOINT_AUX_PANE" and "file_extensions": [".pdf"] in its sidecar.json!
This skill bundles a self-contained, zero-NPM-dependency Node.js sidecar_sdk PDF viewer directly inside $SKILL_DIR/scripts/, powered by Poppler (pdftoppm, pdfinfo, pdftotext).
$SKILL_DIR/scripts/)All files are self-contained inside $SKILL_DIR/scripts/:
$SKILL_DIR/scripts/main.mjs: Complete Node.js sidecar_sdk server + HTML/CSS/JS Aux Pane UI.$SKILL_DIR/scripts/sidecar.json: Antigravity UI Sidecar manifest registering file_extensions: [".pdf"].$SKILL_DIR/scripts/xdg-open-as: Self-contained multi-profile Chrome launcher (xdg-open-as <identity_email> <url_or_file>) that resolves the Chrome --profile-directory from Local State (or delegates to chrome-for-identity if installed).$SKILL_DIR/scripts/install_pdf_sidecar.sh: Installer script that links main.mjs, sidecar.json, and xdg-open-as into ~/.gemini/config/sidecars/pdf-viewer/..pdf Interception: Clicking any [*.pdf](file:///...) link in chat or the file explorer automatically opens the rendered PDF in the right-hand Aux Pane.◀ Prev / ▶ Next): Floating side navigation buttons + top bar page counter (1 / 26) + keyboard navigation (ArrowLeft / ArrowRight, PageUp / PageDown).📖 Singola) vs. Continuous Scroll (📜 Continuo): Toggle between single-page presentation mode and smooth scroll-spy mode.xdg-open-as): Dynamically detects local Chrome profiles from ~/.config/google-chrome/Local State (prioritizing the user's primary corporate/hosted-domain profile for printing permissions, or $PDF_VIEWER_PRINT_IDENTITY) and opens the PDF in the exact Chrome profile via xdg-open-as <email> <path> (with native --profile-directory fallback in main.mjs).window.antigravity.sendPrompt().Ensure poppler / poppler-utils is installed (pdftoppm, pdfinfo, pdftotext in /usr/bin on Linux or /opt/homebrew/bin on macOS):
# Debian / Ubuntu
sudo apt-get install -y poppler-utils
# macOS (Homebrew)
brew install poppler
~/.gemini/config/sidecars/pdf-viewerBecause Antigravity's Go sidecar scanner uses os.ReadDir (which requires ~/.gemini/config/sidecars/pdf-viewer to be a real directory rather than a directory symlink), run the bundled installer script from $SKILL_DIR:
bash "$SKILL_DIR/scripts/install_pdf_sidecar.sh"
PDF_VIEWER_PRINT_IDENTITY: Override the default email identity passed to xdg-open-as when clicking 🖨️ Apri in Chrome per Stampa.XDG_OPEN_AS_BIN: Custom path to the xdg-open-as executable (auto-detected in $GIC/bin/xdg-open-as, ~/bin/xdg-open-as, ~/.local/bin/xdg-open-as, or the bundled $SKILL_DIR/scripts/xdg-open-as).What SKILL.md sets; muted values are Claude Code's defaults
68 skills in this plugin
/a2ui(💛) Build and render portable, declarative Generative UIs with Google A2UI (Agent-to-User Interface). Use whenever the user asks to generate, design, or wire interactive UI widgets, cards, forms, or dashboards using A2UI./add-to-portfolio-app(💛) Adds or syncs Talks, Keynotes, Workshops, Articles, Codelabs, Slides, and Videos in Riccardo's personal portfolio application (apps-portfolio) and companion bio repo (my-sessions-and-bio), including SQLite sync, TDD checks, default speaker images, and automated Cloud Run deployment./adk-python(💛) Create and manage AI agents using Google's Agent Development Kit (ADK) for Python. Use when the user wants to build single or multi-agent systems, evaluate agents, or deploy them. Includes instructions for fetching fresh ADK documentation and links for TypeScript and Go development.Other plugins' skills for the same job
palladius-public-goodies@palladius-skills is listed by palladius/skills — review the source before installing
npx claudepluginhub palladius/skills --plugin palladius-public-goodies