Macro Forward Adjustment logo

Macro Forward Adjustment

Community
vivy-yi
macro-forward-adjustment

宏观前瞻调整 — 将宏观因子(GDP/房价/行业指数)纳入 ECL 计量, 应用乐观/基准/悲观三种情景权重,生成 IFRS 9 合规的前瞻性 ECL。 适用情形:季度末 ECL 计量完成后,风险经理应用宏观调整时执行, 须配合 stage-classification 和 ecl-calculation 结果使用。

Overview

Publishervivy-yi
Repositoryfinance-skills
Skill namemacro-forward-adjustment
Stars
43
Forks
13
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by vivy-yi on GitHub. Read the source before you install it.

Installation

Install the Macro Forward Adjustment AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/vivy-yi/finance-skills/tree/master/finance-skills/skills/ifrs9-credit-risk/skills/macro-forward-adjustment
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vivy-yi/finance-skills.git /tmp/finance-skills
mkdir -p .claude/skills
cp -r /tmp/finance-skills/finance-skills/skills/ifrs9-credit-risk/skills/macro-forward-adjustment .claude/skills/macro-forward-adjustment
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Macro Forward Adjustment in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Macro Forward Adjustment on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Macro Forward Adjustment is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取宏观因子定义/情景权重/调整方法。


/macro-forward-adjustment — 宏观前瞻调整

第一步:确定宏观因子与情景

□ 宏观因子选择(来自 CLAUDE.md):
□ 因子 1:GDP 增速 — 基准 [X]%,乐观 [+X]%,悲观 [-X]%
□ 因子 2:[房价指数 / 行业指数] — 基准 [X]%,乐观 [+X]%,悲观 [-X]%
□ 因子 3:[失业率 / 利率] — 基准 [X]%,乐观 [-X]%,悲观 [+X]%

□ 宏观数据来源:
□ GDP:[国家统计局 / IMF / 世界银行]
□ 房价:[国家统计局 / 中指院]
□ 行业违约率:[穆迪 / 标普 / 行业协会]

□ 情景权重(来自 CLAUDE.md):
□ 乐观情景:[X]%
□ 基准情景:[X]%
□ 悲观情景:[X]%
□ 权重合计:[X]% — [✅ = 100% / ⚠️ 须调整]

第二步:映射宏观因子至 PD / LGD

□ 宏观因子 → PD 调整系数:
□ GDP +1% → PD 下降 [X]%(宏观改善)
□ GDP -1% → PD 上升 [X]%(宏观恶化)

□ 计算每个情景下的调整后 PD:
□ 乐观情景:PD_adj = PD_base × (1 - [X]% × ΔGDP_乐观)
□ 基准情景:PD_adj = PD_base × (1 - [X]% × ΔGDP_基准)
□ 悲观情景:PD_adj = PD_base × (1 - [X]% × ΔGDP_悲观)

□ 宏观调整 PD 敏感性:
□ GDP +1%:PD 下降约 [X]%
□ GDP -1%:PD 上升约 [X]%

□ 对 Stage 1 / Stage 2 / Stage 3 分别应用(Stage 3 PD=100% 不调整)

第三步:计算三情景 ECL

□ 乐观情景 ECL:
□ Stage 1 ECL(乐观):[X] 万元
□ Stage 2 ECL(乐观):[X] 万元
□ Stage 3 ECL(乐观):[X] 万元(不调整)
□ 乐观 ECL 合计:[X] 万元

□ 基准情景 ECL:
□ 基准 ECL 合计:[X] 万元(来自 ecl-calculation 结果)

□ 悲观情景 ECL:
□ Stage 1 ECL(悲观):[X] 万元
□ Stage 2 ECL(悲观):[X] 万元
□ Stage 3 ECL(悲观):[X] 万元(不调整)
□ 悲观 ECL 合计:[X] 万元

□ 三情景对比:
□ 乐观 [X] 万 → 基准 [X] 万 → 悲观 [X] 万
□ 悲观 vs 乐观差距:[X] 万元 — [✅ 差距合理 / ⚠️ 差距过大]

第四步:加权 ECL 计算

