segment-rollup

segment-rollup is a skill for Claude Code, Codex from JeffBrines/openfpa. It costs 78 tokens per session (721 once invoked), scanned A, original, MIT.

A forecasting method for companies that report sales and Adjusted EBITDA separately for multiple business segments, but do not publish every segment-level profit-and-loss line.

In plain words
What is it for?
It helps model Fox Factory's PVG, AAG, and SSG segments, roll their sales and Adjusted EBITDA into a consolidated forecast, and reconcile the combined EBITDA with the disclosed total.
Why use it?
It fills the missing segment detail by forecasting each segment down to Adjusted EBITDA, then combining the segments and keeping working capital, debt, and tax at the company level.

Skill for Claude CodeCodex

Part of the openfpa plugin — 14 skills shipped together

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.

agentmods
npx agentmods add skills/jeffbrines/openfpa/segment-rollup
Any agent
npx skills add JeffBrines/openfpa --skill segment-rollup
Clone the repo
git clone --depth 1 https://github.com/JeffBrines/openfpa

Made for: Claude Code, Codex.

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 segment-rollup

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffbrines/openfpa/segment-rollup.svg)](https://agentmods.dev/skills/jeffbrines/openfpa/segment-rollup)
Your own site
<a href="https://agentmods.dev/skills/jeffbrines/openfpa/segment-rollup"><img src="https://agentmods.dev/badge/skills/jeffbrines/openfpa/segment-rollup.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00078 $0.00721
Opus 5 $0.00039 $0.00360
Sonnet 5 $0.00016 $0.00144
Haiku 4.5 $0.00008 $0.00072

Measured 5d ago against content hash 092a5d0e7694, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

segment-rollup 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 5d 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.

examples/foxfactory/skills/generated/segment-rollup/SKILL.md · 60 lines

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.

Segment Roll-Up (generated for Fox Factory)

Why this skill exists

The standard openfpa skills model a single entity. Fox Factory reports three segments (PVG, AAG, SSG) and, under ASU 2023-07, discloses net sales and Adjusted EBITDA per segment - but not segment COGS or operating income (.fpa/business-profile.md). The base engine has no segment concept, so this skill was generated to bridge the gap. It cites these profile facts:

  • Three reportable segments; segment metric is Adjusted EBITDA, not gross profit.
  • Segment-level working capital, debt, and tax are not disclosed - those stay consolidated. So segments drive the P&L down to Adjusted EBITDA only; the consolidated layer owns everything below.

The model shape

segment net sales + Adj EBITDA margin  (PVG, AAG, SSG)
        │  roll_up_segments()            → total net sales + total Adj EBITDA
        │  segments_to_channels(cogs_pct)→ revenue channels for the engine
        ▼
consolidated EntityConfig (blended COGS%, opex, D&A, capex, WC days, debt, tax)
        │  cashflow_from_config()
        ▼
consolidated P&L + indirect cash flow (revenue → … → FCF)

How to use

  1. Build one pyfpa.Segment per segment from disclosed net sales and Adjusted-EBITDA margin (adjusted_ebitda / net_sales).
  2. roll_up_segments(segments) → total net sales + total Adjusted EBITDA. Reconcile that total to the disclosed segment-footnote total - it must tie.
  3. segments_to_channels(segments, cogs_pct=<consolidated blended rate>) → revenue channels. The blended COGS% is applied to every segment (segment COGS isn't disclosed), so the channels sum back to consolidated COGS by construction.
  4. Feed the channels into a consolidated EntityConfig and run cashflow_from_config. Set the single adjusted_opex line to gross_profit − total_adjusted_ebitda so engine EBITDA ties to segment Adj EBITDA.
  5. Keep the goodwill impairment and discrete tax items out of the engine and in a documented bridge to GAAP net income - the lean engine models the operating business, not one-time non-cash charges.

Read the full file on GitHub · 60 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. 5d ago First seen · 60 lines · 78 tokens per session scan A 092a5d0e7694

Subscribe to this mod's changes

segment-rollup is a skill published in the GitHub repository JeffBrines/openfpa (6 stars, last pushed 2mo ago), licensed MIT. It adds 78 tokens to every session and 721 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.

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

daily-budget-check

Run a daily spend check-in against a daily budget on the Agent Monitor dashboard — today's spend vs the daily target, pace through the day, and the projected overage if the current pace holds. Uses /api/pricing/cost and /api/sessions (grouped by startedat = today). Use for a quick daily spend check-in or a…

hoangsonww/Claude-Code-Agent-Monitor · 81 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