bias-detection

bias-detection is a skill for Claude Code, Codex from CFA-Institute-RPC/skills. It costs 0 tokens per session (1,754 once invoked), scanned B, original, Apache-2.0.

A background review layer for investment writing that looks for behavioral biases, which are patterns of faulty reasoning or emotion that can lead to poor financial decisions.

In plain words
What is it for?
Use it to screen investment-related text for cognitive errors and emotional biases, then flag the relevant signals while keeping the main task moving.
Why use it?
It can reveal when an investment thesis, portfolio review, research memo, prompt, or generated answer is being influenced by such patterns before they affect a decision.

Skill for Claude CodeCodex

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

Good fit Use it to screen investment-related text for cognitive errors and emotional biases, then flag the relevant signals while keeping the main task moving.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cfa-institute-rpc/skills/bias-detection
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 CFA-Institute-RPC/skills --skill bias-detection
Clone the repo
git clone --depth 1 https://github.com/CFA-Institute-RPC/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 bias-detection

README.md
[![agentmods](https://agentmods.dev/badge/skills/cfa-institute-rpc/skills/bias-detection/github.svg)](https://agentmods.dev/skills/cfa-institute-rpc/skills/bias-detection)
Your own site
<a href="https://agentmods.dev/skills/cfa-institute-rpc/skills/bias-detection"><img src="https://agentmods.dev/badge/skills/cfa-institute-rpc/skills/bias-detection/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 bias-detection

Your own site · 80×15
<a href="https://agentmods.dev/skills/cfa-institute-rpc/skills/bias-detection"><img src="https://agentmods.dev/badge/skills/cfa-institute-rpc/skills/bias-detection.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 1,754 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.01754
Opus 5 $0.00000 $0.00877
Sonnet 5 $0.00000 $0.00351
Haiku 4.5 $0.00000 $0.00175

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

Security

Grade B, and why

bias-detection scanned grade B with 1 finding 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.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

When rewriting prompts, convert confirmation requests into evaluation requests, add balanced context, and explicitly ask the model to stress-test assumptions and present risks. If numbers or percentages are included in t
skills/bias-detection/SKILL.md · 105 lines

How it starts

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

Behavioral Bias Detection

You are a behavioral finance advisor operating as a background quality layer for investment professionals. Your role is to screen investment-related text — whether it's a prompt about to be sent to an LLM, a research memo, an investment thesis, a portfolio review or LLM-generated output — and surface any behavioral biases that could lead to poor financial decisions.

Your guidance is rooted in the CFA Institute's behavioral finance curriculum, which categorizes biases into two families: cognitive errors (faulty reasoning that can be corrected with better information) and emotional biases (impulse-driven tendencies that are harder to eliminate and often need to be accommodated rather than fixed).

How to engage — proactive, not reactive

This skill runs as a proactive layer. You don't wait for someone to say "check for biases" — you watch for bias signals in any investment-related conversation and speak up when you spot them. This is the most important thing about this skill: it activates automatically.

Integrate naturally into your response. When you detect biases, complete the user's primary request first (answer their question, run their analysis, etc.), then add your bias observations as a natural follow-on — as though a thoughtful colleague is tapping them on the shoulder. Don't hijack the conversation or refuse to help because you spotted a bias. Help first, then advise.

Match the weight of your intervention to the severity of the bias. A minor anchoring cue gets a brief note. Five interacting biases in a portfolio review memo deserve a more thorough walkthrough. If you scan something and find no meaningful biases, you can skip the bias commentary entirely — don't manufacture findings.

Input types this skill handles

  • LLM prompts being drafted for investment analysis — catch biases before they steer the model's output
  • Investment memos, research notes, and analyst reports — flag biased reasoning before it reaches decision-makers
  • LLM-generated outputs — highlight where AI-produced investment content exhibits overconfidence, one-sided analysis, or anchoring
  • Portfolio decisions and rebalancing rationale — surface emotional and cognitive factors influencing the decision
  • Client communications — identify biases that could lead to poor advice or mischaracterize risk
  • Casual investment discussion — even informal "what do you think about X?" conversations can contain bias signals worth flagging

Read the full file on GitHub · 105 lines

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. 12d ago First seen · 105 lines · 0 tokens per session scan B 85f1a5c562cc

Subscribe to this mod's changes

bias-detection is a skill published in the GitHub repository CFA-Institute-RPC/skills (5 stars, last pushed 6mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,754 tokens. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

sector-rotation

An analysis framework for comparing industries in the Chinese A-share stock market, using business conditions, price momentum, valuation, and money flows. It produces rankings and higher- or lower-allocation suggestions.

HKUDS/Vibe-Trading · 39 tokens

strategy-pivot-designer

Detect backtest iteration stagnation and generate structurally different strategy pivot proposals when parameter tuning reaches a local optimum.

tradermonty/claude-trading-skills · 28 tokens

twitter-reader

Read Twitter/X for financial research using opencli (read-only). Use this skill whenever the user wants to read their Twitter feed, search for financial tweets, view bookmarks, look up user profiles, or gather market sentiment from Twitter/X. Triggers include: "check my feed", "search Twitter for", "show my…

himself65/finance-skills · 161 tokens

chenhao-limit-up

A framework for judging Chinese A-share stocks that have reached the daily price-rise limit, using market mood, sector leadership, and trading momentum.

questflowai/investorskills · 44 tokens

furusato

A Japanese hometown-tax donation manager for furusato nozei, a system where donations to municipalities can qualify for an income-tax or local-tax deduction. It reads donation receipts, stores donation records, and calculates deduction limits.

kazukinagata/shinkoku · 102 tokens

reading-receipt

An image-reading workflow for extracting structured information from receipts, invoices, and hometown-tax donation certificates. It can first extract text from PDFs and otherwise read their images.

kazukinagata/shinkoku · 64 tokens