/carbon-arc-company-intelligence:equity-backtestfrom carbon-arc-company-intelligence
Backtests Carbon Arc card-panel spend against a consumer company's reported filings to judge whether the panel tracks it, then estimates the current quarter.
Ships in carbon-arc-company-intelligence. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Invoke ca-core first. The subject setup is ca-core/references/setup-equity.md (with setup-brand.md);
read ca-core/references/instruments/equity-panel.md and reported-figures.md before the first pull, and
this module's references/estimate-method.md before computing anything.
Run scripts/backtest.py for every number in this module. Never re-derive its arithmetic from prose.
Re-derivation is the recorded failure: on one pilot three silent drifts compounded into a published +4.8%
that was actually +1.7%, wrong in direction.
EQ=$(find ~/.claude/plugins -type d -path '*carbon-arc-company-intelligence*/skills/equity-backtest/scripts' ! -path '*/.trash/*' 2>/dev/null | head -1)
python3 "$EQ/test_backtest.py" # once per session: must print 0 failure(s)
python3 "$EQ/backtest.py" quarters.csv --qtd <qtd_yoy> --out backtest-table.csv --json backtest.json
The setup in setup-equity.md is done: the print anchored, the anchor metric chosen by the user, the
reported source chosen, what the panel can see rendered, the ticker roll-up validated (brand sum and
brand weights) and checked for acquisitions, candidate events listed with what each would show.
fiscalquarter, at least fourteen quarters, unfiltered unless the
quarter-to-date read uses a filter too. Drop head and tail partial rows; aggregate duplicates. Confirm
the returned end dates against the filing.quarters.csv: period_end_date, panel_yoy, reported_yoy, reported_source (and condition
when testing a panel-health variable), joined on end date, same basis, quarters present in both legs
only. reported_source is the filing or release URL, or client sheet: <file>; the script refuses anything
that is not a URL or the client's sheet.gating.md §7), any claim tiered (§11).estimate-method.md §2: fill truncation established empirically,
calendar checks, elapsed share.The tab carries the estimate and everything a sceptical reader needs to audit it. "Can we use the panel?"
is a section of it, below the estimate, not its own tab. Ordered answer → arithmetic → context →
evidence → limits, and every value comes from backtest.json or backtest-table.csv, never typed from
prose:
The estimate: a claim headline, the number badged ⊘, and one mono line with the average miss, the
scored quarters and how many landed within the average miss (within_band), the worst miss, the
elapsed share and the data-through date. Write "average miss", never a bare "±": the band is a mean
miss, not an interval (estimate-method.md §4).
How we got to the number: the bridge, as a table and a waterfall.
| Step | Source |
|---|---|
| Panel spend YoY for the quarter, the figure the quarter tab shows | ■ |
| One row per basis difference between that figure and the backtest's basis (weekly buckets against the fiscal quarter, an excluded payment route, a dropped brand, the fill truncation), each sized in pp and named by what it includes or leaves out | ■ ⊘ |
= panel spend on the backtest's basis (qtd_panel_yoy) | ■ |
The correction applied (correction_applied, in the direction applied), naming the quarters it averages and each one's gap (correction_from) | ⊘ |
| = the estimate | ⊘ |
Beside it, every alternative scored (the other correction rules in alternatives, and any other
panel basis run through the script): each named by what it measures, its result, its average miss, and
why it did not lead. Where the rule spread exceeds the band, publish both answers (§5).
What to read it against: guidance restated in the estimate's units, the distance from the guide midpoint, the prior quarter, the year-ago base and two or three disclosed KPIs, with the restatement's arithmetic in one line beneath the table (which disclosed figures, combined how), badged ⊘ with its ▲ sources. Then the estimate-against-context chart.
How to hold this number, in plain prose: what it is, what the band covers and what it does not (a basis or rule choice), and the recompute without the largest single element.
Can we use the panel?, ordered scope → evidence → verdict:
counts: quarters of history, how many only calibrate the correction, how
many are scored, and how many direction calls. Use these words and numbers everywhere in the report.What this brief will and will not claim: one row per question, answered or not, placed after the evidence so it reads as a conclusion rather than a disclaimer.
When the panel does not track, the tab leads with the no-estimate verdict and its reasons in the reader's terms, drops items 1 to 4, and ships 5 and 6 in full.
Attach backtest-table.csv and backtest.json and link both from the bridge, so an analyst can rebuild
every number on the tab.
An estimate without its band, its window and its worst miss. A bare "±" band, or one without the count of quarters that landed within it. A bridge value typed rather than read from the script's output. A band computed any way but walk-forward. A dollar level from the panel. "Does not track" on the strength of a wide band. Anything about the stock.
Run the setup in setup-equity.md first, including the scope check. If the company fails it, stop there
and say what the panel cannot see.
Standalone: a Brief, not a tab. Build per ca-core §8.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub carbon-arc/carbon-arc-skills --plugin carbon-arc-company-intelligence21 skills in this plugin
/ca-audienceUse this skill when someone wants to know which customers a brand is winning or losing by age: how its spend splits across generations, how that mix is moving, and how it compares with a competitor's, even if they only ask about Gen Z or younger customers. It reads card spend by generation, adjusted for the panel's age skew, and income or gender where the data covers them. Not for a musician's or actor's fans. For a full report, use this package's report skill./ca-benchmarkUse this skill when someone wants to know whether a consumer brand's move is its own or the whole category's: who is winning or losing share, how it compares with named rivals, and whether it is selling less or selling cheaper, even if they only ask why their numbers are down. It reads the brand's demand against named competitors, split into transactions and average ticket. For what drove one fiscal quarter of a listed company, use equity-quarter. When the category itself is the subject, or the business does not appear in the data by name, use ca-category. For a full report, use this package's report skill./ca-categoryUse this skill when a small or regional business wants to know whether what it is feeling is happening to everyone in its line of business: how comparable businesses and the category are trending, whether a decline is fewer purchases or smaller ones, and which nearby categories are winning the same customers, including when the business does not appear in the data by name. When a named company that appears in the data asks whether its own move is the company or the category, use ca-benchmark instead. For a full report, use this package's SMB category report./ca-competitive-setUse this skill when someone wants to know who a company really competes with for its customers: where else its customers shop or eat, which brands share its customer base (including ones it isn't tracking), and whether a named rival actually shares a customer. It ranks the brands its customers also spend at. For how the company's demand moves against those rivals, use ca-benchmark; for a full report, use this package's report skill./ca-coreUse this skill only when another skill in this package says to invoke it. It holds the rules every Carbon Arc run shares: the run setup checklist, the reader, the evidence gates, the client-facing voice and the subject setups. Never start a user's request with it: for a report or a single read, use this package's onboarding, a report skill or the matching module./ca-cross-signalUse this skill when someone asks whether other data backs up what card spend shows for a company: whether foot traffic, web and app use, advertising or hiring confirm a trend, and where they disagree. It reads each dataset on the company and a peer and reports every disagreement instead of smoothing it over. For a full report or preview, use this package's report skills.Other plugins' skills for the same job