Report Beautifier Pro

v1.0.1

Automatically convert Word, Excel, or PDF reports into professionally formatted PPT, PDF, or image files with advanced chart and styling options.

0· 20·0 current·0 all-time
byYK-Global@niclosca
Security Scan
Capability signals
Requires sensitive credentials
These labels describe what authority the skill may exercise. They are separate from suspicious or malicious moderation verdicts.
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The name/description match the included modules: document parsing, chart generation, PPT/PDF/image output and template management. The included files (data_parser, chart_maker, ppt_generator, output_generator, beautifier, token_validator) implement the claimed functionality; nothing in the repository requests unrelated cloud credentials or system-level access.
Instruction Scope
SKILL.md instructs callers to pass an API key and to call library functions (beautify_report / ReportBeautifier / get_tier_info / list_templates). The only external network call is token validation (POST to https://geo-api.yk-global.com/validate) which transmits the provided API key in an Authorization header — this is coherent with a subscription/tier check but is the only place user secrets leave the host. The skill does not instruct reading arbitrary system files or environment variables beyond what the user provides as parameters.
Install Mechanism
No install spec is provided though a full Python codebase and requirements.txt are included. That means dependencies (pandas, python-pptx, reportlab, etc.) must be installed by the runtime environment; there are no remote downloads or obscure install URLs in the manifest. The packaging contains duplicated directories and tests which suggest sloppy assembly but not malicious installation behavior.
Credentials
The skill declares no required env vars or credentials; instead it expects the caller to supply an API key parameter (RPT-*) which is reasonable. The API key is sent to the validation endpoint — expected for tier/limit enforcement — but this is sensitive data: only the API key is transmitted, and the code does not appear to send file contents or parsed data to that endpoint. The number of requested environment/credential items is minimal and proportionate.
Persistence & Privilege
The skill does not request always:true, system-wide config changes, or persistent privileged presence. It writes local output files as expected for a reporting tool. There is no evidence of the skill modifying other skills' configuration or requesting elevated system privileges.
Assessment
This package appears to implement what it claims: converting Word/Excel/PDF inputs into styled PPT/PDF/PNG. Before installing, consider: (1) The API key you provide is sent to https://geo-api.yk-global.com/validate — only supply a key you control and trust that domain; the skill does not declare or require platform env vars but does accept a user-supplied key parameter. (2) There is no install spec; you will need to install the Python dependencies yourself in a controlled environment (virtualenv/container). (3) The repository contains duplicate directories and test files — this suggests sloppy packaging (not necessarily malicious). (4) If you need stronger assurance, review the token_validator and network calls, or run the code in an isolated sandbox and monitor network traffic. Provide the API key only if you accept that it will be validated externally; if you cannot trust the validation domain, avoid giving real secrets and consider using a throwaway key for testing.

Like a lobster shell, security has layers — review code before you run it.

latestvk97dqd0qspgedr1vrenx3ceybn859jy1
20downloads
0stars
2versions
Updated 8h ago
v1.0.1
MIT-0

Report Beautifier · 专业报告美颜器

上传丑报表(Word/Excel/PDF)→ AI 自动识别数据结构和内容 → 输出专业级排版(PPT/PDF)


触发词

报告美颜 美化报表 Word转PPT Excel转PPT PDF转PPT 报表美化 数据可视化 图表生成 report beautifier beautify report


使用方法

1. 基础使用

from scripts.beautifier import beautify_report

result = beautify_report(
    file_path="/path/to/report.xlsx",
    api_key="RPT-XXXX-your-api-key",
    template="business_blue",  # 可选模板
    output_format="pptx"         # pptx / pdf / png
)

if result["success"]:
    print(f"生成文件: {result['output_path']}")
    print(f"使用套餐: {result['tier_info']['tier_name']}")
else:
    print(f"错误: {result['error']}")

2. 高级使用

from scripts.beautifier import ReportBeautifier, BeautifierConfig

config = BeautifierConfig(
    template_id="tech_purple",
    output_format="pptx",
    include_charts=True,
    quality="high"
)

beautifier = ReportBeautifier(api_key="RPT-XXXX", config=config)
result = beautifier.beautify_file("/path/to/report.xlsx")

print(result)

3. 查询套餐信息

from scripts.beautifier import get_tier_info, list_templates

# 获取API Key对应的套餐信息
info = get_tier_info("RPT-XXXX")
print(info)

# 获取可用模板列表
templates = list_templates("RPT-XXXX")
for t in templates:
    print(f"{t['id']}: {t['name']}")

支持格式

格式扩展名说明
Word.docx, .doc自动提取标题、段落、表格
Excel.xlsx, .xls支持多Sheet,智能识别表头
PDF.pdf文本提取,支持简单表格识别

套餐与定价

套餐价格次数/月输入格式模板数下载其他
FREE免费3次Word1种预览不可下载-
BSC/Standard¥29/月50次Word/Excel/PDF5种PPT下载图表美化
Pro¥99/月300次全部格式15种+自定义配色PDF/PPT/图片高级图表、演讲稿
Max/Enterprise¥299/月无限次全部格式企业VI模板全部格式批量10份/批、API接口

可用模板(15种)

商务风格

  • business_blue - 商务蓝
  • finance_gray - 金融灰
  • government_red - 政务红

教育/专业

  • teaching_green - 教学绿
  • tech_purple - 科技紫
  • ocean_blue - 海洋蓝

活力风格

  • vibrant_orange - 活力橙
  • rose_pink - 玫瑰粉
  • vibrant_purple - 活力紫

简约风格

  • minimal_white - 简约白
  • night_dark - 暗夜黑
  • fresh_cyan - 清新青

高端风格

  • classic_gold - 经典金
  • forest_green - 森林绿
  • deep_sea_blue - 深海蓝

API Key 格式

RPT-FREE-xxxxx     # 免费版
RPT-BSC-xxxxx      # 标准版
RPT-STD-xxxxx      # 标准版(别名)
RPT-PRO-xxxxx      # 专业版
RPT-ENT-xxxxx      # 企业版

验证接口: POST https://geo-api.yk-global.com/validate


输出格式

  • PPTX: PowerPoint 演示文稿(默认)
  • PDF: PDF 文档(通过转换)
  • PNG: 单张图表图片

场景识别

自动识别以下报告类型并应用对应样式:

  • financial - 财务报告
  • sales - 销售报表
  • report - 述职/工作汇报
  • bidding - 投标方案
  • teaching - 教学课件
  • general - 通用文档

错误处理

try:
    result = beautify_report(file_path, api_key)
    if not result["success"]:
        print(f"美化失败: {result['error']}")
except Exception as e:
    print(f"系统错误: {e}")

依赖

python-docx>=1.1.0
openpyxl>=3.1.2
PyPDF2>=3.0.0
python-pptx>=1.0.1
matplotlib>=3.7.0
plotly>=5.18.0
requests>=2.31.0
Pillow>=10.0.0
kaleido>=0.2.1

如需购买收费版,请访问 YK-Global.com

Comments

Loading comments...