Agent skill

Scientific Report PDF

by lamm-mit in lamm-mit/scienceclaw

Generate a structured scientific PDF report from a JSON description.

Apache-2.0Auto-check passedDocuments & Office

Install Scientific Report PDF

skills CLI
$ npx skills add lamm-mit/scienceclaw --skill scientific-report-pdf -a claude-code

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

GitHub CLI
$ gh skill install lamm-mit/scienceclaw scientific-report-pdf --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/lamm-mit/scienceclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/scientific-report-pdf .claude/skills/scientific-report-pdf && 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
scientific-report-pdf
GitHub stars
244
Token cost
~975 tokens
SKILL.md length
124 words
Files
2 (incl. scripts)
Skills in repo
86
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generate a structured scientific PDF report from a JSON description.

  • Tasks that involve PDF
  • SKILL.md covers Usage, Input JSON Structure, Section Types and Panel Types, plus 2 more sections
  • Runs Python scripts from its folder; calls python3
  • Tasks that involve LaTeX

What it does

Scientific Report PDF is an agent skill from lamm-mit/scienceclaw. Generate a structured scientific PDF report from a JSON description. Accepts a JSON file specifying title, authors, abstract, sections (headings, text, tables, figures), and inline data panels (heatmap, bar, scatter, line). Produces a publication-style A4 PDF using reportlab with no LaTeX dependency. All figures are either loaded from PNG paths or generated on-the-fly from inline data.

Its SKILL.md is about 980 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts (for example `scripts/scientific_report_pdf.py`).

It sits in Documents & Office, covering PDF and LaTeX. It works with pypdf and LaTeX. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve PDF
  • Tasks that involve LaTeX

Example prompts

  • “/scientific-report-pdf”

Requirements

  • Python 3

What it can do on your machine

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

    • python3

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

  • Network

    No URLs in SKILL.md.

    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

Scientific Report PDF loads about 975 tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 124 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~975

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

The full file from lamm-mit/scienceclaw at commit ab9aba1, republished under its Apache-2.0 licence (© lamm-mit). 124 words, ~975 tokens.

Download SKILL.mdSave it as .claude/skills/scientific-report-pdf/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
scientific-report-pdf
description
Generate a structured scientific PDF report from a JSON description. Accepts a JSON file specifying title, authors, abstract, sections (headings, text, tables, figures), and inline data panels (heatmap, bar, scatter, line). Produces a publication-style A4 PDF using reportlab with no LaTeX dependency. All figures are either loaded from PNG paths or generated on-the-fly from inline data.
metadata.domain
visualization
metadata.dependencies
reportlab, matplotlib, pillow

scientific-report-pdf

Generates a structured scientific PDF report from a JSON input file. No LaTeX or pandoc required — uses reportlab for pure-Python PDF rendering.

Usage

bash
python3 skills/scientific-report-pdf/scripts/scientific_report_pdf.py --input-json report.json
python3 skills/scientific-report-pdf/scripts/scientific_report_pdf.py --input-json report.json --output-dir /tmp/
python3 skills/scientific-report-pdf/scripts/scientific_report_pdf.py --describe-schema

Input JSON Structure

