credit-risk-calculator

Calculate borrower default probabilities and run sensitivity analysis on credit metrics.

12|13|Updated Dec 4, 2025
One-click install
npx skills add https://github.com/Snowflake-Labs/sfguide-agentic-ai-for-asset-management --skill credit-risk-calculator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: credit-risk-calculator
Source: https://github.com/Snowflake-Labs/sfguide-agentic-ai-for-asset-management/tree/main/data/skills/credit-risk-calculator
Command: npx skills add https://github.com/Snowflake-Labs/sfguide-agentic-ai-for-asset-management --skill credit-risk-calculator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, and includes scripts (resource) components.

What problem does it solve?

This skill addresses the complexity of assessing credit risk by automating the calculation of default probabilities and providing actionable insights into risk drivers.

Core Features & Use Cases

  • Baseline PD Calculation: Instantly calculate probability of default scores based on current financial features.
  • Stress Testing: Run what-if scenarios to see how revenue drops, interest rate hikes, or leverage changes impact borrower risk ratings.
  • SHAP Analysis: Explain risk ratings by identifying the specific financial drivers contributing to a borrower's PD score.

Quick Start

Ask the agent to calculate the default probability for a specific borrower and run a stress test scenario assuming a 20 percent revenue drop.

Frequently Asked Questions about credit-risk-calculator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate probability of default and explain the risk drivers for a borrower?

To calculate probability of default (PD) and identify risk drivers, the skill processes borrower financial features to generate baseline PD scores and uses SHAP analysis to pinpoint the specific metrics influencing the rating.

How do I stress test credit risk metrics for what-if scenarios like revenue drops?

You can stress test credit risk by running what-if scenarios to simulate revenue drops, interest rate hikes, or leverage changes, allowing you to compare how these adverse conditions impact borrower risk ratings.

Can I use pandas and numpy for financial modeling and stress testing?

Yes, you can use pandas and numpy for financial modeling and stress testing, as the skill explicitly requires both libraries to execute data manipulation and model inference for credit risk calculations.

What is the best way to compare credit risk scenarios for a financial portfolio?

The best way to compare credit risk scenarios is to run multiple stress testing simulations on your portfolio, evaluating how varying revenue drops and interest rate hikes alter default probabilities across borrowers.

How does SHAP analysis work for explaining credit risk and default probabilities?

SHAP analysis explains credit risk by evaluating the specific financial drivers contributing to a borrower's PD score, breaking down how individual features influence the final default probability calculation.

Do I need prior model inference scripts to perform sensitivity analysis on credit metrics?

You do not need external model inference scripts, as the skill includes internal scripts to perform sensitivity analysis on credit metrics, relying solely on numpy and pandas for execution.