Borrowing it
Nothing to install: this file belongs to cas-team-analyst/team-analyst. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/cas-team-analyst/team-analyst/main/.agents/skills/excel-formulas/SKILL.mdgit clone --depth 1 https://github.com/cas-team-analyst/team-analystWrote 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/cas-team-analyst/team-analyst/excel-formulas)<a href="https://agentmods.dev/skills/cas-team-analyst/team-analyst/excel-formulas"><img src="https://agentmods.dev/badge/skills/cas-team-analyst/team-analyst/excel-formulas.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00053 | $0.05035 |
| Opus 5 | $0.00026 | $0.02518 |
| Sonnet 5 | $0.00011 | $0.01007 |
| Haiku 4.5 | $0.00005 | $0.00504 |
Grade A, and why
excel-formulas 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 9d 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 — 508 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Formula-Driven Excel Workbooks
⚠️ NOTE (April 2026): The formula-based approach described in this skill has been archived for the main workflow scripts (2a, 2d, 5a, 6-analysis). These scripts now write hard-coded values from source data for easier maintenance. The formula-based versions are preserved in
.claude/skills/excel-formulas/assets/archived-formula-scripts/and can be restored if needed. SeeARCHIVE_README.mdin that directory for restoration instructions.This skill remains valid for reference or for creating new formula-based workbooks outside the main workflow.
Quick Reference
Core principle: Inject live Excel formulas (not hard-coded values) with cached values so workbooks recalculate when actuaries change selections.
Tool: Use xlsxwriter for creating new workbooks - formulas display immediately with cached values. (Historical note: We previously used openpyxl, but it creates formulas without cached values, causing blanks.)
Critical pattern: Generate formula-driven Excel + JSON replica (xlsxwriter doesn't evaluate formulas, so JSON stores evaluated data for downstream scripts).
Key utilities:
create_xlsxwriter_formats()frommodules/xl_styles.pyfor consistent formattingcol_letter()helper to convert 0-based column index to Excel letters (A, B, C...)
xlsxwriter Approach
Basic Setup
import xlsxwriter
from modules.xl_styles import create_xlsxwriter_formats
# Enable future functions to avoid compatibility warnings for STDEV.S, etc.
wb = xlsxwriter.Workbook('output.xlsx', {'use_future_functions': True})
fmt = create_xlsxwriter_formats(wb)
fmt['wb'] = wb # Store reference for dynamic format creation
# Get first worksheet
ws = wb.add_worksheet('Sheet1')
Key Features
- ✓ Cached formula values: Formulas display immediately (no blanks)
- ✓ 0-based indexing:
ws.write_formula(row, col, formula, format, cached_value) - ✓ use_future_functions: Handles Excel 2010+ functions without compatibility warnings
- ✓ Faster: More efficient than openpyxl for creating new files
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.
- 9d ago First seen · 508 lines · 53 tokens per session scan A 7026c3fa618c
excel-formulas is a skill published in the GitHub repository cas-team-analyst/team-analyst (11 stars, last pushed 5d ago), licensed MIT. It adds 53 tokens to every session and 5,035 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-30.
Other skills, from other repositories
dcf-model
Build discounted cash flow valuation workbooks in Excel.
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…
google-drive-sheets
Find, read, export, edit, and manage the user's Google Drive, Docs, Sheets, and Slides through per-user OAuth.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
excel-basic-statistics-and-routing
An Excel workflow for filtering grouped data, calculating averages, extracting row ranges, removing duplicates, and adding totals.
skill-doc-delivery
Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.