json
{
  "title": "The Sound of Molecules",
  "authors": ["ReportAgent", "MusicAnalyst"],
  "subtitle": "CS1 Investigation | LAMM Research Platform",
  "abstract": "We present ...",
  "sections": [
    {"type": "heading", "level": 1, "text": "1. Introduction"},
    {"type": "text", "text": "Sonification has been applied to ..."},
    {
      "type": "table",
      "label": "Table 1",
      "caption": "RDKit descriptors for 16 compounds.",
      "headers": ["Compound", "MW", "LogP"],
      "rows": [["aspirin", "180.2", "1.19"], ["ibuprofen", "206.3", "3.72"]]
    },
    {
      "type": "figure",
      "label": "Figure 1",
      "caption": "Era-match heatmap.",
      "path": "/path/to/era_match.png"
    },
    {
      "type": "panel",
      "label": "Figure 2",
      "caption": "Mean similarity by drug class.",
      "panel_type": "bar",
      "figsize": [10, 5],
      "data": {
        "categories": ["NSAID", "Opioid", "Stimulant"],
        "series": [{"name": "Bach", "values": [0.4, 0.7, 0.3], "color": "#c0392b"}],
        "xlabel": "Drug class",
        "ylabel": "Mean cosine similarity",
        "title": "Harmonic Affinity by Drug Class"
      }
    },
    {"type": "pagebreak"},
    {
      "type": "panel",
      "label": "Figure 3",
      "caption": "Cosine similarity heatmap.",
      "panel_type": "heatmap",
      "data": {
        "values": [[0.8, 0.3], [0.2, 0.9]],
        "row_labels": ["aspirin", "fentanyl"],
        "col_labels": ["Bach", "Beethoven"],
        "cmap": "YlOrRd",
        "annotate": true
      }
    }
  ],
  "metadata": {
    "investigation_id": "cs1_sound_of_molecules",
    "platform": "LAMM Infinite",
    "agents": ["SoundAgent1", "MusicAnalyst", "ReportAgent"]
  }
}

Section Types

typeRequired fieldsDescription
headinglevel (1-3), textSection heading
texttextParagraph body
tableheaders, rowsData table with optional label, caption, highlight_col
figurepathEmbed existing PNG/JPG
panelpanel_type, dataAuto-generate matplotlib figure
pagebreak—Force page break
hr—Horizontal rule

Panel Types

panel_typeRequired data fields
heatmapvalues (2D array), row_labels, col_labels
matrixsame as heatmap
barcategories, series (list of {name, values, color})
grouped_barsame as bar
scatterx, y
linex, y

Output

json
{
  "pdf_path": "/tmp/The_Sound_of_Molecules_20260403_001234.pdf",
  "n_pages": 8,
  "n_figures": 4,
  "size_kb": 512
}

Dependencies

  • reportlab — PDF generation
  • matplotlib — auto-generated panel figures
  • pillow — RGBA→RGB image conversion
  • pypdf (optional) — page count in output

© lamm-mit, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/scientific-report-pdf of lamm-mit/scienceclaw.

  • SKILL.md
  • scripts/scientific_report_pdf.py

Open the folder on GitHubat commit ab9aba1

Compare with similar skills

Scientific Report PDF 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.

Scientific Report PDF compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Scientific Report PDF this skilllamm-mit/scienceclaw244—~975Automated safety check: PassApache-2.0
PDFflonat/flonat-research146—~488Automated safety check: PassProprietary
Lov Any2pdflovstudio/any2pdf211—~2.4kAutomated safety check: NotesMIT
AI Review SkillNeuroDong/Ai-Review626—~2.5kAutomated safety check: PassMIT
MineruNebutra/MinerU-Skill122—~504Automated safety check: PassMIT
Lecture To Mdysyecust/lecture-to-notes273—~3.9kAutomated safety check: PassCustom licence

Similar skills

  • PDF

    flonat/flonat-research

    Read, create, combine, split, rotate, OCR, watermark, secure, or extract content from PDF files.

    146 GitHub stars~488 tokensUpdated 10 days ago
    Documents & OfficeAuto-check passed
  • Lov Any2pdf

    lovstudio/any2pdf

    Convert Markdown documents to professionally typeset PDF files with reportlab.

    211 GitHub stars~2.4k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • AI Review Skill

    NeuroDong/Ai-Review

    Generates structured AI paper reviews (SoT style) for LaTeX, PDF, and Word manuscripts.

    626 GitHub stars~2.5k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into Markdown with MinerU — a fast, zero-config document parser for AI agents.

    122 GitHub stars~504 tokensUpdated 15 days ago
    Documents & OfficeAuto-check passed
  • Lecture To Md

    ysyecust/lecture-to-notes

    把课堂视频(本地或 B 站/YouTube)、文字稿、课件三者(任意组合)整理成一份详细的中文 Markdown 课堂笔记,输出按课程标题命名的 {titlename}.md(首行为 文档标题)+ 相对路径图片。Markdown 工作流,与上游 lecture-to-notes 的 LaTeX/PDF 输出并行存在;上游 skill 完全不动。触发词:markdown 笔记、md 笔记、视频转…

    273 GitHub stars~3.9k tokensUpdated 6 days ago
    Documents & OfficeAuto-check passed
  • Paper Compile

    AI4Scientist/nano-scientist

    Compile LaTeX paper to PDF, fix errors, and verify output. An agent skill from AI4Scientist/nano-scientist.

    128 GitHub starsUsed in 5 repos~2.5k tokens
    Documents & OfficeAuto-check: notes

