cargo-calculation

cargo-calculation is a skill for Claude Code from DCS-Premium-Freight-SRL/claude-for-freight. It costs 171 tokens per session (2,104 once invoked), scanned A, original, Apache-2.0.

A shipping calculator that works out chargeable weight, cubic volume, freight tonnes, and loading metres from cargo dimensions and weight.

In plain words
What is it for?
Calculating air chargeable weight, sea or road volume measures, freight tonnes, and trailer loading metres for shipments.
Why use it?
It replaces repeated freight arithmetic and shows whether price is mainly driven by weight or space. It can also warn when a shipment approaches a different transport-cost range.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the freight-forwarding plugin — 4 skills, 5 commands, 1 agent, 6 MCP servers shipped together

Good fit Calculating air chargeable weight, sea or road volume measures, freight tonnes, and trailer loading metres for shipments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dcs-premium-freight-srl/claude-for-freight/cargo-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 DCS-Premium-Freight-SRL/claude-for-freight --skill cargo-calculation
Clone the repo
git clone --depth 1 https://github.com/DCS-Premium-Freight-SRL/claude-for-freight

Made for: Claude Code.

Or install freight-forwarding, the plugin that ships this one along with the rest of its 4 skills, 5 commands, 1 agent, 6 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/dcs-premium-freight-srl/claude-for-freight/cargo-calculation/github.svg)](https://agentmods.dev/skills/dcs-premium-freight-srl/claude-for-freight/cargo-calculation)
Your own site
<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.

agentmods 80×15 button for cargo-calculation

Your own site · 80×15
<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>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,104 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.00171 $0.02104
Opus 5 $0.00086 $0.01052
Sonnet 5 $0.00034 $0.00421
Haiku 4.5 $0.00017 $0.00210

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

Security

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.

freight-forwarding/skills/cargo-calculation/SKILL.md · 241 lines

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:

Read the full file on GitHub · 241 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. 12d ago First seen · 241 lines · 171 tokens per session scan A 019f35ffb111

Subscribe to this mod's changes

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.

Related

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.

personamanagmentlayer/pcl · 47 tokens

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.

personamanagmentlayer/pcl · 59 tokens

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.

personamanagmentlayer/pcl · 55 tokens

subagent-driven-development

Execute plans via delegatetask subagents (2-stage review).

NousResearch/hermes-agent · 17 tokens

mcporter

List, auth, and call MCP servers/tools from the terminal.

NousResearch/hermes-agent · 16 tokens

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.

davila7/claude-code-templates · 43 tokens