algo-risk-altman-z

algo-risk-altman-z is a skill for Claude Code, Codex from asgard-ai-platform/skills. It costs 69 tokens per session (1,662 once invoked), scanned A, original, MIT.

A financial calculation that estimates a company’s bankruptcy risk from five figures in its financial statements. It uses different versions for public manufacturers, private companies, and non-manufacturing businesses.

In plain words
What is it for?
Screen companies for bankruptcy risk, assess creditworthiness, or monitor companies for warning signs. It is not intended for banks or insurers.
Why use it?
It gives a quick, consistent way to spot possible financial distress without building a credit model from scratch. Using the wrong version can produce misleading results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Screen companies for bankruptcy risk, assess creditworthiness, or monitor companies for warning signs. It is not intended for banks or insurers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/asgard-ai-platform/skills/algo-risk-altman-z
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 asgard-ai-platform/skills --skill algo-risk-altman-z
Clone the repo
git clone --depth 1 https://github.com/asgard-ai-platform/skills

Made for: Claude Code, Codex.

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-altman-z

README.md
[![agentmods](https://agentmods.dev/badge/skills/asgard-ai-platform/skills/algo-risk-altman-z/github.svg)](https://agentmods.dev/skills/asgard-ai-platform/skills/algo-risk-altman-z)
Your own site
<a href="https://agentmods.dev/skills/asgard-ai-platform/skills/algo-risk-altman-z"><img src="https://agentmods.dev/badge/skills/asgard-ai-platform/skills/algo-risk-altman-z/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-altman-z

Your own site · 80×15
<a href="https://agentmods.dev/skills/asgard-ai-platform/skills/algo-risk-altman-z"><img src="https://agentmods.dev/badge/skills/asgard-ai-platform/skills/algo-risk-altman-z.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,662 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found 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.00069 $0.01662
Opus 5 $0.00034 $0.00831
Sonnet 5 $0.00014 $0.00332
Haiku 4.5 $0.00007 $0.00166

Measured 12d ago against content hash 797743152d80, 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-altman-z 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/altman_z.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

Copies of this mod

1 near-identical copy found in the catalogue:

algo-risk-altman-z/SKILL.md · 122 lines

How it starts

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

Altman Z-Score

Overview

Altman Z-Score is a linear discriminant model predicting bankruptcy probability from five financial ratios. Z = 1.2X₁ + 1.4X₂ + 3.3X₃ + 0.6X₄ + 1.0X₅. Zones: Z > 2.99 (safe), 1.81-2.99 (grey), Z < 1.81 (distress). Originally for public manufacturing firms; variants exist for private and non-manufacturing.

When to Use

Trigger conditions:

  • Screening companies for bankruptcy risk
  • Quick credit assessment using publicly available financials
  • Monitoring portfolio companies for financial distress signals

When NOT to use:

  • For financial institutions (banks, insurers) — different capital structures
  • When detailed credit scoring is needed (use logistic regression credit models)

Algorithm

IRON LAW: Z-Score Was Calibrated for PUBLIC MANUFACTURING Firms
Applying the original formula to private firms, service companies, or
emerging markets WITHOUT using the appropriate variant produces
misleading results. Use Z'-Score for private firms, Z''-Score for
non-manufacturing and emerging markets.

Phase 1: Input Validation

Extract from financial statements: working capital, retained earnings, EBIT, market cap (or book equity for private), total assets, total liabilities, sales. Gate: All five inputs available, from same reporting period.

Phase 1.5: Variant Selection (MANDATORY)

Before touching any formula, pick the right variant — this is the single most common mistake when applying Altman Z.

Firm description Variant Script flag
Public manufacturing firm Original Z --variant original
Private manufacturing firm (no market cap) Z' --variant private
Non-manufacturing — SaaS, services, retail, tech, finance-light Z'' --variant non_manufacturing
Emerging-market firm of any kind Z'' --variant non_manufacturing

If the user description contains any of these tags: "SaaS", "cloud", "software", "services", "retail", "e-commerce", "platform", "tech", "emerging market", "BRICS", "non-manufacturing" → use Z''. Do not default to the original Z just because that's the "classic" formula.

Read the full file on GitHub · 122 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 · 122 lines · 69 tokens per session scan A 797743152d80

Subscribe to this mod's changes

algo-risk-altman-z is a skill published in the GitHub repository asgard-ai-platform/skills (228 stars, last pushed 3mo ago), licensed MIT. It adds 69 tokens to every session and 1,662 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.