← Back to Skills Marketplace
alsoforever

Finance Analysis

by alsoforever · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
1304
Downloads
0
Stars
6
Active Installs
1
Versions
Install in OpenClaw
/install finance-analysis
Description
财务分析 CLI 技能 - 财报分析、股票估值、风险评估
README (SKILL.md)

📊 财务分析 CLI 技能

专业的财务分析技能,提供财报分析、股票估值、风险评估等功能。

作者: 滚滚家族
版本: 1.0.0
创建日期: 2025-11-30


📋 技能描述

本技能提供专业的财务分析能力,包括:

  1. 财报分析 - 分析公司财务报表,包括规模指标、成长指标、盈利指标
  2. 股票估值 - 提供 DCF 估值和相对估值两种方法
  3. 风险评估 - 评估公司偿债能力、盈利能力、成长能力

适用场景:

  • 投资决策前分析
  • 月度财务分析
  • 竞争对手分析
  • 行业研究

🚀 使用方法

1. 财报分析

python scripts/finance_analysis.py analyze --stock 000001.SZ

输出示例:

📊 财报分析 - 平安银行 (000001.SZ)

【规模指标】
总资产:¥5.59 万亿
总收入:¥1,799 亿
净利润:¥465 亿

【成长指标】
收入增长率:8.2%
利润增长率:12.5%

【盈利指标】
净利率:25.8%
ROE:11.2%
ROA:0.85%

2. 股票估值

# DCF 估值
python scripts/finance_analysis.py valuation --stock 600519.SH --method dcf

# 相对估值
python scripts/finance_analysis.py valuation --stock 600519.SH --method relative

输出示例:

💰 DCF 估值 - 贵州茅台 (600519.SH)

【假设条件】
最新收入:¥100,000 百万
收入增长率:15.0%
净利润率:50.0%
WACC:8.0%

【估值结果】
公司价值:¥1,881,487 百万
每股价值:¥1,498 元

3. 风险评估

python scripts/finance_analysis.py risk --stock 000001.SZ

输出示例:

⚠️ 风险评估 - 平安银行 (000001.SZ)

【偿债能力】
流动比率:2.50 ✅ 良好
速动比率:2.00 ✅ 良好
资产负债率:30.0% ✅ 良好

【盈利能力】
ROE:30.0% ✅ 强

【成长能力】
收入增长率:18.0% ✅ 高增长
利润增长率:20.0% ✅ 高增长

【综合风险评分】
总分:90/100
⭐⭐⭐⭐⭐ 低风险

📦 依赖安装

pip install tushare pandas numpy

环境变量:

export TUSHARE_TOKEN=your_token_here

🌪️ 滚滚家族

本技能由滚滚家族开发,是 17 个原创技能之一。

翻滚的地球人,一直在! 🌪️💚📊


许可证: MIT
GitHub: https://github.com/alsoforever/gungun-life

Usage Guidance
This skill appears to be a straightforward Python CLI for financial analysis that fetches data from the Tushare API. Before installing: 1) Understand it will make network requests to Tushare (if you set TUSHARE_TOKEN or use its API). 2) If you plan to provide a TUSHARE_TOKEN, treat it like any API secret — only use a token with the minimum needed privileges and avoid using high-privilege or production tokens in untrusted environments. 3) Install dependencies in an isolated Python environment (venv/conda) to limit risk. 4) Note the minor metadata issues: the registry metadata omits the optional TUSHARE_TOKEN and package.json is present but used as metadata (not a Python packaging file). 5) If you need stronger assurance, inspect the repository yourself or run the scripts in a sandbox before giving any credentials.
Capability Analysis
Type: OpenClaw Skill Name: finance-analysis Version: 1.0.0 The finance-analysis skill bundle is a legitimate CLI tool for financial report analysis and stock valuation using the Tushare API. The code in scripts/finance_analysis.py and scripts/valuation.py implements standard financial calculations (DCF, ROE, etc.) and lacks any indicators of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description (financial analysis, valuation, risk) match the included Python scripts and declared Python dependencies (tushare, pandas, numpy). The code implements analysis, valuation, and risk functions and uses the Tushare API for data — this is expected for the stated purpose.
Instruction Scope
SKILL.md instructs the agent/user to run the provided Python scripts and to (optionally) set TUSHARE_TOKEN. The runtime instructions do not ask to read unrelated files, scan the host, or exfiltrate data; they do make outbound API calls to Tushare (expected for fetching market/financial data).
Install Mechanism
There is no formal install spec (instruction-only), but SKILL.md/README ask you to pip install tushare/pandas/numpy. That is expected for a Python CLI. Minor oddity: package.json exists and lists Python packages under 'dependencies' (a Node-style manifest used as metadata) — unusual but not harmful. No downloads from arbitrary URLs or archive extraction were found.
Credentials
The code reads a single environment variable TUSHARE_TOKEN (used to obtain a pro API client). That credential is proportional to the task. However, the registry metadata lists no required env vars while SKILL.md and the scripts reference TUSHARE_TOKEN (optional) — a documentation/metadata mismatch to be aware of.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges, always:false, and it does not modify other skills or global agent configuration. Autonomous invocation is allowed by default (normal) but not combined with other red flags.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install finance-analysis
  3. After installation, invoke the skill by name or use /finance-analysis
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
finance-analysis 1.0.0 初始版本发布 - 提供财报分析功能(规模、成长、盈利指标分析) - 支持股票估值(DCF 及相对估值方法) - 实现风险评估(偿债、盈利、成长能力评分) - 支持命令行操作,易于投资与财务决策分析 - 提供详细使用示例和依赖安装指南
Metadata
Slug finance-analysis
Version 1.0.0
License MIT-0
All-time Installs 7
Active Installs 6
Total Versions 1
Frequently Asked Questions

What is Finance Analysis?

财务分析 CLI 技能 - 财报分析、股票估值、风险评估. It is an AI Agent Skill for Claude Code / OpenClaw, with 1304 downloads so far.

How do I install Finance Analysis?

Run "/install finance-analysis" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Finance Analysis free?

Yes, Finance Analysis is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Finance Analysis support?

Finance Analysis is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Finance Analysis?

It is built and maintained by alsoforever (@alsoforever); the current version is v1.0.0.

💬 Comments