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 agentmods add instructions/jeffbrines/openfpa/agents-mdgit clone --depth 1 https://github.com/JeffBrines/openfpaWhat 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 | $0.01656 | $0.01656 |
| Opus 5 | $0.00828 | $0.00828 |
| Sonnet 5 | $0.00331 | $0.00331 |
| Haiku 4.5 | $0.00166 | $0.00166 |
Grade A, and why
openfpa AGENTS.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 3d 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 — 135 lines — stays where its author put it; the contents beside it link to each section on GitHub.
openfpa Agent Operating Contract
openfpa is an agent-native FP&A workbench, not a fixed application. The goal is to help an AI build the finance system that fits one company while preserving a small, trustworthy accounting kernel.
Architecture
pyfpa/is the stable kernel: schemas, accounting mechanics, reconciliation, scoring, persistence contracts, and reusable analysis helpers..fpa/is company memory: business context, sources, mappings, corrections, forecasts, experiments, decisions, and accepted learnings.- Company-specific code belongs in visible generated namespaces such as
models/generated/,connectors/generated/,skills/generated/, andagents/generated/. - Do not force a business into
EntityConfigwhen its economics require a different model. Extend the company workspace and use the kernel where useful.
Company Onboarding
- Trigger onboarding when
.fpa/intake.mdis incomplete and the user asks to build, configure, forecast, analyze, or learn the business. - Do not force onboarding for a narrow task that can be completed independently.
- Use the machine-oriented CLI as the default workspace control surface:
openfpa status <company-root>openfpa init <company-root> --business-name "<name>"when uninitializedopenfpa inspect-data <data-root>for each user-supplied data locationopenfpa source-profile <company-root> --file <source-file>before mappingopenfpa source-register <company-root> ...for each relied-on sourceopenfpa source-list <company-root>before source-dependent workopenfpa mapping-register <company-root> ...for each exact mappingopenfpa mapping-list <company-root> --source-id <source-id>before modelingopenfpa reconcile-source <company-root> ...before using mapped totalsopenfpa connector-list <company-root>before generating recurring accessopenfpa connector-scaffold <company-root> ...from a redacted fixtureopenfpa connector-validate <company-root> --name <name>after connector editsopenfpa intake-next <company-root>before asking intake questionsopenfpa intake-record <company-root> ...for each established factopenfpa entrypoint-list <company-root>before generated workflowsopenfpa entrypoint-register <company-root> ...after validating a commandopenfpa doctor <company-root>before relying on workspace stateopenfpa correction-record <company-root> --slug <slug> --type <type> --target <target> --date <date>after establishing a correctionopenfpa correction-list <company-root>to review recorded correctionsopenfpa scorecard-render <company-root>to rebuild scorecard.md from all snapshotsopenfpa experiment-list <company-root>to review experiment recordsopenfpa context-pack <company-root> --task "<task>"to retrieve bounded memory for a taskopenfpa onboarding-render <company-root> --proposal-summary "<summary>"when intake is ready
- The CLI emits JSON and performs deterministic workspace operations. Read its output as evidence; do not treat it as the reasoning engine.
- If the console script is unavailable in a source checkout, use
python3 -m pyfpa.cliwith the same arguments. - Inspect supplied local files before asking questions. Do not access external systems or connectors without user approval.
- Register every source used by a model with its entity, currency, periods, extraction method, and location. A file existing in the workspace is not sufficient lineage.
- Persist exact mappings, including deliberate ignores with rationale. Never infer an unmapped account into a model silently.
- Run
openfpa reconcile-sourcefor compatible account-amount CSV sources. For richer sources, build an equivalent tested reconciliation and register its command as an entrypoint. - Generate a connector only when recurring access is useful and the architecture is approved. One-time local files do not need connector code.
- Scaffold connectors from explicit redacted fixtures only. Never copy a
production export into
connectors/generated/without confirming it is safe to commit. - Treat
connector-validateas a fixture-mode contract test. It must not access a live system. Implement live extraction separately using host-managed credentials, then register the tested recurring command as an entrypoint. - Record source-derived and user-confirmed facts with citations and confidence
using
openfpa intake-record. - Ask only unresolved questions returned by
pyfpa.next_intake_questions, in rounds of at most three related questions. - Record direct user answers immediately as confirmed facts. Ask for confirmation only when evidence conflicts or confidence is low.
- When
pyfpa.intake_readyis true, write the business profile and.fpa/decisions/initial-model-architecture.mdwithpyfpa.write_onboarding_outputs. - Stop before scaffolding connectors, models, skills, or agents until the user approves the architecture proposal.
- After a generated workflow has a tested command, register it in
.fpa/models/entrypoints.yaml. Registration advertises the command but does not execute it.
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.
- 3d ago First seen · 135 lines · 1,656 tokens per session scan A 8747927a849f
openfpa AGENTS.md is an instructions file published in the GitHub repository JeffBrines/openfpa (6 stars, last pushed 2mo ago), licensed MIT. It adds 1,656 tokens to every session, about $0.0083 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 instructions, from other repositories
bookkeeper-starter CLAUDE.md
Instructions for audrey-560/bookkeeper-starter, covering bookkeeper — ai bookkeeping os (multi-client), layout, key invariants (do not break), skills (user-invoked) and per-client facts.
Financial-Reporting-Skills CLAUDE.md
Claude Code instructions for muggl3mind/Financial-Reporting-Skills, covering financial reporting skills, project summary, project structure, skills and xlsx standards.
excel-analyst-pro-skill-md CLAUDE.md
Claude Code instructions for jeremylongshore/excel-analyst-pro-skill-md, covering claude.md — excel analyst pro, what this repo is, architecture, conventions and validation.
fcp-sheets CLAUDE.md
Instructions for os-tack/fcp-sheets, covering fcp-sheets, project overview, architecture, key patterns and commands.
ExcelMCPAdvanced CLAUDE.md
Claude Code instructions for nitishkthakur/ExcelMCPAdvanced, covering excel mcp server — claude guidance, project layout, development commands, key design rules and how to use the mcp tools (for analysis tasks).
xlsx-MCP CLAUDE.md
Claude Code instructions for jauinones/xlsx-MCP, covering claude.md, project overview, tools available (21 total), workbook management and sheet operations.