Agent skill

Reportlab

by jimmc414 in jimmc414/Kosmos

PDF generation toolkit. An agent skill from jimmc414/Kosmos.

No licenceAuto-check passedDocuments & Office

Install Reportlab

skills CLI
$ npx skills add jimmc414/Kosmos --skill reportlab -a claude-code

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

GitHub CLI
$ gh skill install jimmc414/Kosmos reportlab --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/jimmc414/Kosmos.git skills-src && mkdir -p .claude/skills && cp -r skills-src/kosmos-claude-scientific-skills/scientific-skills/reportlab .claude/skills/reportlab && 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
reportlab
GitHub stars
595
Used in
1 other repo
Token cost
~4.2k tokens
SKILL.md length
954 words
Files
11 (incl. scripts, references, assets)
Skills in repo
6
Repo updated
First seen
Licence
None found

At a glance

PDF generation toolkit. An agent skill from jimmc414/Kosmos.

  • Works in 4 steps: Use drawImage() over drawInlineImage() -… → Enable compression for large files:… → Reuse styles - create once, use… → …
  • Tasks that involve PDF
  • SKILL.md covers Overview, Choosing the Right Approach, Quick Start Examples and Common Tasks, plus 6 more sections
  • Runs Python scripts from its folder; calls uv

What it does

Reportlab is an agent skill from jimmc414/Kosmos. PDF generation toolkit. Create invoices, reports, certificates, forms, charts, tables, barcodes, QR codes, Canvas/Platypus APIs, for professional document automation.

Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `assets/invoice_template.py`, `assets/report_template.py` and `references/barcodes_reference.md`).

It sits in Documents & Office, covering PDF and Forms and invoices. It works with pypdf. The repository describes itself as: Kosmos: An AI Scientist for Autonomous Discovery - An implementation and adaptation to be driven by Claude Code or API - Based on the Kosmos AI Paper -….

When your agent uses it

  • Tasks that involve PDF
  • Tasks that involve Forms and invoices

Example prompts

  • “/reportlab”

Requirements

  • Python 3

Workflow steps

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

  1. Use drawImage() over drawInlineImage() - caches images for reuse
  2. Enable compression for large files: canvas.Canvas("file.pdf", pageCompression=1)
  3. Reuse styles - create once, use throughout document
  4. Use Forms/XObjects for repeated graphics

What it can do on your machine

Read from SKILL.md and the folder at commit 73f4d2a. 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

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

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

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    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

Reportlab loads about 4.2k tokens when it runs, and up to ~22k if it reads all its reference files. Until then it costs about 44 tokens; SKILL.md has 954 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 954 words (~4,171 tokens).

“ReportLab is a powerful Python library for programmatic PDF generation. Create anything from simple documents to complex reports with tables, charts, images, and interactive forms.”

— opening of SKILL.md by jimmc414
name
reportlab

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files (scripts, references, assets) in kosmos-claude-scientific-skills/scientific-skills/reportlab of jimmc414/Kosmos.

  • SKILL.md
  • assets/invoice_template.py
  • assets/report_template.py
  • references/barcodes_reference.md
  • references/canvas_api.md
  • references/charts_reference.md
  • references/pdf_features.md
  • references/platypus_guide.md
  • references/tables_reference.md
  • references/text_and_fonts.md
  • scripts/quick_document.py

Open the folder on GitHubat commit 73f4d2a

Used in 1 other repository

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in jimmc414/Kosmos, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Reportlab 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.

Reportlab compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Reportlab this skilljimmc414/Kosmos5951 repos~4.2kAutomated safety check: PassNone
PDF ReadingWide-Moat/open-computer-use1261 repos~2.7kAutomated safety check: PassProprietary
PDF Processing Toolkittelagod/code-abyss243—~532Automated safety check: NotesMIT
PDFdavila7/claude-code-templates32k7 repos~2.1kAutomated safety check: PassProprietary
PDFIgorWarzocha/Opencode-Workflows122—~495Automated safety check: PassNone
PDFaiskillstore/marketplace430—~3.3kAutomated safety check: PassNone

