CommunityBildgithub.com

openai/pdf

Verwenden Sie diese Fähigkeit für Aufgaben, die das Lesen, Erstellen oder Überprüfen von PDF-Dateien umfassen, bei denen Darstellung und Layout wichtig sind; bevorzugen Sie visuelle Prüfungen durch Rendern von Seiten (Poppler) und nutzen Sie Python-Tools wie `reportlab`, `pdfplumber` und `pypdf` für Generierung und Extraktion.

Was ist pdf?

Die Fähigkeit `openai/pdf` ist darauf spezialisiert, PDF-Dateien mit Schwerpunkt auf visueller Genauigkeit zu lesen, zu erstellen und zu überprüfen. Sie empfiehlt die Verwendung von **Poppler** zum Rendern von Seiten, um Layout, Schriftarten und grafische Elemente korrekt darzustellen. Zusätzlich nutzt sie Python-Bibliotheken wie `reportlab` (zur PDF-Erstellung mit erweitertem Layout), `pdfplumber` (zur datengetreuen Extraktion von Text und Tabellen) und `pypdf` (für grundlegende Manipulation und Metadatenzugriff). Die Fähigkeit ist plattformunabhängig und ideal für Entwickler und KI-Agenten, die PDFs in Workflows wie Rechnungsverarbeitung, Dokumentenerstellung oder Qualitätssicherung einbinden. Sie arbeitet nahtlos mit gängigen PDF-Werkzeugen zusammen und betont visuelle Prüfungen gegenüber rein textuellen Methoden, um Rendering-Fehler zu vermeiden.

Funktioniert mit~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/openai/skills/tree/main/skills/pdf

Installed? Explore more Bild skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Was macht pdf?

Verwenden Sie diese Fähigkeit für Aufgaben, die das Lesen, Erstellen oder Überprüfen von PDF-Dateien umfassen, bei denen Darstellung und Layout wichtig sind. Bevorzugen Sie visuelle Prüfungen durch Rendern von Seiten (Poppler) und nutzen Sie Python-Tools wie reportlab, pdfplumber und pypdf für Generierung und Extraktion.

Workflow

  1. Visuelle Prüfung: Rendern Sie PDF-Seiten mit Poppler, um Layout, Schriftarten und grafische Elemente zu überprüfen.
  2. Extrahieren: Verwenden Sie pdfplumber für datengetreue Extraktion von Text, Tabellen und Metadaten.
  3. Erstellen: Nutzen Sie reportlab zur programmatischen PDF-Erstellung mit komplexem Layout.
  4. Manipulieren: Greifen Sie auf pypdf für grundlegende Operationen wie Zusammenführen, Teilen oder Metadatenänderung zurück.

Empfohlene Tools

ToolVerwendung
popplerSeitenrendering für visuelle Prüfungen
reportlabPDF-Erstellung mit erweiterter Layoutsteuerung
pdfplumberPräzise Extraktion von Text und Tabellen
pypdfGrundlegende PDF-Manipulation und Metadatenzugriff

Beispiel

from pdfplumber import open as pdf_open
from reportlab.pdfgen import canvas

# Extrahieren
with pdf_open("dokument.pdf") as pdf:
    first_page = pdf.pages[0]
    text = first_page.extract_text()
    print(text)

# Erstellen
c = canvas.Canvas("neu.pdf")
c.drawString(100, 750, "Hallo, Welt!")
c.save()

Hinweise

  • Stellen Sie sicher, dass Poppler im Systempfad installiert ist.
  • Für komplexe Layouts priorisieren Sie reportlab gegenüber einfacheren Generatoren.
  • Verwenden Sie pdfplumber anstelle von pypdf, wenn präzise Extraktion erforderlich ist.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

openai/aspnet-core

Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.

openai/chatgpt-apps

Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.

openai/cli-creator

Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read/write commands, return stable JSON, manage auth, and pair with a companion skill.

openai/cloudflare-deploy

Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.

openai/develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.

openai/doc

Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.

openai/figma

Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.

openai/figma-code-connect-components

Connects Figma design components to code components using Code Connect mapping tools. Use when user says "code connect", "connect this component to code", "map this component", "link component to code", "create code connect mapping", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.

openai/figma-create-design-system-rules

Generates custom design system rules for the user's codebase. Use when user says "create design system rules", "generate rules for my project", "set up design rules", "customize design system guidelines", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.

openai/figma-create-new-file

Create a new blank Figma file. Use when the user wants to create a new Figma design or FigJam file, or when you need a new file before calling use_figma. Handles plan resolution via whoami if needed. Usage — /figma-create-new-file [editorType] [fileName] (e.g. /figma-create-new-file figjam My Whiteboard)

openai/figma-generate-design

Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into Figma. Triggers: 'write to Figma', 'create in Figma from code', 'push page to Figma', 'take this app/page and build it in Figma', 'create a screen', 'build a landing page in Figma', 'update the Figma screen to match code'. This is the preferred workflow skill whenever the user wants to build or update a full page, screen, or view in Figma from code or a description. Discovers design system components, variables, and styles via search_design_system, imports them, and assembles screens incrementally section-by-section using design system tokens instead of hardcoded values.

openai/figma-generate-library

Build or update a professional-grade design system in Figma from a codebase. Use when the user wants to create variables/tokens, build component libraries, set up theming (light/dark modes), document foundations, or reconcile gaps between code and Figma. This skill teaches WHAT to build and in WHAT ORDER — it complements the `figma-use` skill which teaches HOW to call the Plugin API. Both skills should be loaded together.

openai/figma-implement-design

Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "implement design", "generate code", "implement component", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.

openai/figma-use

**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.

openai/frontend-skill

Use when the task asks for a visually strong landing page, website, app, prototype, demo, or game UI. This skill enforces restrained composition, image-led hierarchy, cohesive content structure, and tasteful motion while avoiding generic cards, weak branding, and UI clutter.

openai/gh-address-comments

Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.

openai/gh-fix-ci

Use when a user asks to debug or fix failing GitHub PR checks that run in GitHub Actions; use `gh` to inspect checks and logs, summarize failure context, draft a fix plan, and implement only after explicit approval. Treat external providers (for example Buildkite) as out of scope and report only the details URL.

openai/hatch-pet

Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.

openai/imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG/vector/code-native assets, extending an established icon or logo system, or building the visual directly in HTML/CSS/canvas.

openai/jupyter-notebook

Use when the user asks to create, scaffold, or edit Jupyter notebooks (`.ipynb`) for experiments, explorations, or tutorials; prefer the bundled templates and run the helper script `new_notebook.py` to generate a clean starting notebook.

Verwandte Skills