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.
npx skills add JeffBrines/openfpa --skill fpa-backtest-learngit clone --depth 1 https://github.com/JeffBrines/openfpaWrote 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.
[](https://agentmods.dev/skills/jeffbrines/openfpa/fpa-backtest-learn)<a href="https://agentmods.dev/skills/jeffbrines/openfpa/fpa-backtest-learn"><img src="https://agentmods.dev/badge/skills/jeffbrines/openfpa/fpa-backtest-learn.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.01068 |
| Opus 5 | $0.00026 | $0.00534 |
| Sonnet 5 | $0.00010 | $0.00214 |
| Haiku 4.5 | $0.00005 | $0.00107 |
Grade A, and why
fpa-backtest-learn 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 7d 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.
How it starts
The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Backtest & Learn (Operate)
Overview
The model should get measurably better at this business over time. This skill
scores past forecasts against the company's actuals, surfaces what keeps missing,
and proposes improvements a human ratifies. The objective metric is reconciliation
error against the user's own books (pyfpa.score_forecast) - the FP&A analog of a
validation loss.
Core principle: self-experimenting, but never self-promoting. The AI may run
and discard bounded challengers autonomously; a human approves replacement of
the champion. Everything learned lives as plain files in .fpa/.
Memory (.fpa/)
forecasts/<period>.snapshot.yaml- each forecast's assumptions + predictions, and (after close) its score.scorecard.md- the running track record (rendered, never hand-edited).experiments/<slug>.experiment.yaml- each tested model change, its evidence, changed files, checks, before/after metrics, and decision.learnings.md- every accepted change: what, the evidence, the backtest delta, the date.
Workflow
- Snapshot every forecast. When you produce a forecast, persist it:
snapshot_forecast(cfg, forecast_df, label=<period>, created=<today>)→save_snapshot(..., ".fpa/forecasts/<period>.snapshot.yaml"). - Score at close. When a period closes (actuals via fpa-configure-actuals),
load that period's snapshot,
score_forecast(snap.predicted, actuals), write the score back into the snapshot, and re-renderscorecard.mdwithrender_scorecard. - Attribute each material per-line miss to a driver (volume / price / cost ratio
/ working-capital timing). Run the fpa-cfo-judgment one-time-item screen first -
never blame the model for a one-off.
- Monitor applied corrections: if a
type: parametriccorrection's target line keeps missing, flag it as possibly stale (applied → superseded) for the human - never auto-revert.
- Monitor applied corrections: if a
- Create an experiment before changing the model. State the financial
hypothesis, CFO question, evidence, fit periods, holdout periods, and files
expected to change. Save it with
pyfpa.save_experiment. - Propose, tagged by type:
- Parametric (an assumption change): re-score it with
holdout_backteston the company's history. Surface it only if it lowers holdout fitness (not in-sample), ranked by the delta. Clamp the proposed move withmagnitude_cap(±25%/cycle). - Structural (a methodology/skill change, e.g. a revenue-recognition lag): surface
only when
persistent_missis true for the line (same-signed across K≥2 closes) and it survived the one-time screen. Hand it to fpa-learn-business to generate the skill on approval - propose, don't auto-write.
- Parametric (an assumption change): re-score it with
- Evaluate. Record before/after metrics and explicit checks in the experiment. A model change that breaks reconciliation or another accounting invariant is failed even if one headline metric improves.
- Ratify + log. Present proposals; the human accepts/rejects. On accept, add
an
ExperimentDecision, setstatus: accepted, save with explicitoverwrite=True, update the company model, and append tolearnings.md. Rejected and reverted experiments remain in memory. - Run
fpa-research-loopwhen the miss warrants multiple autonomous challenger epochs instead of one manually proposed change.
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.
- 7d ago First seen · 79 lines · 52 tokens per session scan A 54512289ba8b
fpa-backtest-learn 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 1,068 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.
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…
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…
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…
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…
ib-collar
Generate tactical collar strategy reports for protecting PMCC positions through earnings or high-risk events. Requires TWS or IB Gateway running locally.
report-stock
Generate comprehensive stock analysis report (PDF or markdown) with trend, PMCC, and fundamental analysis.