Similar skills

  • PDF Reading

    Wide-Moat/open-computer-use

    A skill your agent uses when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk.

    126 GitHub starsUsed in 1 repo~2.7k tokens
    Documents & OfficeAuto-check passed
  • PDF Processing Toolkit

    telagod/code-abyss

    Picks the right Python library or CLI tool for a PDF task, text and table extraction, merging, splitting, OCR, watermarking or form filling, and points to a matching recipe.

    243 GitHub stars~532 tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • PDF

    davila7/claude-code-templates

    PDF manipulation toolkit. An agent skill from davila7/claude-code-templates.

    32k GitHub starsUsed in 7 repos~2.1k tokens
    Documents & OfficeAuto-check passed
  • PDF

    IgorWarzocha/Opencode-Workflows

    Handle PDF manipulation, form filling, text/table extraction, and high-fidelity generation.

    122 GitHub stars~495 tokensUpdated 8 mo ago
    Documents & OfficeAuto-check passed
  • PDF

    aiskillstore/marketplace

    Comprehensive PDF manipulation, extraction, and generation with support for text extraction, form filling, merging, splitting, annotations, and creation.

    430 GitHub stars~3.3k tokensUpdated today
    Documents & OfficeAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 48 repos~2k tokens
    Documents & OfficeAuto-check passed

More from jimmc414/Kosmos

  • Markitdown

    jimmc414/Kosmos

    Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing.

    595 GitHub starsUsed in 2 repos~1.7k tokens
    Auto-check passed
  • Scholar Evaluation

    jimmc414/Kosmos

    Systematic framework for evaluating scholarly and research work based on the ScholarEval methodology.

    595 GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Scientific Schematics

    jimmc414/Kosmos

    Create publication-quality scientific diagrams, flowcharts, and schematics using Python (graphviz, matplotlib, schemdraw, networkx).

    595 GitHub stars~16k tokensUpdated today
    Auto-check: notes
  • Hypothesis Generation

    jimmc414/Kosmos

    Generate testable hypotheses from observations. An agent skill from jimmc414/Kosmos.

    595 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Scientific Writing

    jimmc414/Kosmos

    Write scientific manuscripts. An agent skill from jimmc414/Kosmos.

    595 GitHub starsUsed in 1 repo~4.1k tokens
    Auto-check passed

Works with

Questions about Reportlab

What does Reportlab do?

PDF generation toolkit. An agent skill from jimmc414/Kosmos. Reportlab is an agent skill from jimmc414/Kosmos. PDF generation toolkit.

When should I use Reportlab?

Reportlab fits situations like: tasks that involve PDF; tasks that involve Forms and invoices.

How do I install Reportlab in Claude Code?

Run `npx skills add jimmc414/Kosmos --skill reportlab -a claude-code`. Or copy the skill folder (kosmos-claude-scientific-skills/scientific-skills/reportlab in jimmc414/Kosmos) into .claude/skills/reportlab in your project. Claude Code loads it when a task matches its description.

How do I install Reportlab in Codex?

Run `npx skills add jimmc414/Kosmos --skill reportlab -a codex`. Or copy the skill folder (kosmos-claude-scientific-skills/scientific-skills/reportlab in jimmc414/Kosmos) into .agents/skills/reportlab in your project. Codex loads it when a task matches its description.

Can I use Reportlab 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 jimmc414/Kosmos --skill reportlab -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/reportlab, .gemini/skills/reportlab, .github/skills/reportlab and .opencode/skills/reportlab in your project.

What does Reportlab need to run?

Going by SKILL.md and its folder, Reportlab needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Reportlab access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Reportlab 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Reportlab use?

No licence was found for Reportlab or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Reportlab use?

About 4.2k tokens (SKILL.md is roughly 17k 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 18k tokens, read only when the agent opens those files.

What are the alternatives to Reportlab?

Skills that share tags, products or a category with Reportlab: PDF Reading (Wide-Moat/open-computer-use, 126 stars), PDF Processing Toolkit (telagod/code-abyss, 243 stars), PDF (davila7/claude-code-templates, 32k stars) and PDF (IgorWarzocha/Opencode-Workflows, 122 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Reportlab?

jimmc414 (a GitHub user) maintains it in jimmc414/Kosmos, which has 595 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 9, 2026.

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