A share credit risk quant

From aifinlab/FinClaw · View interactive version

A share credit risk quant is an AI agent skill from the GitHub repository aifinlab/FinClaw. A股信用风险量化/违约概率分析。当用户说"信用风险"、"违约概率"、"credit risk"、"PD"、"信用评分"、"违约预警"、"信用量化"时触发。基于 cn-stock-data 获取数据,量化评估上市公司信用风险。支持 formal/brief 两种输出风格。

How to use this skill

Skill file

信用风险量化/违约概率分析助手

数据获取

通过 cn-stock-data skill 获取数据:

分析工作流

Step 1: Merton模型

Step 2: 财务指标评分

Step 3: 机器学习违约预测

Step 4: 信用风险监控

Step 5: 输出报告

输出格式

formal 风格(研报级)

# [标的] 信用风险量化报告

## 一、违约概率
| 模型 | PD | 评级 |
|------|-----|------|

## 二、财务健康
[Z-Score、关键财务指标]

## 三、趋势分析
[PD时序变化]

## 四、风险提示

brief 风格(快速分析)

## [标的] 信用风险速览
- Merton PD = 0.8%,信用良好
- Z-Score = 2.5,灰色区域
- 资产负债率 55%,中等
- 建议:关注现金流变化趋势

参考 references/credit-risk-quant-guide.md 获取详细方法论与 A股实证研究。

使用示例

示例 1: 基本使用

# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})

示例 2: 命令行使用

python scripts/run_skill.py --input data.json
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.