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-portfolio-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-portfolio-learn)<a href="https://agentmods.dev/skills/jeffbrines/openfpa/fpa-portfolio-learn"><img src="https://agentmods.dev/badge/skills/jeffbrines/openfpa/fpa-portfolio-learn/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.
<a href="https://agentmods.dev/skills/jeffbrines/openfpa/fpa-portfolio-learn"><img src="https://agentmods.dev/badge/skills/jeffbrines/openfpa/fpa-portfolio-learn.svg" alt="Reviewed on agentmods" width="80" 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.00071 | $0.00653 |
| Opus 5 | $0.00036 | $0.00327 |
| Sonnet 5 | $0.00014 | $0.00131 |
| Haiku 4.5 | $0.00007 | $0.00065 |
Grade A, and why
fpa-portfolio-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 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.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Portfolio Learn (Loop B)
Overview
Loop A makes the model better at one client. This makes your practice compound: client #10 starts smarter than client #1 because your library carries what generalized across #1–9. Everything is local - your own book, on your own machine.
Core principle: self-improving, never self-ratifying - propose, you accept. The objective metric is cross-client: does a pattern learned on some clients fail to degrade the others' backtest?
Setup
A portfolio manifest ~/.fpa/portfolio.yaml lists your clients + a business-type tag:
library: ~/.fpa/library
clients:
- { path: ~/clients/acme, type: d2c-inventory }
- { path: ~/clients/peak, type: d2c-inventory }
- { path: ~/clients/haul, type: trucking }
Workflow
- Load the manifest (
pyfpa.load_portfolio). - For each business-type with at least 3 clients:
- Priors: let
type_clients = pyfpa.portfolio.clients_of_type(portfolio, type).pyfpa.mine_priors(portfolio, type)finds drivers that cluster tightly; validate each withpyfpa.validate_prior(driver, type_clients)(leave-one-out). Surface validated ones first (by cross-client delta), then unvalidated/judgment. - Skills:
pyfpa.find_recurring_skills(portfolio, type)for recurring generated skills. Also weigh recurring structural corrections across clients (read each.fpa/corrections/fortype: structural) - a human-authored pattern that repeats is strong signal.
- Priors: let
- Present candidates ranked by evidence (support count + cross-client delta).
- Ratify. On your acceptance,
pyfpa.promote_prior/pyfpa.promote_skillwrites the~/.fpa/library/andlibrary-log.md. Reversible.
Guardrails
- Local-only; nothing phones home.
- At least 3 clients to propose; tight-cluster only; a prior must not degrade held-out clients.
- You ratify everything; priors are seeds, not mandates - each client's Loop A refines.
The payoff
New clients inherit the library: fpa-learn-business seeds their starting model from
your promoted priors (pyfpa.seed_from_library) and offers the promoted skills.
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.
- 10d ago First seen · 60 lines · 71 tokens per session scan A 219b496541d4
fpa-portfolio-learn is a skill published in the GitHub repository JeffBrines/openfpa (6 stars, last pushed 2mo ago), licensed MIT. It adds 71 tokens to every session and 653 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.
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.