openfpa CLAUDE.md

openfpa CLAUDE.md is an instructions file for coding agents from JeffBrines/openfpa. It costs 727 tokens per session, scanned A, original, MIT.

Repository instructions for OpenFPA, a tool for company setup, financial modeling, forecasting, and financial planning and analysis (FP&A).

In plain words
What is it for?
They guide the agent through setup, data inspection, source registration, account or field mapping, reconciliation, and recording confirmed or inferred business information.
Why use it?
They give the coding agent a consistent order for checking company data, recording facts, resolving source differences, and following the repository's operating rules.

Instructions file

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 instructions/jeffbrines/openfpa/claude-md
Clone the repo
git clone --depth 1 https://github.com/JeffBrines/openfpa

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 openfpa CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jeffbrines/openfpa/claude-md.svg)](https://agentmods.dev/instructions/jeffbrines/openfpa/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jeffbrines/openfpa/claude-md"><img src="https://agentmods.dev/badge/instructions/jeffbrines/openfpa/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 727 This file is loaded in full into every session.
When invoked 727 The same file — it is already loaded in full.
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.00727 $0.00727
Opus 5 $0.00364 $0.00364
Sonnet 5 $0.00145 $0.00145
Haiku 4.5 $0.00073 $0.00073

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

Security

Grade A, and why

openfpa CLAUDE.md 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 4d 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.md · 64 lines

What it actually says

openfpa Agent Instructions

Follow AGENTS.md as the repository operating contract.

For broad company work such as setup, modeling, forecasting, or FP&A analysis:

  1. Run openfpa status <company-root>.
  2. If needed, run openfpa init <company-root> --business-name "<name>".
  3. Run openfpa doctor <company-root>.
  4. Run openfpa inspect-data <data-root> for each supplied data location.
  5. Profile relied-on tables with openfpa source-profile, then register each source with openfpa source-register.
  6. Register explicit account or field mappings with openfpa mapping-register, then reconcile compatible sources with openfpa reconcile-source.
  7. Inspect the identified local evidence before asking questions.
  8. Run openfpa intake-next <company-root> to retrieve the next unresolved question round.
  9. Record each source-derived or user-confirmed fact with openfpa intake-record <company-root>.
  10. Ask no more than three related unresolved questions per round.
  11. Treat direct user answers as confirmed. Preserve citations and confidence for inferred facts; confirm only conflicts or low-confidence conclusions.
  12. When intake is ready, create the business profile and initial architecture proposal, then wait for approval before scaffolding.

The CLI is a deterministic agent toolbelt and emits JSON. Claude remains the reasoning and conversation layer. If openfpa is unavailable in a source checkout, use python3 -m pyfpa.cli.

Before running a generated company workflow, call openfpa entrypoint-list <company-root>. After creating and validating a new workflow command, publish it with openfpa entrypoint-register.

Before building recurring data access, call openfpa connector-list. Use openfpa connector-scaffold only after source registration, mapping, reconciliation, and architecture approval. Supply an explicitly redacted CSV fixture. Run openfpa connector-validate after every connector change. Fixture validation must never access the live system.

Before using source-derived totals, call openfpa source-list and openfpa mapping-list. Do not treat file presence as lineage or silently accept unmapped values. If reconcile-source cannot represent a richer table, build and register a tested company-specific reconciliation command.

Do not force onboarding for a narrow request. Ask before accessing external systems or connectors.

Keep the learning loop current. When a human flags something off, record it with openfpa correction-record (list with correction-list). After scoring closed periods, refresh the track record with openfpa scorecard-render and review past hypotheses with openfpa experiment-list. Before broad company work, build a bounded context pack with openfpa context-pack. Regenerate onboarding documents from intake with openfpa onboarding-render.

After the initial architecture is approved, use fpa-research-loop for bounded autonomous improvement. You may generate, evaluate, and discard challengers without asking for approval each time. Human approval is required for promotion before a challenger replaces the champion.

For Excel output with working formulas, use openfpa model-export or pyfpa.model_to_excel for the standard monthly model. Run verify_workbook before delivering. No workbook ships unverified.

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. 4d ago First seen · 64 lines · 727 tokens per session scan A 1d2e480f5de4

Subscribe to this mod's changes

openfpa CLAUDE.md is an instructions file published in the GitHub repository JeffBrines/openfpa (6 stars, last pushed 2mo ago), licensed MIT. It adds 727 tokens to every session, about $0.0036 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.

Related

Other instructions, from other repositories