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.
npx skills add DCS-Premium-Freight-SRL/claude-for-freight --skill cargo-calculationgit clone --depth 1 https://github.com/DCS-Premium-Freight-SRL/claude-for-freightWrote 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/dcs-premium-freight-srl/claude-for-freight/cargo-calculation)<a href="https://agentmods.dev/skills/dcs-premium-freight-srl/claude-for-freight/cargo-calculation"><img src="https://agentmods.dev/badge/skills/dcs-premium-freight-srl/claude-for-freight/cargo-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.
<a href="https://agentmods.dev/skills/dcs-premium-freight-srl/claude-for-freight/cargo-calculation"><img src="https://agentmods.dev/badge/skills/dcs-premium-freight-srl/claude-for-freight/cargo-calculation.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.00171 | $0.02104 |
| Opus 5 | $0.00086 | $0.01052 |
| Sonnet 5 | $0.00034 | $0.00421 |
| Haiku 4.5 | $0.00017 | $0.00210 |
Grade A, and why
cargo-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 12d 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 — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cargo calculation
Deterministic cargo arithmetic. Input: dimensions, weights, mode. Output: the four canonical metrics with the dominant factor flagged.
Read the profile first
Before computing anything, check the practice profile for:
- IATA volumetric divisor (default 6000; some courier operations use 5000)
- Units (default cm/kg; some operations use inch/lb)
- Trailer base for LDM (default 2.4m × 13.6m EU semi-trailer)
If the profile is missing, prompt the operator once for the divisor and units, note in the response that defaults were used, and offer to write the answer into the profile.
Inputs to collect
Ask only for what's missing. If the operator says "4 pallets 120×80×140 cm, 250 kg each", you have everything you need; don't ask follow-ups.
Required:
- Number of pieces
- Dimensions per piece — L × W × H, in the unit from profile
- Weight per piece or total gross weight
- Mode (air / sea / road) — ask if not stated
Optional (improves output if present):
- Stackable — if yes, halves LDM in the optimistic case (note the assumption)
- Pallet type (EUR / industrial / non-standard) — affects LDM precision
- Commodity — surfaces whether the calculation might trigger a tariff class
Formulas
Volumetric weight (air)
volumetric_kg = (L_cm × W_cm × H_cm × pieces) / divisor
divisor from profile (default 6000). Result rounded up to the next 0.5 kg
per IATA convention.
Chargeable weight (air)
chargeable_kg = max(gross_kg_total, volumetric_kg)
CBM (sea / road)
cbm = (L_cm × W_cm × H_cm × pieces) / 1,000,000
Freight ton (sea — LCL break-bulk convention)
freight_ton = max(cbm, gross_tonnes)
Where gross_tonnes = gross_kg_total / 1000. The carrier bills on whichever
is greater (1 W/M — weight or measurement).
LDM (road — loading meters)
For non-stackable cargo on a standard trailer:
ldm = (L_cm × W_cm × pieces) / (trailer_width_cm × 100)
With profile default trailer_width_cm = 240:
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.
- 12d ago First seen · 241 lines · 171 tokens per session scan A 019f35ffb111
cargo-calculation is a skill published in the GitHub repository DCS-Premium-Freight-SRL/claude-for-freight (8 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 171 tokens to every session and 2,104 once invoked, about $0.0009 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.
Other skills, from other repositories
logistics-expert
Expert-level supply chain management, logistics optimization, warehouse systems, and fleet management. Use when the user mentions supply chain, warehouse, fleet, or optimization, or when the task involves Supply Chain Management or Technologies.
maritime-expert
Expert-level maritime systems, vessel tracking, port operations, cargo management, and maritime logistics. Use when the user mentions shipping, logistics, vessel, port, or Cargo, or when the task involves Maritime Systems, Maritime Technologies, Standards and Protocols, or Vessel Operations.
supply-chain-expert
Build comprehensive supply chain solutions including demand planning, inventory management, supplier coordination, and logistics optimization. Use when the user mentions supply chain, demand planning or forecasting, inventory and safety stock, procurement, supplier management, warehousing, or logistics optimization.
subagent-driven-development
Execute plans via delegatetask subagents (2-stage review).
mcporter
List, auth, and call MCP servers/tools from the terminal.
research-engineer
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.