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-research-loopgit 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-research-loop)<a href="https://agentmods.dev/skills/jeffbrines/openfpa/fpa-research-loop"><img src="https://agentmods.dev/badge/skills/jeffbrines/openfpa/fpa-research-loop.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.00041 | $0.00644 |
| Opus 5 | $0.00020 | $0.00322 |
| Sonnet 5 | $0.00008 | $0.00129 |
| Haiku 4.5 | $0.00004 | $0.00064 |
Grade A, and why
fpa-research-loop 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Company Research Loop
Purpose
Run an AutoResearch-style loop against the company's own forecast history. The AI may generate, test, and discard challengers autonomously. Only promotion to the active champion requires human approval.
Memory And State
.fpa/research/objective.yaml: company-specific metrics, weights, hard checks, minimum improvement, and complexity penalty..fpa/research/*.epoch.yaml: every hypothesis and evaluated epoch, including discarded candidates..fpa/models/registry.yaml: current champion, challengers, retired champions, and human-approved promotion history..fpa/index.yaml: rebuildable lexical memory index..fpa/context-pack.md: temporary task-specific retrieval output, never canonical memory.
Workflow
- Discover the company command. Run
openfpa entrypoint-list <company-root> --kind research. Use a registered research runner when one exists. - Retrieve context. Rebuild memory with
pyfpa.build_memory_index(".fpa"), then create a context pack for the miss being investigated. Read prior failed epochs before proposing a repeated hypothesis. - Load the objective and registry. The objective is CFO-specific. It should include forecast-error metrics by decision importance, hard accounting checks, a minimum improvement, and a complexity penalty.
- Run bounded epochs. Default to at most five challengers in one run. For
each:
- state one falsifiable financial hypothesis;
- generate the smallest company-specific change;
- use rolling or holdout periods not used to fit the candidate;
- run every hard check;
- call
pyfpa.evaluate_challenger; - persist the final
ResearchEpoch.
- Discard autonomously. Mark failed or weak candidates
discarded. Preserve their code reference, evidence, metrics, and rejection reason so future agents do not repeat them without new evidence. - Propose the strongest challenger. Register only promotion-eligible
challengers. Mark the strongest epoch
proposedand explain the objective gain, tradeoffs, complexity cost, and relevant memory. - Promote only after approval. On explicit human acceptance, call
pyfpa.promote_challenger, update the epoch topromoted, and save both with explicit overwrite. The prior champion moves to retired history.
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 · 63 lines · 41 tokens per session scan A b55b807c79d5
fpa-research-loop is a skill published in the GitHub repository JeffBrines/openfpa (6 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 644 once invoked, about $0.0002 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.