report-generation

report-generation is a skill for Claude Code, Codex from cosmicstack-labs/mercury-agent-skills. It costs 20 tokens per session (10,774 once invoked), scanned A, original, MIT.

A guide to creating structured PDF reports from data, templates, and generated content. It covers report sections, charts, tables, findings, methodology, and professional formatting.

In plain words
What is it for?
Use it to create data-driven reports with covers, contents pages, summaries, charts, tables, and findings.
Why use it?
It helps turn raw data and conclusions into reports with a clear structure that readers can follow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create data-driven reports with covers, contents pages, summaries, charts, tables, and findings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cosmicstack-labs/mercury-agent-skills/report-generation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cosmicstack-labs/mercury-agent-skills --skill report-generation
Clone the repo
git clone --depth 1 https://github.com/cosmicstack-labs/mercury-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for report-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/report-generation/github.svg)](https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/report-generation)
Your own site
<a href="https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/report-generation"><img src="https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/report-generation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for report-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/cosmicstack-labs/mercury-agent-skills/report-generation"><img src="https://agentmods.dev/badge/skills/cosmicstack-labs/mercury-agent-skills/report-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00020 $0.10774
Opus 5 $0.00010 $0.05387
Sonnet 5 $0.00004 $0.02155
Haiku 4.5 $0.00002 $0.01077

Measured 6d ago against content hash 77ff08fd0f46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

report-generation scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

response = requests.get(api_endpoint, headers=headers, params=params)
categories/pdf-generation/report-generation/SKILL.md · 1,492 lines

How it starts

The opening of the file, as written. The whole thing — 1,492 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Report Generation

Create structured, data-driven PDF reports that communicate insights effectively. This skill covers the full pipeline — from data sources and templates to polished PDF output with charts, tables, and professional formatting.


Report Structure Fundamentals

A well-structured report follows a consistent pattern that guides the reader from context to conclusions.

Standard Report Anatomy

┌────────────────────────────────────────┐
│           Cover Page                    │
│   Title, subtitle, author, date,        │
│   organization branding                 │
├────────────────────────────────────────┤
│         Table of Contents              │
│   Auto-generated from headings          │
├────────────────────────────────────────┤
│      Executive Summary                  │
│   Key findings in 1-2 paragraphs        │
├────────────────────────────────────────┤
│      Introduction / Background          │
│   Context, objectives, scope            │
├────────────────────────────────────────┤
│      Methodology                        │
│   How data was collected/analyzed       │
├────────────────────────────────────────┤
│      Findings / Results                 │
│   Data presentation with charts/tables  │
├────────────────────────────────────────┤
│      Discussion                         │
│   Interpretation of results             │
├────────────────────────────────────────┤
│      Conclusions                        │
│   Summary of key takeaways              │
├────────────────────────────────────────┤
│      Recommendations                    │
│   Actionable next steps                 │
├────────────────────────────────────────┤
│      Appendices                         │
│   Raw data, methodology details, refs    │
└────────────────────────────────────────┘

Report Metadata Standards

"""Report metadata schema for consistent document properties."""

from dataclasses import dataclass, field
from datetime import datetime
from typing import Optional


@dataclass
class ReportMetadata:
    """Standard metadata for all generated reports."""
    title: str
    subtitle: Optional[str] = None
    author: str = "Automated Report System"
    organization: str = "Cosmic Stack Labs"
    department: Optional[str] = None
    version: str = "1.0"
    report_date: str = field(default_factory=lambda: datetime.now().strftime("%Y-%m-%d"))
    period_start: Optional[str] = None
    period_end: Optional[str] = None
    classification: str = "Internal"
    document_id: Optional[str] = None
    keywords: list[str] = field(default_factory=list)
    
    def to_dict(self) -> dict:
        """Convert to dictionary for template rendering."""
        return {
            'title': self.title,
            'subtitle': self.subtitle,
            'author': self.author,
            'organization': self.organization,
            'department': self.department,
            'version': self.version,
            'report_date': self.report_date,
            'period_start': self.period_start,
            'period_end': self.period_end,
            'classification': self.classification,
            'document_id': self.document_id or f"RPT-{self.report_date}-{hash(self.title) % 10000:04d}",
            'keywords': ', '.join(self.keywords) if self.keywords else '',
        }


# Usage
metadata = ReportMetadata(
    title="Q4 2024 Performance Analysis",
    subtitle="Infrastructure & Operations Review",
    author="Data Engineering Team",
    department="Engineering",
    version="2.1",
    period_start="2024-10-01",
    period_end="2024-12-31",
    classification="Confidential",
    keywords=["performance", "infrastructure", "q4-2024", "analytics"],
)

Read the full file on GitHub · 1,492 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 1,492 lines · 20 tokens per session scan A 77ff08fd0f46

Subscribe to this mod's changes

report-generation is a skill published in the GitHub repository cosmicstack-labs/mercury-agent-skills (470 stars, last pushed 15d ago), licensed MIT. It adds 20 tokens to every session and 10,774 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

pdf

A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.

agentscope-ai/QwenPaw · 95 tokens

graphic-ebook

Creates professionally designed B2B SaaS e-books in HTML + CSS, exported as print-ready PDF. 3–10 pages, 9 style presets, 11 page layout types. Trigger when user says "create an ebook", "design a lead magnet", "make a PDF guide", "build a gated content piece", "write a B2B ebook", "design a white paper", "create a…

Varnan-Tech/opendirectory · 97 tokens

arxiv-preflight

Pre-submission validation audit for arXiv papers across TeX source, PDF, figures, metadata, bibliography, file organization, and common-error scans. Produces pass/fail report with specific fixes per arXiv requirement. Triggers on: "check my arXiv submission", "validate for arXiv", "arXiv preflight", "ready for arXiv"…

Mathews-Tom/armory · 120 tokens

md-to-pdf

Convert Markdown to styled PDFs with Mermaid diagrams, LaTeX/KaTeX math, tables, and code highlighting. Triggers on: "convert markdown to pdf", "make a pdf from this md", "export markdown as pdf", "pdf from markdown with equations".

Mathews-Tom/armory · 60 tokens

marp-slides

Author MARP markdown slide decks exportable to PDF, PPTX, and HTML via marp-cli. Covers Marpit directives, custom CSS themes, SVG chart recipes, and dashboard components. Triggers on: "marp", "marp deck", "markdown slides", "slides from markdown", "marp-cli", "pdf from markdown", "pptx from markdown".

Mathews-Tom/armory · 81 tokens

iflytek-ocr-invoice

An image-reading tool that extracts structured information from Chinese invoices, receipts, bills, and tickets. OCR means turning text in a photo or scan into computer-readable data.

iflytek/iFly-Skills · 77 tokens