Summary
A股市场智能财务分析技能。提供财务数据获取、标准化分析、健康评估和报告生成能力。支持杜邦分析、现金流分析、五维度健康评分。当用户需要进行股票财务分析、财务报表解读、投资健康评估、A股分析时使用此技能。支持上海主板、深圳主板、创业板、科创板、北交所。
hhhh124hhhh/nexus-caiwu-skill · Archived
A股市场智能财务分析技能。提供财务数据获取、标准化分析、健康评估和报告生成能力。支持杜邦分析、现金流分析、五维度健康评分。当用户需要进行股票财务分析、财务报表解读、投资健康评估、A股分析时使用此技能。支持上海主板、深圳主板、创业板、科创板、北交所。
npx skills add hhhh124hhhh/nexus-caiwu-skill --skill nexus-caiwu-agent
A股市场智能财务分析技能。提供财务数据获取、标准化分析、健康评估和报告生成能力。支持杜邦分析、现金流分析、五维度健康评分。当用户需要进行股票财务分析、财务报表解读、投资健康评估、A股分析时使用此技能。支持上海主板、深圳主板、创业板、科创板、北交所。
This repository is archived — consider an actively maintained alternative.
Use when the user wants to know what will break if they change something, or needs safety analy…
1.7K installsUse when the user asks how code works, wants to understand architecture, trace execution flows,…
1.7K installsUse when the user wants to rename, extract, split, move, or restructure code safely. Examples: …
1.6K installsUse when the user is debugging a bug, tracing an error, or asking why something fails. Examples…
1.6K installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
Helps users discover and install agent skills when they ask questions like "how do I do X", "fi…
3.3M installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsPrepare azd-based Azure projects for deployment: generates azure.yaml, infrastructure (Bicep/Te…
568.3K installsDeclared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
5,762 B
SUMMARY.md
393 B
基于 Nexus-caiwu-agent 项目的 A 股市场智能财务分析技能。
独立的数据获取脚本,无需克隆原始项目。
自动环境检测:首次运行时自动检测 Python 环境并安装缺失的依赖。
网络模式支持:
auto - 自动检测网络状态(默认)direct - 国内直连模式proxy - 代理模式(支持 HTTP/HTTPS/SOCKS5)# 检查环境状态
python scripts/fetch_data.py --check
# 自动安装依赖
python scripts/fetch_data.py --install
# 检测网络模式
python scripts/fetch_data.py --detect-network
# 获取财务数据(自动模式)
python scripts/fetch_data.py 600519 贵州茅台
# 指定网络模式
python scripts/fetch_data.py 600519 --mode direct
python scripts/fetch_data.py 600519 --mode proxy --proxy http://127.0.0.1:7890
# 获取数据并分析
python scripts/fetch_data.py 600519 贵州茅台 --analyze --save
输出示例:
{
"stock_code": "600519",
"stock_name": "贵州茅台",
"key_metrics": {
"revenue_billion": 1275.5,
"net_profit_billion": 653.8,
"net_profit_margin": 51.26,
"debt_ratio": 21.5
},
"health_score": 60,
"risk_level": "低风险"
}
完整版包装器,需要先克隆原始项目。适合需要完整功能的场景。
多公司对比分析报告模板,生成完全离线的对比分析HTML报告。
from scripts.comparison_template import generate_comparison_html_report
# 准备对比数据
companies = [
{
"stock_code": "601668",
"stock_name": "中国建筑",
"key_metrics": {
"revenue_billion": 15582.20,
"net_profit_billion": 493.42,
"roe": 6.04,
...
}
},
...
]
# 可选的行业和宏观数据
industry_data = {"total_output": "32万亿", ...}
macro_data = {"gdp": "140.19万亿", ...}
# 生成对比报告
html = generate_comparison_html_report(
companies,
industry_data=industry_data,
macro_data=macro_data
)
# 保存报告
with open("comparison_report.html", "w", encoding="utf-8") as f:
f.write(html)
特性:
# 检查环境(可选)
python scripts/fetch_data.py --check
# 自动安装依赖(或首次运行时自动安装)
python scripts/fetch_data.py --install
# 分析股票
python scripts/fetch_data.py 600519 贵州茅台 --analyze
特性:
帮我分析贵州茅台(600519)的财务状况
分析 600248 陕西建工的投资价值
| 维度 | 权重 | 核心指标 | 满分条件 |
|---|---|---|---|
| 盈利能力 | 25% | ROE | > 15% |
| 偿债能力 | 25% | 资产负债率 | < 40% |
| 运营效率 | 20% | 资产周转率 | > 1.0 |
| 成长能力 | 15% | 营收增长率 | > 20% |
| 现金流质量 | 15% | 现金流/净利润 | > 1.2 |
| 评分 | 风险等级 | 投资建议 |
|---|---|---|
| 80-100 | 低风险 ✅ | 可考虑配置 |
| 60-79 | 中低风险 | 适度配置 |
| 40-59 | 中等风险 ⚠️ | 谨慎配置 |
| 20-39 | 中高风险 | 不建议重仓 |
| 0-19 | 高风险 ❌ | 回避 |
ROE = 净利率 × 总资产周转率 × 权益乘数
分析维度:
- 净利率 → 盈利能力
- 资产周转率 → 运营效率
- 权益乘数 → 财务杠杆
| 文件 | 说明 |
|---|---|
data/[代码]_[名称].json |
财务数据 JSON |
reports/[代码]financialreport.html |
D3.js 交互报告 |