fpa-scaffold-model

fpa-scaffold-model is a skill for Claude Code from JeffBrines/openfpa. It costs 52 tokens per session (779 once invoked), scanned A, original, MIT.

A workflow for turning a company's financial records into a runnable forecast model. A forecast model uses past and current financial information to estimate future revenue, costs, cash flow, and related figures.

In plain words
What is it for?
Use it with a trial balance, profit and loss export, or pasted income statement to map revenue, costs, debt, and balance-sheet data into a forecast configuration.
Why use it?
It creates a validated model structure before forecasting begins and records assumptions that still need confirmation. This helps prevent the model from being built around invented categories or unsupported mappings.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the openfpa plugin — 14 skills shipped together

Good fit Use it with a trial balance, profit and loss export, or pasted income statement to map revenue, costs, debt, and balance-sheet data into a forecast configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffbrines/openfpa/fpa-scaffold-model
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 JeffBrines/openfpa --skill fpa-scaffold-model
Clone the repo
git clone --depth 1 https://github.com/JeffBrines/openfpa

Made for: Claude Code.

Or install openfpa, the plugin that ships this one along with the rest of its 14 skills.

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 fpa-scaffold-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffbrines/openfpa/fpa-scaffold-model/github.svg)](https://agentmods.dev/skills/jeffbrines/openfpa/fpa-scaffold-model)
Your own site
<a href="https://agentmods.dev/skills/jeffbrines/openfpa/fpa-scaffold-model"><img src="https://agentmods.dev/badge/skills/jeffbrines/openfpa/fpa-scaffold-model/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 fpa-scaffold-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffbrines/openfpa/fpa-scaffold-model"><img src="https://agentmods.dev/badge/skills/jeffbrines/openfpa/fpa-scaffold-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 779 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.00052 $0.00779
Opus 5 $0.00026 $0.00390
Sonnet 5 $0.00010 $0.00156
Haiku 4.5 $0.00005 $0.00078

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

Security

Grade A, and why

fpa-scaffold-model 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 10d 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.

skills/fpa-scaffold-model/SKILL.md · 53 lines

How it starts

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

Scaffold a Model (Phase 1)

Overview

Turn a company's financials into a runnable pyfpa config. Read the business profile first (see fpa-learn-business), infer the chart-of-accounts → model-line mapping, and write a validated EntityConfig YAML following openfpa conventions. Output a runnable skeleton plus an explicit list of assumptions to confirm.

Core principle: Convention over invention. Map the real numbers onto the existing engine shape; don't design a new one.

When to use

  • A trial balance / P&L (CSV, XLSX, or pasted) needs to become a forecast model
  • Onboarding follow-on after .fpa/business-profile.md exists

Workflow

  1. Ingest the financials: pyfpa.read_pl_csv(path) (or a pyfpa.io.adapters source) → {account: amount}.
  2. Map accounts to model lines of the EntityConfig schema:
    • revenue accounts → channels[] (one Channel per channel/segment, with annual_revenue, a 12-month seasonality weight list, growth_rate, cogs_pct)
    • cost accounts → opex[] as OpexLine(kind="fixed", monthly_amount=…) or kind="variable", pct_of_revenue=…
    • debt → debt[] (term_loan with monthly_principal, or interest-only loc)
    • balance-sheet rhythm → working_capital(dso_days, dpo_days, dio_days) and opening_balances
  3. Write the company model and config under models/generated/. Validate config with pyfpa.load_config(path), which raises on any bad field.
  4. Create a runnable command such as python3 models/generated/run_forecast.py. Keep the runner thin and make its output locations explicit.
  5. Run and validate it. Confirm the model executes, reconciles its inputs, and writes the expected outputs.
  6. Register the tested command with openfpa entrypoint-register, including its inputs and outputs. Registration publishes the command for agent discovery; it does not run it.
  7. Surface assumptions: list the 6-10 inferences a human must confirm (seasonality shape, fixed vs variable splits, cogs_pct per channel, opening balances). Do not bury them.

Read the full file on GitHub · 53 lines

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. 10d ago First seen · 53 lines · 52 tokens per session scan A 12fd13cf76c8

Subscribe to this mod's changes

fpa-scaffold-model is a skill published in the GitHub repository JeffBrines/openfpa (6 stars, last pushed 2mo ago), licensed MIT. It adds 52 tokens to every session and 779 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-31.

Related

Other skills, from other repositories

comptable

Comptabilité, fiscalité et facturation pour entreprises françaises. Gère écritures PCG, déclarations TVA, IS/IR, clôture annuelle, liasse fiscale (2033/2065), FEC, états financiers, et chaîne facturation (mentions obligatoires, numérotation, Factur-X/UBL/CII, plateformes agréées PDP/PA, e-reporting, réforme 2026…

romainsimon/paperasse · 143 tokens

fiscaliste

Fiscaliste IA pour la fiscalité personnelle des particuliers français : optimisation et déclaration de l'impôt sur le revenu, IFI, revenus du capital, revenus fonciers, equity salarial, crypto-actifs et PER. Couvre le calcul de l'IR (barème, quotient familial, décote, PAS, CEHR, revenus exceptionnels), la déclaration…

romainsimon/paperasse · 302 tokens

syndic

Gère un parc de copropriétés en France avec vue portfolio consolidée. Couvre administration, comptabilité (décret 2005, plan comptable copro, 5 annexes), assemblées générales (convocation, PV, notification), appels de fonds, travaux, fournisseurs, recouvrement d'impayés et transition de syndic. Maîtrise les majorités…

romainsimon/paperasse · 194 tokens

financial-statement-analysis

Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…

cbrock84/headcount · 93 tokens

ib-collar

Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.

staskh/trading_skills · 30 tokens

report-stock

Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis.

staskh/trading_skills · 22 tokens