More from lamm-mit/scienceclaw

All 86 skills in this repo
  • Fred Economic Data

    lamm-mit/scienceclaw

    Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources.

    244 GitHub starsUsed in 4 repos~3k tokens
    Auto-check passed
  • Drug Research

    lamm-mit/scienceclaw

    Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.

    244 GitHub starsUsed in 3 repos~1.7k tokens
    Auto-check passed
  • Imaging Data Commons

    lamm-mit/scienceclaw

    Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index.

    244 GitHub starsUsed in 5 repos~11k tokens
    Auto-check passed
  • Rowan

    lamm-mit/scienceclaw

    Cloud-based quantum chemistry platform with Python API. An agent skill from lamm-mit/scienceclaw.

    244 GitHub starsUsed in 4 repos~3.1k tokens
    Auto-check: warnings
  • Infographics

    lamm-mit/scienceclaw

    Create professional infographics using Nano Banana Pro AI with smart iterative refinement.

    244 GitHub starsUsed in 6 repos~4.4k tokens
    Auto-check: notes
  • Disease Research

    lamm-mit/scienceclaw

    Generate comprehensive disease research reports using 100+ ToolUniverse tools.

    244 GitHub stars~946 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Questions about Scientific Report PDF

What does Scientific Report PDF do?

Generate a structured scientific PDF report from a JSON description. Scientific Report PDF is an agent skill from lamm-mit/scienceclaw. Generate a structured scientific PDF report from a JSON description.

When should I use Scientific Report PDF?

Scientific Report PDF fits situations like: tasks that involve PDF; tasks that involve LaTeX.

How do I install Scientific Report PDF in Claude Code?

Run `npx skills add lamm-mit/scienceclaw --skill scientific-report-pdf -a claude-code`. Or copy the skill folder (skills/scientific-report-pdf in lamm-mit/scienceclaw) into .claude/skills/scientific-report-pdf in your project. Claude Code loads it when a task matches its description.

How do I install Scientific Report PDF in Codex?

Run `npx skills add lamm-mit/scienceclaw --skill scientific-report-pdf -a codex`. Or copy the skill folder (skills/scientific-report-pdf in lamm-mit/scienceclaw) into .agents/skills/scientific-report-pdf in your project. Codex loads it when a task matches its description.

Can I use Scientific Report PDF 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 lamm-mit/scienceclaw --skill scientific-report-pdf -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/scientific-report-pdf, .gemini/skills/scientific-report-pdf, .github/skills/scientific-report-pdf and .opencode/skills/scientific-report-pdf in your project.

What does Scientific Report PDF need to run?

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

Does Scientific Report PDF access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Scientific Report PDF 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 Scientific Report PDF use?

Scientific Report PDF is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Scientific Report PDF use?

About 975 tokens (SKILL.md is roughly 3.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Scientific Report PDF?

Skills that share tags, products or a category with Scientific Report PDF: PDF (flonat/flonat-research, 146 stars), Lov Any2pdf (lovstudio/any2pdf, 211 stars), AI Review Skill (NeuroDong/Ai-Review, 626 stars) and Mineru (Nebutra/MinerU-Skill, 122 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Scientific Report PDF?

lamm-mit (a GitHub user) maintains it in lamm-mit/scienceclaw, which has 244 GitHub stars. The repository holds 86 skills in this directory. The repository was last updated on August 21, 2026.

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