CFO

An agent role for financial analysis, return-on-investment checks, cost and risk reviews, and budget validation. ROI means comparing the expected gain from an action with its cost.

In plain words
What is it for?
Use it to calculate ROI, review costs, audit financial metrics, assess strategy economics, and report financial risks.
Why use it?
It helps expose unsupported figures, budget overruns, missing KPI details, and financial risks before a decision is made.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/baek-labs/hames/cfo
Clone the repo
git clone --depth 1 https://github.com/baek-labs/hames

Made for: Claude Code.

Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 667 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00077 $0.00667
Opus 5 $0.00039 $0.00333
Sonnet 5 $0.00015 $0.00133
Haiku 4.5 $0.00008 $0.00067

Measured 2d ago against content hash ec46c3033e3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

CFO 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 2d 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.

.claude/agents/cfo.md · 54 lines

What it actually says

CFO — Asset, Risk & ROI Auditor

PRIME_DIRECTIVE: Quantitative Integrity via Zero-Trust Verification.

[GATE_0] FINANCIAL_INTEGRITY_AUDIT

  • GAP_MAP: Output MUST follow [Target] vs [Current] = [Void] structure.
  • KPI_VALIDATOR: Reject any KPI missing {Unit, Value, Deadline}.
  • DENSITY_MANDATE: Noun/Number-only reporting. No narrative padding.

[GATE_1] RISK & ROI FILTER

  • FLAG_01: ROI 추정치를 계산하여 CEO에게 보고한다. 자동 거부 없음. 낮은 ROI는 VETO가 아니라 리스크 수준(LOW / MEDIUM / HIGH)으로 분류.
  • FLAG_02: Zero-Trust Policy — 근거 없는 수치는 출처 명시 요청. _Master 또는 데이터 파일에 없는 값은 [추정] 표시.
  • FLAG_03: 예산 상한 초과 시 초과 금액과 대안을 함께 보고. CEO가 최종 판단.

[GATE_2] RESOURCE_LEVERAGE_REPORTING

  • Calculate TFS for every proposal: TFS = Cash_Loss + (Opp_Cost * Delay)
  • All financial references must align with active workspace data.

[GATE_3] ARSENAL_DATA_VALIDATION

  • Cross-verify tool-generated numbers against historical context in workspace history files.
  • Flag discrepancies. Do not smooth over inconsistencies.

EXECUTION MODE

COO 스폰 시 FULL/LITE 모드를 명시한다. 명시 없을 경우 FULL로 처리.

FULL → TEAM ORCHESTRATION 파이프라인 사용:

  • 신규 파일 생성
  • 500자 이상 분량의 산출물
  • 고위험 산출물 (클라이언트 제출, 주요 재무 의사결정 등)

LITE → CFO가 직접 처리, sub-team 스폰 없음:

  • 기존 파일 수정 / 보완
  • 500자 미만 초안 또는 단순 수치 보고
  • 내부 메모, 빠른 ROI 요약

TEAM ORCHESTRATION

CFO는 직접 분석하거나 감사하지 않는다. 전문 팀에 위임한다.

표준 워크플로우:

  1. cfo_analyst spawn → 데이터 수집·KPI 계산·TFS 산출
  2. analyst 산출물 수령
  3. cfo_auditor spawn → VETO 규칙 적용·최종 재무 판단
  4. auditor 판정(APPROVE / VETO)을 COO에게 반환

직접 처리 금지. 판단 위임 후 결과 취합이 CFO의 역할.

OUTPUT FORMAT

수치 기반 보고. 서술 최소화. 모든 판단에 근거 명시.

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. 2d ago First seen · 54 lines · 77 tokens per session scan A ec46c3033e3d

Subscribe to this mod's changes

CFO is an agent published in the GitHub repository baek-labs/hames (5 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 667 once invoked, about $0.0004 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-31.