skills/financial-ratio-calculation/SKILL.md
用于计算企业财务比率的原子技能,包括盈利能力、偿债能力、营运能力和成长性指标。适用于财务报表分析、企业信用评估、投资研究和风险管理等金融场景。
npx skillsauth add aifinlab/finclaw financial-ratio-calculationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
本 Skill 支持多种财务数据输入格式,核心数据来源包括:
说明:本 Skill 不包含数据采集功能,需要用户提供清洗后的财务数据。建议数据时间跨度不少于3年,以便进行趋势分析。
本 Skill 提供全面的财务比率计算能力,涵盖四大类财务指标:
pip install -r requirements.txt
# 计算所有财务比率
python scripts/calc_ratios.py --input financials.csv --output ratios.csv
# 指定计算特定类型的比率
python scripts/calc_ratios.py --input financials.csv --output profitability.csv --ratio-type profitability
# 添加行业基准比较
python scripts/calc_ratios.py --input financials.csv --output analysis.csv --industry-benchmark manufacturing
# 自定义缺失值处理方法
python scripts/calc_ratios.py --input financials.csv --output ratios.csv --missing-method forward-fill
# 设置时间窗口进行滚动计算
python scripts/calc_ratios.py --input financials.csv --output rolling_ratios.csv --window 4 --min-periods 2
# 导出详细分析报告
python scripts/calc_ratios.py --input financials.csv --output report.html --format html --detailed
{
"company": "示例公司",
"period": "2025",
"profitability_ratios": {
"gross_margin": 35.2,
"net_margin": 12.8,
"roe": 15.6,
"roa": 8.3,
"roic": 14.7
},
"liquidity_ratios": {
"current_ratio": 1.8,
"quick_ratio": 1.2,
"cash_ratio": 0.4
},
"leverage_ratios": {
"debt_to_assets": 45.3,
"debt_to_equity": 82.7,
"interest_coverage": 6.5
},
"efficiency_ratios": {
"receivables_turnover": 8.2,
"inventory_turnover": 6.7,
"asset_turnover": 0.9
},
"growth_ratios": {
"revenue_growth": 12.5,
"net_income_growth": 18.3,
"asset_growth": 8.7
},
"analysis": {
"trend": "improving",
"strengths": ["盈利能力持续改善", "营运效率提升"],
"weaknesses": ["偿债压力较大", "现金流偏紧"],
"recommendations": ["优化负债结构", "加强应收账款管理"]
}
}
LICENSE 文件requirements.txt 为准development
# trust-valuation-engine ## 描述 信托资产估值引擎,支持非标债权估值、股权估值、净值计算、减值测试。 ## 功能 - 非标债权估值(现金流折现法) - 股权估值(市场法/收益法/资产基础法) - 净值计算与发布 - 减值测试与拨备 - 估值模型管理 ## 许可证 MIT License
development
# trust-risk-manager ## 描述 信托风险全流程管理工具,覆盖信用风险、市场风险、流动性风险、操作风险四大维度,提供实时监控、预警提示和风险处置建议。 ## 功能 - 信用风险评估(融资主体、担保措施、偿债能力) - 市场风险监控(利率、汇率、商品价格敏感性) - 流动性风险分析(期限错配、赎回压力、变现能力) - 操作风险检查(流程合规、系统安全) - 风险预警指标(VaR、CVaR、压力测试) - 风险限额管理(集中度、久期、杠杆) - 风险报告生成 ## 使用场景 - 风控部门日常监控 - 投后管理风险排查 - 新产品风险评审 - 监管报送数据准备 - 风险预警处置 ## 输入输出 ### 输入 ```json { "portfolio_id": "", "risk_type": "all|credit|market|liquidity|operation", "assets": [ { "asset_id": "", "asset_type": "非标债权|股票|债券|基金", "exposu
development
# trust-product-analyzer ## 描述 信托产品综合分析与筛选工具,支持产品信息抓取、风险评级、收益测算、合规检查和竞品对比。 ## 功能 - 信托产品信息智能抓取与解析(支持用益信托网、中国信托登记等平台) - 多维度风险评估(信用风险、市场风险、流动性风险) - 预期收益与实际收益对比分析 - 合格投资者适当性匹配 - 产品竞品横向对比 - 自动生成尽调报告 ## 使用场景 - 理财师为客户筛选合适信托产品 - 投资经理进行竞品分析 - 风控部门审查产品合规性 - 研究人员追踪市场产品发行情况 ## 输入输出 ### 输入 ```json { "action": "analyze|compare|screen", "product_code": "", "product_name": "", "filters": { "min_yield": 6.5, "max_duration": 24, "risk_level": ["R2", "R3"], "trust_type": "集合信托", "i
development
# trust-post-investment-monitor ## 描述 信托投后监控工具,提供预警指标追踪、风险事件监测、处置建议生成、定期报告输出。 ## 功能 - 融资主体监控(经营/财务/舆情) - 担保物监控(价值/权属/流动性) - 预警阈值管理 - 风险事件响应 - 处置方案建议 - 定期监控报告 ## 许可证 MIT License