"algo-risk-credit"

"algo-risk-credit" is a skill for Claude Code from charlieviettq/awesome-agent-skill. It costs 61 tokens per session (998 once invoked), scanned A, a copy of algo-risk-credit, MIT.

A model that estimates how likely a borrower is to fail to repay a loan. Credit scoring uses information such as income, debt, credit history, missed payments, and credit use.

In plain words
What is it for?
Use it to build or assess loan scorecards, estimate default probabilities, and support credit approval or risk-based pricing.
Why use it?
It helps lenders make more consistent decisions about approval, pricing, and lending risk while checking that predictions match real default rates.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to build or assess loan scorecards, estimate default probabilities, and support credit approval or risk-based pricing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charlieviettq/awesome-agent-skill/algo-risk-credit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add charlieviettq/awesome-agent-skill --skill algo-risk-credit
Clone the repo
git clone --depth 1 https://github.com/charlieviettq/awesome-agent-skill

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for "algo-risk-credit"

README.md
[![agentmods](https://agentmods.dev/badge/skills/charlieviettq/awesome-agent-skill/algo-risk-credit/github.svg)](https://agentmods.dev/skills/charlieviettq/awesome-agent-skill/algo-risk-credit)
Your own site
<a href="https://agentmods.dev/skills/charlieviettq/awesome-agent-skill/algo-risk-credit"><img src="https://agentmods.dev/badge/skills/charlieviettq/awesome-agent-skill/algo-risk-credit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for "algo-risk-credit"

Your own site · 80×15
<a href="https://agentmods.dev/skills/charlieviettq/awesome-agent-skill/algo-risk-credit"><img src="https://agentmods.dev/badge/skills/charlieviettq/awesome-agent-skill/algo-risk-credit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 998 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.00998
Opus 5 $0.00030 $0.00499
Sonnet 5 $0.00012 $0.00200
Haiku 4.5 $0.00006 $0.00100

Measured 12d ago against content hash c35dd0fab4e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

"algo-risk-credit" scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

89% identical to algo-risk-credit — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/algo-risk-credit/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Credit Scoring Model

Overview

Credit scoring models predict the probability of default (PD) from borrower characteristics using logistic regression or gradient boosting. Output: a score (300-850 range) or PD (0-1). Used for loan approval, pricing, and portfolio risk management.

When to Use

Trigger conditions:

  • Building a scorecard for loan/credit approval decisions
  • Predicting default probability for risk-based pricing
  • Evaluating existing credit models for discriminatory power

When NOT to use:

  • For corporate bankruptcy prediction (use Altman Z-Score)
  • For market risk measurement (use VaR)

Algorithm

IRON LAW: A Credit Model Must Discriminate AND Be Calibrated
Discrimination (AUC): correctly ranking good vs bad borrowers.
Calibration: predicted PD matches actual default rates.
A model with AUC=0.85 but predicted PD 2x actual default rate will
cause systematic over/under-pricing. Need BOTH properties.

Phase 1: Input Validation

Collect: borrower features (income, debt ratio, credit history length, delinquency count, utilization), outcome variable (default within 12-24 months). Handle: missing values, class imbalance (typically 2-5% default rate). Gate: Sufficient defaults (300+ events), features available at decision time.

Phase 2: Core Algorithm

  1. Feature engineering: WOE (Weight of Evidence) binning for logistic regression, or direct encoding for GBDT
  2. Train model: logistic regression (interpretable, regulatory-preferred) or GBDT (higher accuracy)
  3. Calibrate: Platt scaling on holdout, ensure predicted PD matches actual default rate by decile
  4. Convert to score: Score = offset + factor × log(odds), scaled to 300-850 range

Phase 3: Verification

Evaluate: AUC (>0.70 acceptable, >0.80 good), KS statistic, Gini coefficient. Population stability index (PSI) for monitoring drift. Gate: AUC > 0.70, calibration acceptable, no discriminatory bias in protected attributes.

Phase 4: Output

Return score, PD, and key risk drivers.

Read the full file on GitHub · 88 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 88 lines · 61 tokens per session scan A c35dd0fab4e5

Subscribe to this mod's changes

"algo-risk-credit" is a skill published in the GitHub repository charlieviettq/awesome-agent-skill (25 stars, last pushed 1mo ago), licensed MIT. It adds 61 tokens to every session and 998 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to algo-risk-credit, differing in 8 lines, and is treated as a copy.

Related

Other skills, from other repositories

cwicr-cost-calculator

Calculate construction costs using DDC CWICR resource-based methodology. Break down costs into labor, materials, equipment with transparent pricing.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 33 tokens

cwicr-risk-calculator

Calculate risk-adjusted cost estimates using CWICR data. Apply contingencies, Monte Carlo simulation, and probability distributions to cost estimates.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 34 tokens

bim-cost-estimation-cwicr

Automated cost estimation from BIM models using DDC CWICR database (8 national bases, 78,228 positions). AI classification + vector search for accurate pricing.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 43 tokens

historical-cost-analyzer

Analyze historical construction costs for benchmarking, trend analysis, and estimating calibration. Compare projects, track escalation, identify patterns.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 29 tokens

unit-price-database-manager

Manage construction unit price databases: update prices, track vendors, apply location factors, maintain historical records. Essential for accurate estimating.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 31 tokens

cashflow-forecaster

Forecast construction project cash flow. Project income and expenses, identify funding gaps, and optimize payment timing for improved financial management.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 30 tokens