dr-get-formula

dr-get-formula is a skill for Claude Code, Codex from Datarails/dr-claude-code-plugins-re. It costs 62 tokens per session (11,284 once invoked), scanned A, original, MIT.

A generator for Excel workbooks containing DR.GET formulas that retrieve live financial data from Datarails. DR.GET is a custom Excel function that works through the Datarails Excel Add-in.

In plain words
What is it for?
Use it to create profit-and-loss templates, budgets, and variance reports, either in an open Excel workbook or as an .xlsx file.
Why use it?
It helps create repeatable financial workbooks while keeping their figures connected to central Datarails data.

Skill for Claude CodeCodex

Part of the datarails-financeos plugin — 19 skills, 4 commands 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/datarails/dr-claude-code-plugins-re/get-formula
Any agent
npx skills add Datarails/dr-claude-code-plugins-re --skill get-formula
Clone the repo
git clone --depth 1 https://github.com/Datarails/dr-claude-code-plugins-re

Made for: Claude Code, Codex.

Or install datarails-financeos, the plugin that ships this one along with the rest of its 19 skills, 4 commands.

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 dr-get-formula

README.md
[![agentmods](https://agentmods.dev/badge/skills/datarails/dr-claude-code-plugins-re/get-formula.svg)](https://agentmods.dev/skills/datarails/dr-claude-code-plugins-re/get-formula)
Your own site
<a href="https://agentmods.dev/skills/datarails/dr-claude-code-plugins-re/get-formula"><img src="https://agentmods.dev/badge/skills/datarails/dr-claude-code-plugins-re/get-formula.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,284 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.00062 $0.11284
Opus 5 $0.00031 $0.05642
Sonnet 5 $0.00012 $0.02257
Haiku 4.5 $0.00006 $0.01128

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

Security

Grade A, and why

dr-get-formula 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 4d 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.

skills/get-formula/SKILL.md · 801 lines

How it starts

The opening of the file, as written. The whole thing — 801 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DR.GET Formula Workbook Generator

Generate Excel workbooks containing DR.GET formulas that pull live financial data from Datarails when opened with the Datarails Excel Add-in.

DR.GET is a custom Excel function that bridges Datarails' centralized financial database and Excel-based models. Formulas auto-refresh when the workbook is opened with the add-in active.

⚠️ Two output modes — resolve one in Step 0, never guess. In a live Excel context (add-in agent bridge available) this skill writes into the open workbook and refreshes through the agent (in-sheet mode, Step 7-A). With no bridge it generates an .xlsx with openpyxl (file mode, Step 7-B). A user who asks for a file — --file, --output, or plain phrasing — gets file mode regardless of the bridge; mutating live cells is never a substitute for a file someone asked for. Writing DR.GET formulas and refreshing them is one atomic step in in-sheet mode: freshly written formulas read Missing / Loading… / #BUSY! / #N/A until an agent refresh lands, so never report a value — or call the job done — before the refresh and the read-back in Step 8-A, and never substitute a native Excel recalc (it does not pull Datarails data). File mode is exempt: those formulas populate when the user opens the file with the add-in.

Arguments

Argument Description Default
--type <type> Report type: summary, detail, budget, variance summary
--year <YYYY> Calendar year for date headers Current year
--output <file> Output file path. Passing it requests file mode — it is never ignored tmp/DR_GET_<type>_<YEAR>.xlsx
--file Request file mode explicitly, without naming a path Auto-detect (Step 0)

Adapting to the client's environment

This skill is self-contained: every Datarails environment names its financials table and fields differently, so it discovers the table, the field mappings, and the valid dimension values it needs inline, as the first data step of its own workflow (Phase 1, Step 2). It does not depend on a saved profile, a learn step, or any prior setup. Every value written into a DR.GET formula is validated against the live table during discovery.

Read the full file on GitHub · 801 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. 4d ago First seen · 801 lines · 62 tokens per session scan A d4cf5d4c91e3

Subscribe to this mod's changes

dr-get-formula is a skill published in the GitHub repository Datarails/dr-claude-code-plugins-re (3 stars, last pushed 4d ago), licensed MIT. It adds 62 tokens to every session and 11,284 once invoked, about $0.0003 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

lbo-model

This skill should be used when completing LBO (Leveraged Buyout) model templates in Excel for private equity transactions, deal materials, or investment committee presentations. The skill fills in formulas, validates calculations, and ensures professional formatting standards that adapt to any template structure.

anthropics/financial-services · 57 tokens

audit-xls

Audit a spreadsheet for formula accuracy, errors, and common mistakes. Scopes to a selected range, a single sheet, or the entire model (including financial-model integrity checks like BS balance, cash tie-out, and logic sanity). Triggers on "audit this sheet", "check my formulas", "find formula errors", "QA this…

anthropics/financial-services · 104 tokens

model-update

Update financial models with new data — quarterly earnings, management guidance, macro changes, or revised assumptions. Adjusts estimates, recalculates valuation, and flags material changes. Use after earnings, guidance updates, or when assumptions need refreshing. Triggers on "update model", "plug earnings", "refresh…

anthropics/financial-services · 82 tokens

tres-upload-tx-header-validation

The exact column header names required by the TRES Finance bulk transaction CSV upload. Use whenever building, fixing, or validating the header row of a TRES manual transaction or sub-transaction upload CSV — especially after an upload fails with "Missing required column(s): ...". Trigger phrases include: 'fix my CSV…

anthropics/claude-plugins-community · 151 tokens

comps-analysis

Build institutional-grade comparable company analyses with operating metrics, valuation multiples, and statistical benchmarking in Excel/spreadsheet format. Perfect for: Public company valuation (M&A, investment analysis) Benchmarking performance vs. industry peers Pricing IPOs or funding rounds Identifying valuation…

anthropics/financial-services · 126 tokens

comp-sheet

Build an industry comp sheet Excel model with deep operational KPIs.

daloopa/investing · 15 tokens