□ 加权 ECL 计算:
□ 加权 ECL = 乐观 ECL × [X]% + 基准 ECL × [X]% + 悲观 ECL × [X]%

□ 计算:
□ = [X]万 × [X]% + [X]万 × [X]% + [X]万 × [X]%
□ = [X]万元

□ 前瞻调整影响:
□ 调整前 ECL(基准):[X] 万元
□ 调整后 ECL(加权):[X] 万元
□ 净调整:[±X] 万元 / [±X]%

□ 调整方向:[✅ 增加 ECL(悲观权重高)/ ⚠️ 减少 ECL(乐观权重高)]

第五步:合理性验证

□ 与市场共识对比:
□ 基准 GDP 假设 [X]% vs 央行预测 [X]% — [✅ 一致 / ⚠️ 偏离]
□ 房价假设 [X]% vs 市场一致预期 [X]% — [✅ 一致 / ⚠️ 偏离]

□ 与同业对比(如可得):
□ 同业前瞻调整幅度:[±X]% — [✅ 在合理范围 / ⚠️ 偏离较大]

□ 避免的错误:
□ 🔴 零前瞻调整(IFRS 9 明确禁止)
□ 🔴 仅用历史数据无前瞻
□ 🔴 单一宏观因子
□ 🔴 情景权重主观随意

□ 敏感性分析:
□ 悲观情景权重 +10% → ECL 增加 [X] 万元
□ GDP 假设下调 1% → ECL 增加 [X] 万元

输出格式

═══════════════════════════════════════
宏观前瞻调整报告
评估截止日:[YYYY-MM-DD]
═══════════════════════════════════════

【宏观因子与情景】

| 因子       | 乐观   | 基准   | 悲观   |
|------------|--------|--------|--------|
| GDP 增速   | [+X]%  | [X]%   | [-X]%  |
| 房价指数   | [+X]%  | [X]%   | [-X]%  |
| [行业指数] | [+X]%  | [X]%   | [-X]%  |

【三情景 ECL 结果】

| 情景   | 权重  | Stage 1 | Stage 2 | Stage 3 | 合计   |
|--------|-------|---------|---------|--------|--------|
| 乐观   | [X]%  | [X]万   | [X]万   | [X]万   | [X]万  |
| 基准   | [X]%  | [X]万   | [X]万   | [X]万   | [X]万  |
| 悲观   | [X]%  | [X]万   | [X]万   | [X]万   | [X]万  |

【加权 ECL】

□ 调整前 ECL(基准):[X] 万元
□ 调整后 ECL(加权):[X] 万元
□ 前瞻调整影响:[±X] 万元 / [±X]%

【合理性验证】

□ GDP 假设 vs 央行预测:[✅ 一致 / ⚠️ 偏离]
□ 房价假设 vs 市场预期:[✅ 一致 / ⚠️ 偏离]
□ 同业对比:[✅ 在合理范围 / ⚠️ 偏离较大]

【敏感性分析】

□ 悲观权重 +10% → ECL 增加 [X] 万元
□ GDP -1% → ECL 增加 [X] 万元

═══════════════════════════════════════

Frequently asked questions

What does the Macro Forward Adjustment AI skill do?

宏观前瞻调整 — 将宏观因子(GDP/房价/行业指数)纳入 ECL 计量, 应用乐观/基准/悲观三种情景权重,生成 IFRS 9 合规的前瞻性 ECL。 适用情形:季度末 ECL 计量完成后,风险经理应用宏观调整时执行, 须配合 stage-classification 和 ecl-calculation 结果使用。

Why use Macro Forward Adjustment on TypingMind?

Because you install it once and use it with any model. Macro Forward Adjustment is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Macro Forward Adjustment in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vivy-yi/finance-skills/tree/master/finance-skills/skills/ifrs9-credit-risk/skills/macro-forward-adjustment. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Macro Forward Adjustment?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Macro Forward Adjustment?

As many as you like. As long as a model supports skills, you can use Macro Forward Adjustment with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Macro Forward Adjustment AI skill free?

Yes. It is published on GitHub by vivy-yi under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