/mas-common-sense-pack:double-check-ai-math-manuallyfrom mas-common-sense-pack
Provides a 3-tier math verification ladder to independently check AI-generated calculations using source inputs, formulas, and spreadsheets or calculators. Essential for financial quotes, invoices, cap tables, and budgets.
Ships in mas-common-sense-pack. 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.
None: SKILL.md is the whole skill.
Because Large Language Models are probabilistic language generators rather than algebraic engines, they can generate an impeccable financial breakdown where the individual line items look flawless, but the sum at the bottom is subtly wrong by $150 or 2.5%.
The 3-Tier Math Verification Ladder provides a safety net to ensure that no AI-generated financial quote, invoice, equity cap table, or budget is delivered without deterministic proof of accuracy.
┌─────────────────────────────────────────────────────────────┐
│ 3-Tier Math Safety Ladder │
│ │
│ [ TIER 1: AI Formula Derivation ] │
│ • Define variables, logic, and standard formulas │
│ │ │
│ ▼ │
│ [ TIER 2: Code / Python Execution ] │
│ • Force the AI to execute Python math programmatically │
│ │ │
│ ▼ │
│ [ TIER 3: Deterministic Human Check ] │
│ • Paste values into Excel, Google Sheets, or a calculator │
│ • 100% Guaranteed Mathematical Integrity │
└─────────────────────────────────────────────────────────────┘
Instead of asking the AI to calculate the total, ask it for the exact Excel/Google Sheets formula:
I have the following billing items: [LIST ITEMS, HOURS, & RATES].
Do NOT just calculate the total yourself.
Provide:
1. A Markdown table of the items.
2. The exact **Excel / Google Sheets formulas** (e.g. `=SUM(C2:C10)`, `=B2*C2*(1-D2)`) so I can paste this directly into a spreadsheet to calculate the verified numbers.
Calculate [FINANCIAL / COMPOUND MATH PROBLEM].
Output Requirements:
1. Show the mathematical formula with named variables.
2. Provide a standalone Python 3 script using `decimal.Decimal` (not floating point) to compute the exact figures.
3. Print intermediate line items and the final sum.
Item A: 40 hrs @ $125/hr = $5,000
Item B: 15 hrs @ $150/hr = $2,250
Item C: Server Setup Flat Fee = $800
Subtotal = $8,050
10% Early Bird Discount = $805
Total Due: $7,145
⚠️ Look closely: $8,050 - $805 = $7,245, NOT $7,145. An unverified quote would lose you $100 on the invoice!
| Item | Hours | Rate | Total Formula |
| :--- | :--- | :--- | :--- |
| **Development** | 40 | $125.00 | `=B2*C2` ($5,000.00) |
| **UX Review** | 15 | $150.00 | `=B3*C3` ($2,250.00) |
| **Infrastructure**| 1 | $800.00 | `=B4*C4` ($800.00) |
| **Subtotal** | | | `=SUM(D2:D4)` ($8,050.00) |
| **10% Discount** | | | `=D5*0.10` ($805.00) |
| **Final Total** | | | `=D5-D6` (**$7,245.00**) |
"Never sign or send an AI calculation without letting a deterministic engine (Python, Excel, Calculator) sum the final line."
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub alivirgo/major-ai-skills --plugin mas-common-sense-pack2 plugins in one repository ship this exact skill · first indexed Sep 11, 2026
5 skills in this plugin
/ask-ai-confidence-ratingIdentify uncertainty, assumptions, and claims needing verification when reviewing an AI answer./ask-short-answer-firstLead with a brief direct answer and place supporting detail afterward when the reader needs a quick decision./clean-messy-notes-to-action-itemsTurn unstructured notes into action items with owners, deadlines, decisions, and unresolved follow-ups.