Logo Stress Testing

Stress Testing

Tổ chức
panaversity
stress-testing

Activate for: ICAAP, ILAAP, stress test, capital depletion, reverse stress test, ACS (Annual Cyclical Scenario), DFAST, CCAR, BoE stress test, EBA stress test, stressed capital ratio, Pillar 2, capital planning, going concern, stressed ECL, stressed RWA, stressed NII. NOT for: IFRS 9 macroeconomic scenario weighting (use ifrs9-scenarios), market risk capital under FRTB (use basel-rwa-market), liquidity stress testing for LCR/NSFR purposes (use liquidity-lcr / liquidity-nsfr).

Tổng quan

Nhà phát hànhpanaversity
Kho mãagentfactory-business-plugins
Tên kỹ năngstress-testing
Sao
37
Bản fork
19
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được panaversity công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Stress Testing trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/panaversity/agentfactory-business-plugins/tree/main/banking/skills/stress-testing
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panaversity/agentfactory-business-plugins.git /tmp/agentfactory-business-plugins
mkdir -p .claude/skills
cp -r /tmp/agentfactory-business-plugins/banking/skills/stress-testing .claude/skills/stress-testing
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Stress Testing trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Stress Testing ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Stress Testing với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

ICAAP PURPOSE AND STRUCTURE

The ICAAP (Internal Capital Adequacy Assessment Process) is the bank's own assessment of how much capital it needs given its specific risk profile, strategic plan, and stress scenarios. The regulator uses the ICAAP output to set Pillar 2 requirements.

Required sections:

  1. Business model and strategic overview
  2. Risk identification — material risks and their capital impact
  3. Capital quantification — Pillar 1 and Pillar 2 needs by risk type
  4. Stress testing — capital depletion under severe macroeconomic scenarios
  5. Capital planning — sources of capital and management actions under stress
  6. Capital adequacy conclusion — does the bank hold sufficient capital?

STRESS TEST FRAMEWORK

Scenario Design

Base case: 3-year capital projection under central business plan assumptions. Adverse scenario: Moderate downturn (unemployment +2pp, GDP -1%, HPI -10%). Severe scenario: Deep recession (unemployment +4pp, GDP -4%, HPI -30%). Bank-specific idiosyncratic scenario: scenario tailored to bank's specific vulnerabilities (e.g., CRE concentration stress, single large counterparty default). Reverse stress test: Work backwards — what scenario causes the bank to fail? (Required in UK by PRA; useful management discipline globally)

Capital Depletion Path — Year-by-Year Model

For each scenario year (typically 3 years): Opening CET1 capital (M)

  • Pre-tax profit (NII + fee income - operating costs)
  • Tax charge (at applicable corporate tax rate)
  • Stressed credit losses (IFRS 9 ECL under scenario conditions)
  • Dividend / AT1 coupon payments (suspended in Year 1-2 of severe stress) +/- Other comprehensive income (AFS securities fair value movements) = Closing CET1 capital (M) / Stressed RWA (M) — see RWA inflation below = Stressed CET1 Ratio (%)

RWA Inflation Under Stress

Credit RWA: Increases as Stage 3 NPLs grow (150% risk weight) and downgrades shift exposures to higher risk weight buckets. Typical severe scenario: credit RWA +10-15% Market RWA: Increases as ES/VaR models expand with higher volatility. Typical severe scenario: market RWA +30-50% Operational RWA: Increases as conduct/AML losses feed into Business Indicator. Typical severe scenario: operational RWA +5-10%

Stressed NII

Asset-sensitive banks (more assets than liabilities repricing in 12 months): Benefit from initial rate rise; hurt by subsequent rate fall Liability-sensitive banks (more liabilities than assets repricing): Hurt by initial rate rise; benefit from subsequent rate fall IRRBB (Interest Rate Risk in the Banking Book) stress: typically +/- 200bp parallel shift, +300bp steepening, -200bp flattening. Load jurisdiction overlay for specific IRRBB scenarios required by the relevant regulator.

CAPITAL DEPLETION PATH — TEMPLATE

Line ItemBase Y1Base Y2Base Y3Severe Y1Severe Y2Severe Y3
Opening CET1 capital (M)
+ Net interest income
+ Non-interest income
- Operating expenses
= Pre-provision profit
- Credit losses (ECL charge)
- Tax
- Dividends and AT1 coupons
+/- OCI movements
= Closing CET1 capital (M)
RWA (M)
CET1 Ratio (%)
Distance to 4.5% minimum (pp)
Distance to MDA trigger (pp)

DISTANCE TO REGULATORY TRIGGER

At each stress year-end, calculate: Distance to hard CET1 minimum (4.5%): Stressed CET1 - 4.5% Distance to combined buffer requirement: Stressed CET1 - [4.5% + CCB + CCyB + surcharge] Distance to MDA trigger: Same as combined buffer requirement Going concern test: Is CET1 above 4.5% at all times? If not: plan capital actions.

MANAGEMENT ACTIONS IN STRESS

Permitted in base case, restricted in severe scenario (per regulator instructions):

  • Dividend suspension (Year 1-2): Preserves ~1% CET1 annually for typical bank
  • Asset disposals: Non-core asset sales raise CET1 but may crystallise losses
  • RWA reduction: Pull back on new lending, reducing RWA growth
  • Capital issuance: Rights issue, AT1 issuance — available in moderate but not severe stress
  • AT1 conversion: CoCos convert to equity at trigger (typically 5.125% or 7% CET1)

