Analyze financial data from uploaded Excel/PDF files and generate interactive reports with sparkline trend charts. Supports output to PDF, DOCX, Markdown, an...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install finance-report-analyzer或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install finance-report-analyzer⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/finance-report-analyzer/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: finance-report-analyzer description: | Analyze financial data from uploaded Excel/PDF files and generate interactive reports with sparkline trend charts. Supports output to PDF, DOCX, Markdown, and HTML. Use when: (1) User uploads Excel/CSV/PDF with financial data, (2) User asks for financial analysis or company report, (3) User wants visual reports from financial statements, (4) User mentions stock ticker + financial analysis, (5) User shares a Feishu sheet/doc link with financial data. ---
Generate financial analysis reports from uploaded Excel/PDF files with inline SVG sparkline trend charts and multi-format output.
python3 scripts/generate_report.py input.xlsx -o pdf --company "公司名" --ticker "000001.SZ"
-o flag controls output. HTML is always generated as the base; other formats convert from HTML.
| Flag | Output | Requires | |------|--------|----------| | -o html | HTML only | (built-in) | | -o pdf | HTML + PDF (default) | wkhtmltopdf or chromium | | -o doc | HTML + DOCX | pandoc | | -o md | HTML + Markdown | pandoc or markdownify |
Try in order:
```bash # Get token TOKEN=$(curl -s -X POST 'https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal' \ -H 'Content-Type: application/json' \ -d '{"app_id":"APP_ID","app_secret":"APP_SECRET"}' | python3 -c "import json,sys; print(json.load(sys.stdin)['tenant_access_token'])") # Get file_key from message curl -s "https://open.feishu.cn/open-apis/im/v1/messages/{message_id}" -H "Authorization: Bearer $TOKEN" # Download curl -s "https://open.feishu.cn/open-apis/im/v1/messages/{message_id}/resources/{file_key}?type=file" \ -H "Authorization: Bearer $TOKEN" -o /tmp/data.xlsx ``` Get app credentials: read channels.feishu.appId/appSecret from openclaw.json.
python3 scripts/generate_report.py /tmp/data.xlsx -o pdf \
--company "百济神州-U" --ticker "688235.SH" --output-dir /tmp/reports
Search for industry benchmarks:
web_search("{company} 行业对比 市场份额 {year}")
The message tool may send paths as text. Use direct Feishu API to send real file messages:
# 1. Upload file to get file_key
UPLOAD=$(curl -s -X POST 'https://open.feishu.cn/open-apis/im/v1/files' \
-H "Authorization: Bearer $TOKEN" \
-F 'file_type=stream' \
-F "file_name=report.html" \
-F "file=@/path/to/report.html")
FILE_KEY=$(echo "$UPLOAD" | python3 -c "import json,sys; print(json.load(sys.stdin)['data']['file_key'])")
# 2. Send file message to chat
curl -s -X POST 'https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type=chat_id' \
-H "Authorization: Bearer $TOKEN" \
-H 'Content-Type: application/json' \
-d "{\"receive_id\":\"CHAT_ID\",\"msg_type\":\"file\",\"content\":\"{\\\"file_key\\\":\\\"$FILE_KEY\\\"}\"}"
See references/metrics.md for financial metric calculations.
安装 Finance Report Analyzer 后,可以对 AI 说这些话来触发它
Help me get started with Finance Report Analyzer
Explains what Finance Report Analyzer does, walks through the setup, and runs a quick demo based on your current project
Use Finance Report Analyzer to analyze financial data from uploaded Excel/PDF files and generate i...
Invokes Finance Report Analyzer with the right parameters and returns the result directly in the conversation
What can I do with Finance Report Analyzer in my data & analytics workflow?
Lists the top use cases for Finance Report Analyzer, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/finance-report-analyzer/ 目录(个人级,所有项目可用),或 .claude/skills/finance-report-analyzer/(项目级)。重启 AI 客户端后,用 /finance-report-analyzer 主动调用,或让 AI 根据上下文自动发现并使用。
Finance Report Analyzer 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Finance Report Analyzer 可免费安装使用。请查阅仓库了解许可证信息。
Analyze financial data from uploaded Excel/PDF files and generate interactive reports with sparkline trend charts. Supports output to PDF, DOCX, Markdown, an...
Finance Report Analyzer 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my data & analytics tasks using Finance Report Analyzer
Identifies repetitive steps in your workflow and sets up Finance Report Analyzer to handle them automatically