Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/deciqAI/knowledge-skillsnpx agentmods add skills/deciqai/knowledge-skills/customs-duty-optimization-opportunity-costWrote 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/deciqai/knowledge-skills/customs-duty-optimization-opportunity-cost)<a href="https://agentmods.dev/skills/deciqai/knowledge-skills/customs-duty-optimization-opportunity-cost"><img src="https://agentmods.dev/badge/skills/deciqai/knowledge-skills/customs-duty-optimization-opportunity-cost/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.
<a href="https://agentmods.dev/skills/deciqai/knowledge-skills/customs-duty-optimization-opportunity-cost"><img src="https://agentmods.dev/badge/skills/deciqai/knowledge-skills/customs-duty-optimization-opportunity-cost.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00083 | $0.00802 |
| Opus 5.5 | $0.00033 | $0.00321 |
| Sonnet 5.5 | $0.00017 | $0.00160 |
| Haiku 4.5 | $0.00008 | $0.00080 |
Grade A, and why
customs-duty-optimization-opportunity-cost 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 1mo 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 — 55 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Customs — Duty Optimization (Opportunity Cost)
Industry front door for opportunity-cost. Adds domain triggers, example, packs only. Parent Process unchanged. Not legal advice. Each program has strict eligibility; verify with counsel/CBP before relying on savings.
Activate when: an importer has recurring, material duty spend; evaluating FTZ, duty drawback, first-sale valuation, bonded warehouse, or FTA use; "are we leaving duty savings on the table?" Do NOT activate when: de minimis / trivial duty where program cost exceeds benefit.
Why this variant
The parent opportunity-cost measures the value of the best foregone alternative. Every duty dollar paid when a lawful program would have avoided/deferred it is a foregone saving. This surfaces those foregone alternatives and sizes them against setup cost.
Domain inputs → parent's Process
Enumerate lawful alternatives and their net value vs status quo:
- Duty drawback: refund on duties for re-exported/destroyed goods (up to 99%).
- Foreign-Trade Zone (FTZ): defer/reduce/eliminate duty; inverted-tariff benefit.
- First-sale valuation: dutiable value = earlier bona fide sale price in multi-tier transactions.
- FTA/preference (see USMCA variant), bonded warehouse (deferral).
- Weigh each program's admin/setup cost; opportunity cost = savings foregone by not adopting the best-fit one.
Worked example
Importer pays $800k/yr duty, re-exports ~30% of goods.
→ Foregone saving: drawback could refund 99% on the re-exported portion ($240k base) — far exceeding program setup. Not filing drawback is a recurring opportunity cost. FTZ may add inverted-tariff savings on the domestic portion.
Compliance anchors
- 19 U.S.C. 1313 (drawback); FTZ Act / 19 CFR 146; first-sale (Nissho Iwai); bonded warehouse 19 CFR 19.
Packs
- Broker/advisory: annual duty-spend audit → program-fit shortlist with net-savings sizing.
- Enterprise importer: FTZ feasibility + drawback recovery program.
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.
- 1mo ago Changed d7d6aa5d4b2d
- 3mo ago First seen · 55 lines · 83 tokens per session scan A 34cc35bc203b
customs-duty-optimization-opportunity-cost is a skill published in the GitHub repository deciqAI/knowledge-skills (18 stars, last pushed 1mo ago), licensed MIT. It adds 83 tokens to every session and 802 once invoked, about $0.0003 per session on Opus 5.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.
customs-duty-optimization-opportunity-cost compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| customs-duty-optimization-opportunity-costdeciqAI/knowledge-skills | Skill | 18 | 1mo ago | MIT | A | 83 | Claude Code, Codex |
| review-contractalebgl77/claude-inc | Skill | 23 | 3d ago | MIT | A | 20 | Claude Code |
| fiscalisteromainsimon/paperasse | Skill | 2.7k | 22d ago | MIT | A | 306 | Claude Code |
| commissaire-aux-comptesromainsimon/paperasse | Skill | 2.7k | 22d ago | MIT | A | 123 | Claude Code |
| finanzierung-versicherung-bearbeitenKlotzkette/claude-fuer-deutsches-recht | Skill | 2.0k | today | Apache-2.0 | A | 54 | Claude Code |
| preis-zahlung-bearbeitenKlotzkette/claude-fuer-deutsches-recht | Skill | 2.0k | today | Apache-2.0 | A | 58 | Claude Code |
| agb-bank-zahlungsverkehrKlotzkette/claude-fuer-deutsches-recht | Skill | 2.0k | today | Apache-2.0 | A | 50 | Claude Code |