Management Action Credibility Assessment

Regulators assess management actions for credibility under stress:

ActionCredible in Adverse?Credible in Severe?Notes
Dividend cut/suspensionYesYes (mandatory if MDA breached)Expected action
AT1 coupon suspensionYesYes (mandatory if MDA breached)Legal discretion
Asset disposalYesUnlikely (fire sale prices)Haircut assumed proceeds
Rights issuePossibleNo (market access lost)Investors unavailable
RWA reductionYesLimited (pipeline committed)6-12 month lag

ICAAP SUBMISSION STANDARDS

The ICAAP is submitted to the regulator (PRA, ECB, APRA, etc.) annually. It must be: approved by the Board; prepared with independent review (CRO, Finance, Audit); consistent with financial plan and IFRS 9 ECL assumptions; stress scenarios materially more severe than the base case.

REVERSE STRESS TEST

Required by PRA (UK) and increasingly by other regulators. Process: Start from a point of failure (e.g., CET1 breaches 4.5%). Work backwards to identify which scenario(s) could cause this outcome. Assess plausibility of those scenarios. Identify mitigants and recovery actions. Purpose: Not prediction — identification of the bank's most acute vulnerabilities and the triggers that management should monitor most closely.

REGULATORY STRESS TEST PROGRAMMES

ProgrammeJurisdictionFrequencyKey Feature
ACS (Annual Cyclical Scenario)UK (BoE/PRA)AnnualHurdle rates published; public disclosure
EBA Stress TestEU (EBA/ECB)BiennialStatic balance sheet; no capital threshold
DFAST (Dodd-Frank Act Stress Test)US (Fed)AnnualSeverely adverse scenario; public disclosure
CCAR (Comprehensive Capital Analysis)US (Fed)AnnualQualitative + quantitative; capital plan approval

OUTPUT FORMAT — STRESS TEST SUMMARY

STRESS TEST SUMMARY
Entity:             [Bank / Group name]
Assessment Date:    [YYYY-MM-DD]
Scenarios:          [Base / Adverse / Severe / Reverse]

CAPITAL DEPLETION — SEVERE SCENARIO:
  Opening CET1 Ratio:          [X.X%]
  Year 1 CET1 Ratio:           [X.X%]  (distance to 4.5%: [+/-X.X pp])
  Year 2 CET1 Ratio:           [X.X%]  (distance to 4.5%: [+/-X.X pp])
  Year 3 CET1 Ratio:           [X.X%]  (distance to 4.5%: [+/-X.X pp])
  Trough CET1 Ratio:           [X.X%] in Year [N]
  MDA breach:                   [Yes/No — in Year N]

KEY DRIVERS:
  Cumulative credit losses:     [Amount M]
  RWA inflation:                [Amount M] ([+X%])
  NII impact:                   [Amount M]

MANAGEMENT ACTIONS ASSUMED:
  [List with credibility assessment]

REVERSE STRESS TEST:
  Failure scenario:             [Description]
  Plausibility assessment:      [Low / Medium / High]

CONCLUSION:
  Capital adequacy:             [Adequate / Requires action]
  Recommended buffer:           [X.X% above minimum]

NEVER DO THESE

  • NEVER assume management actions are fully available in a severe stress scenario — regulators require credibility assessment and will reject actions that are unrealistic under severe market conditions (e.g., equity issuance during a banking crisis)
  • NEVER ignore RWA inflation under stress — credit RWA typically increases 10–15% in severe scenarios due to rating downgrades and increased Stage 3 exposures at 150% risk weight
  • NEVER use IFRS 9 base-case ECL assumptions in a stress scenario — stressed ECL must reflect the stressed macroeconomic variables, not the probability-weighted base case
  • NEVER present a reverse stress test without a plausibility assessment — the purpose is to identify realistic vulnerabilities, not theoretical impossibilities
  • NEVER omit AT1 conversion mechanics from severe stress projections — if CET1 approaches the CoCo trigger (typically 5.125% or 7%), AT1 instruments convert to equity and materially change the capital position

ALL OUTPUTS REQUIRE REVIEW BY A QUALIFIED PROFESSIONAL BEFORE USE IN REGULATORY FILINGS OR BUSINESS DECISIONS.

Câu hỏi thường gặp

Kỹ năng AI Stress Testing làm được gì?

Activate for: ICAAP, ILAAP, stress test, capital depletion, reverse stress test, ACS (Annual Cyclical Scenario), DFAST, CCAR, BoE stress test, EBA stress test, stressed capital ratio, Pillar 2, capital planning, going concern, stressed ECL, stressed RWA, stressed NII. NOT for: IFRS 9 macroeconomic scenario weighting (use ifrs9-scenarios), market risk capital under FRTB (use basel-rwa-market), liquidity stress testing for LCR/NSFR purposes (use liquidity-lcr / liquidity-nsfr).

Vì sao nên dùng Stress Testing trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Stress Testing là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Stress Testing trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/panaversity/agentfactory-business-plugins/tree/main/banking/skills/stress-testing. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Stress Testing?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Stress Testing với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Stress Testing với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Stress Testing có miễn phí không?

Có. Kỹ năng này được panaversity phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