tax-calculation

tax-calculation is a skill for Claude Code, Codex from finsilabs/awesome-ecommerce-skills. It costs 28 tokens per session (2,494 once invoked), scanned A, original, MIT.

A guide to calculating sales tax and VAT at checkout using services such as TaxJar or Avalara, while considering where the seller has a tax obligation called nexus.

In plain words
What is it for?
It is for configuring tax collection across US states and countries, supporting EU VAT, and showing the correct tax before payment.
Why use it?
It helps avoid outdated manual rates, under- or over-collecting tax, and incorrect charges for customers in different regions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex; mentions Gemini CLI; mentions OpenCode.

Good fit It is for configuring tax collection across US states and countries, supporting EU VAT, and showing the correct tax before payment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/finsilabs/awesome-ecommerce-skills/tax-calculation
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.

Any agent
npx skills add finsilabs/awesome-ecommerce-skills --skill tax-calculation
Clone the repo
git clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skills

Made for: Claude Code, Codex.

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 tax-calculation

README.md
[![agentmods](https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/tax-calculation/github.svg)](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/tax-calculation)
Your own site
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/tax-calculation"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/tax-calculation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tax-calculation

Your own site · 80×15
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/tax-calculation"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/tax-calculation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00028 $0.02494
Opus 5 $0.00014 $0.01247
Sonnet 5 $0.00006 $0.00499
Haiku 4.5 $0.00003 $0.00249

Measured 9d ago against content hash 0f4fdf257965, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

tax-calculation 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.

skills/payments-checkout/tax-calculation/SKILL.md · 236 lines

How it starts

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

Tax Calculation

Overview

Accurate tax calculation at checkout is a legal requirement, not an optimization. In the United States, there are over 13,000 taxing jurisdictions. EU VAT rules require charging the customer's local VAT rate. Getting it wrong leads to under-collection (a liability you must cover) or over-collection (refunds and customer complaints). All major platforms have built-in tax calculation or direct integrations with TaxJar and Avalara that handle this correctly without custom code.

When to Use This Skill

  • When expanding sales to states or countries where you have tax nexus obligations
  • When manual tax rates are causing compliance issues or needing constant updates
  • When implementing EU VAT compliance (OSS/IOSS registration)
  • When displaying accurate tax before the customer confirms payment

Core Instructions

Step 1: Understand nexus before configuring tax

You only need to collect tax in jurisdictions where you have nexus (a tax obligation).

US Sales Tax nexus:

  • Physical nexus: you have employees, warehouses, or offices in a state
  • Economic nexus: most states trigger at $100,000/year in sales OR 200 transactions to customers in that state (California and Texas use $500,000)
  • Check each state's current threshold before configuring — thresholds change

EU VAT:

  • EU-based sellers must charge VAT at the customer's country rate for all EU sales
  • Non-EU sellers must register for EU VAT (via OSS scheme) once annual EU B2C sales exceed €10,000
  • B2B sales within the EU: reverse charge applies — the buyer handles VAT via self-assessment

Step 2: Set up tax calculation on your platform


Shopify

Option A: Shopify's built-in tax (recommended for US stores)

  1. Go to Settings → Taxes and duties
  2. Under Tax regions, select the regions where you have nexus
  3. For US: Shopify calculates taxes automatically at the correct state + county + city rate based on the customer's shipping address — no third-party service needed for basic US compliance
  4. Enable Charge tax on shipping if your state requires it (varies by state)
  5. For product-level exemptions (e.g., clothing exempt in PA): go to Products → [Product] → Tax and set the appropriate tax category or create a custom tax override

Read the full file on GitHub · 236 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. 9d ago First seen · 236 lines · 28 tokens per session scan A 0f4fdf257965

Subscribe to this mod's changes

tax-calculation is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 28 tokens to every session and 2,494 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

cross-border-vat-gst

> VAT, GST, and sales tax compliance for international digital businesses. Use when the user asks about: VAT, GST, sales tax, value added tax, goods and services tax, EU VAT, UK VAT, VAT OSS, One-Stop Shop, VAT registration, reverse charge, Merchant of Record, Paddle, Lemon Squeezy, Stripe Tax, digital services tax…

openaccountants/openaccountants · 201 tokens

brazil-vat

> Use esta skill sempre que perguntarem sobre tributos indiretos brasileiros, IVA, tributos sobre o consumo, PIS, Cofins, ICMS, ISS, IPI, CBS, IBS, Imposto Seletivo, NF-e (Nota Fiscal Eletronica), NFS-e, Simples Nacional, registro de CNPJ, reforma tributaria (EC 132/2023, LC 214/2025, LC 227/2026) ou qualquer questao…

openaccountants/openaccountants · 213 tokens

canada-gst-hst

Use this skill whenever asked to prepare, review, or classify transactions for a Canadian GST/HST return (Form GST34) for a self-employed individual or small business in Canada. Trigger on phrases like "prepare GST return", "file HST", "Canadian sales tax", "GST/HST return", "Form GST34", "input tax credits", "ITC…

openaccountants/openaccountants · 193 tokens

albania-vat

Use this skill whenever asked to prepare, review, or classify transactions for an Albanian VAT (TVSH) return for any client. Trigger on phrases like "Albania VAT", "Albanian TVSH", "TVSH return", "DPT filing", "Albanian tax", or any request involving Albanian VAT filing. Also trigger when classifying transactions for…

openaccountants/openaccountants · 162 tokens

austria-vat-return

Use this skill whenever asked to prepare, review, or classify transactions for an Austrian VAT return (Umsatzsteuervoranmeldung / UVA) or annual declaration (Umsatzsteuererklärung / U1) for a self-employed individual or small business in Austria. Trigger on phrases like "prepare UVA", "Austrian VAT return"…

openaccountants/openaccountants · 185 tokens

belgium-vat-return

Use this skill whenever asked to prepare, review, or classify transactions for a Belgian VAT return (déclaration périodique TVA / periodieke BTW-aangifte) for a self-employed individual or small business in Belgium. Trigger on phrases like "prepare Belgian VAT return", "Belgian BTW", "déclaration TVA Belgique"…

openaccountants/openaccountants · 168 tokens