elegant-reports

elegant-reports is a skill for Claude Code, Codex from malue-ai/dazee-small. It costs 32 tokens per session (944 once invoked), scanned A, original, MIT.

A tool for creating designed PDF reports with charts, tables, and multiple pages. It uses a Nordic-style layout with specified colors, fonts, and spacing.

In plain words
What is it for?
Use it to create analysis, research, or project reports with headings, body text, charts, tables, headers, footers, and page numbers.
Why use it?
It turns data into a structured, readable report instead of a plain document. Charts and tables help present analysis in one shareable PDF.

Skill for Claude CodeCodex

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

Good fit Use it to create analysis, research, or project reports with headings, body text, charts, tables, headers, footers, and page numbers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malue-ai/dazee-small/elegant-reports
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 malue-ai/dazee-small --skill elegant-reports
Clone the repo
git clone --depth 1 https://github.com/malue-ai/dazee-small

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 elegant-reports

README.md
[![agentmods](https://agentmods.dev/badge/skills/malue-ai/dazee-small/elegant-reports/github.svg)](https://agentmods.dev/skills/malue-ai/dazee-small/elegant-reports)
Your own site
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/elegant-reports"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/elegant-reports/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 elegant-reports

Your own site · 80×15
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/elegant-reports"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/elegant-reports.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 944 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00032 $0.00944
Opus 5 $0.00016 $0.00472
Sonnet 5 $0.00006 $0.00189
Haiku 4.5 $0.00003 $0.00094

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

Security

Grade A, and why

elegant-reports scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

instances/xiaodazi/skills/elegant-reports/SKILL.md · 116 lines

How it starts

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

精美报告生成

生成设计感强的专业 PDF 报告,支持图表、表格、多页排版,Nordic 简约风格。

使用场景

  • 用户说「帮我做一份漂亮的报告」「把这些数据生成 PDF 报告」
  • 用户需要美观的分析报告、调研报告、项目报告
  • 用户觉得普通 PDF 太素,想要有设计感

依赖安装

首次使用时自动安装:

pip install fpdf2 matplotlib

执行方式

通过 Python 脚本使用 fpdf2 生成 PDF,matplotlib 生成图表。

设计风格:Nordic 简约

  • 配色:以深蓝 #2C3E50 + 白色为主,琥珀黄 #F39C12 作强调色
  • 字体:衬线体标题 + 无衬线正文(中文使用系统字体)
  • 留白:大量留白,不要塞满
  • 排版:左对齐为主,标题居中

报告结构模板

from fpdf import FPDF

class ElegantReport(FPDF):
    """Nordic-style PDF report generator."""

    def header(self):
        self.set_font('Helvetica', 'B', 10)
        self.set_text_color(44, 62, 80)
        self.cell(0, 10, self.title, align='R')
        self.ln(15)

    def footer(self):
        self.set_y(-15)
        self.set_font('Helvetica', '', 8)
        self.set_text_color(149, 165, 166)
        self.cell(0, 10, f'Page {self.page_no()}/{{nb}}', align='C')

    def chapter_title(self, title: str):
        self.set_font('Helvetica', 'B', 18)
        self.set_text_color(44, 62, 80)
        self.cell(0, 15, title)
        self.ln(20)

    def body_text(self, text: str):
        self.set_font('Helvetica', '', 11)
        self.set_text_color(52, 73, 94)
        self.multi_cell(0, 7, text)
        self.ln(5)

支持的内容元素

  1. 封面页:标题、副标题、日期、作者
  2. 目录:自动生成章节目录
  3. 正文:标题层级、段落、列表
  4. 表格:带交替行背景色的数据表
  5. 图表:matplotlib 生成的统计图
  6. 页眉页脚:标题 + 页码

图表生成

import matplotlib.pyplot as plt
import matplotlib
matplotlib.use('Agg')

def create_chart(data: dict, output_path: str):
    """Generate chart image for embedding in PDF."""
    fig, ax = plt.subplots(figsize=(8, 4))
    # Nordic color palette
    colors = ['#2C3E50', '#E74C3C', '#F39C12', '#27AE60', '#3498DB']
    ax.bar(data.keys(), data.values(), color=colors[:len(data)])
    ax.spines['top'].set_visible(False)
    ax.spines['right'].set_visible(False)
    plt.tight_layout()
    plt.savefig(output_path, dpi=150, bbox_inches='tight')
    plt.close()

输出规范

  • 默认 A4 纵向,留足页边距
  • 中文内容自动使用系统中文字体
  • 图表清晰度不低于 150 DPI
  • 生成完成后告知用户文件路径
  • 复杂报告先确认大纲结构,再生成

Read the full file on GitHub · 116 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. 10d ago First seen · 116 lines · 32 tokens per session scan A 4355c9d9a977

Subscribe to this mod's changes

elegant-reports is a skill published in the GitHub repository malue-ai/dazee-small (36 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 944 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories