financial_risk_modeling

financial_risk_modeling is a skill for Claude Code, Codex from fdueblab/Micro-Agent. It costs 0 tokens per session (610 once invoked), scanned A, original, MIT.

A set of rules for building financial risk models for fraud detection, credit assessment, and suspicious-transaction monitoring. It covers data preparation, model choices, evaluation, and audit-ready outputs.

In plain words
What is it for?
Use it to design or review models that score accounts or transactions, detect unusual activity, and report precision, recall, thresholds, and reasons.
Why use it?
It addresses rare positive cases, missing financial information, multiple currencies, and the need to explain every risk decision instead of hiding uncertainty behind a single score.

Skill for Claude CodeCodex

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

Good fit Use it to design or review models that score accounts or transactions, detect unusual activity, and report precision, recall, thresholds, and reasons.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fdueblab/micro-agent/financial_risk_modeling
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 fdueblab/Micro-Agent --skill financial_risk_modeling
Clone the repo
git clone --depth 1 https://github.com/fdueblab/Micro-Agent

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 financial_risk_modeling

README.md
[![agentmods](https://agentmods.dev/badge/skills/fdueblab/micro-agent/financial_risk_modeling/github.svg)](https://agentmods.dev/skills/fdueblab/micro-agent/financial_risk_modeling)
Your own site
<a href="https://agentmods.dev/skills/fdueblab/micro-agent/financial_risk_modeling"><img src="https://agentmods.dev/badge/skills/fdueblab/micro-agent/financial_risk_modeling/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 financial_risk_modeling

Your own site · 80×15
<a href="https://agentmods.dev/skills/fdueblab/micro-agent/financial_risk_modeling"><img src="https://agentmods.dev/badge/skills/fdueblab/micro-agent/financial_risk_modeling.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 610 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 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.00000 $0.00610
Opus 5.5 $0.00000 $0.00244
Sonnet 5.5 $0.00000 $0.00122
Haiku 4.5 $0.00000 $0.00061

Measured 2mo ago against content hash 3a942defd287, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

financial_risk_modeling 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 2mo 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.

workspace/skills/financial_risk_modeling/SKILL.md · 31 lines

What it actually says

你正在生成一个金融风控类算法模型(欺诈检测/信用评估/可疑交易监测等)。以下是本领域的强制规范,请严格遵循:

数据纪律(需求分析阶段逐项确认)

  1. 不平衡是常态:正样本(欺诈/违约/可疑)占比通常 <1%。禁止使用 accuracy 作为目标或汇报指标
  2. 多币种必查:涉及金额时先确认是否多币种,是则先归一化(汇率表快照 + 日期注明),币种未知返回 None 降级、禁止猜默认汇率
  3. 缺失语义:金融数据缺失本身是信号(如收入未申报),缺失单独成箱/成类,禁止直接填均值/众数
  4. 聚合维度:交易流水类数据优先构造账户/对手方级聚合特征(笔数、总额、币种数、对手方集中度、时间聚集度)

建模范式

  • 有标签(监督):LogisticRegression(class_weight="balanced") 或树模型;评估用 PR-AUC / KS / Recall@Precision;决策阈值在验证集上按目标召回标定(注明标定依据),禁止硬编码 0.5
  • 无标签(异常):IsolationForest(contamination 按业务预估欺诈率设置并注明);或 z-score/分位数统计规则
  • 评分卡任务:WOE 编码 + IV 筛选(IV>0.5 优先怀疑标签泄漏)+ 逻辑回归 + 标准分数刻度(base_score/PDO 注明);分箱边界仅基于训练数据
  • 重采样只在训练集做:SMOTE 在 train_test_split 之后、仅对训练集,时序数据禁止 SMOTE

输出契约(监管可审计要求)

每个输出必须携带决策依据:

  • reason 字段:命中了哪条规则/名单、统计偏离的具体数值
  • 概率/分数与标签同时输出
  • 无法判定时:confidence=0 + 明确"无法判定"原因,禁止无依据默认类别

阈值出处

所有阈值(大额线、风险分界、汇率)必须注释来源:监管文件条款 / 数据统计依据 / 业务方提供,禁止无出处魔数。

汇报口径

model_summary 中并列:模型指标 vs 基线(多数类或简单规则基线),并说明误报/漏报权衡的业务含义。

Files

What ships with it

1 file 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. 2mo ago First seen · 31 lines · 0 tokens per session scan A 3a942defd287

Subscribe to this mod's changes

financial_risk_modeling is a skill published in the GitHub repository fdueblab/Micro-Agent (101 stars, last pushed 7d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 610 tokens. 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-09-25.

Related

financial_risk_modeling compared with skills from other repositories

financial_risk_modeling next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
financial_risk_modelingfdueblab/Micro-AgentSkill1017d agoMITA0Claude Code, Codex
polymarketUnicomAI/wanwuSkill2.4k6d agoApache-2.0A25Claude Code
rag-knowledgevstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA76Claude Code
billing-stripevstorm-co/full-stack-ai-agent-templateSkill2.0k4d agoMITA56Claude Code
bank-statement-parsingjohnsonhk88/AI-Bank-Statement-Document-Automation-By-LLM-And-Personal-Finanical-Analysis-PredictionSkill6383d agoApache-2.0A23Claude Code, Codex
financial-analysisjohnsonhk88/AI-Bank-Statement-Document-Automation-By-LLM-And-Personal-Finanical-Analysis-PredictionSkill6383d agoApache-2.0A20Claude Code, Codex
pii-handlingjohnsonhk88/AI-Bank-Statement-Document-Automation-By-LLM-And-Personal-Finanical-Analysis-PredictionSkill6383d agoApache-2.0A17Claude Code, Codex