Agent skill
Freight rate quote
Build a freight rate that covers the cost of actually running the load, the per‑mile economics, the deadhead and detention nobody prices, and the...
New to this? An agent skill is a file of instructions your AI assistant follows for one job. The text above is written for the assistant. How to use a skill
- It links to other files in its repo. Open the original to see them.
What it does
Freight rate quote is an agent skill from mohitagw15856/
In short, it gives your assistant a fixed routine for one kind of job.
The file is 107 lines long and is set out in parts such as “What This Skill Produces”, “Required Inputs”, “Framework: Cost Per Mile, Then Every Mile You Actually Drive” and “Deeper Material”.
It is plain instructions, with no code to run.
When to use it
Reach for it when you do this job often and want the same good result each time.
It points to other files in its repo, so open the original to read those too.
It does not ask for special tools.
Safety check
Our checker read all 107 lines before we listed it.
It found no attack techniques, no hidden text and no steps that switch off your assistant's safety or send your data away.
It did flag one thing to know, listed above.
The text links to 1 outside site.
It is shared under the MIT license.
Still read it before you use it, like any instructions you give your AI.
Open in the appOriginal on GitHub
What is inside
- What This Skill Produces
- Required Inputs
- Framework: Cost Per Mile, Then Every Mile You Actually Drive
- Deeper Material
- Output Format
- Rate quote: [lane] · [equipment] · [date]
- Quality Checks
- Anti‑Patterns
How to use it
- Claude Code: save the text as
.claude/skills/freight-rate-quote/SKILL.mdin your project. Claude reads it when a task needs it. - Claude, ChatGPT or Gemini: tap Copy skill and paste it into the chat. It arrives with a short line asking the assistant to use it.
- Cursor and other agents: add it to the project rules or instructions.
Read the full guide to using an agent skill
Want your own? How to write an agent skill that works
The full skill
--- name: freight-rate-quote description: "Build a freight rate that covers the cost of actually running the load — the per-mile economics, the deadhead and detention nobody prices, and the accessorials that decide whether the lane is profitable. Use when asked to quote a freight rate, price a lane, work out cost per mile, decide whether to accept a load, or explain why a lane is losing money. Produces the fully-loaded cost per mile, the lane economics including empty miles, the accessorial schedule, the break-even and target rate, and the accept-or-decline recommendation." --- # Freight Rate Quote Lanes lose money on the miles nobody billed for. The rate looks fine on the loaded leg, then deadhead, detention, and a reload that took two days turn a profitable quote into a loss. This builds the rate from a real cost per mile, prices the empty and waiting time honestly, and produces a number that either covers the load or tells you to decline it. ## What This Skill Produces - **Fully-loaded cost per mile** — fixed and variable, including the costs usually left out - **Lane economics** — loaded and empty miles, transit time, and the realistic reload position at destination - **The accessorial schedule** — detention, layover, extra stops, and the terms that make them collectable - **Break-even and target rate** — the floor, the target, and the margin between them - **The accept-or-decline call** — with the reasoning, including when a below-target rate is still correct - **The sensitivity view** — what happens to the margin if fuel, detention, or the reload assumption moves ## Required Inputs Ask for these if not provided: - **The lane** — origin, destination, distance, and frequency - **The load** — weight, commodity, equipment type, and any special requirements - **Your cost base** — fixed costs per vehicle, and variable costs per mile - **The reload position** — what typically comes out of the destination market, and how long it takes to find - **The terms** — payment days, detention terms, fuel surcharge basis, and who the customer is ## Framework: Cost Per Mile, Then Every Mile You Actually Drive 1. **Build cost per mile from both halves.** Fixed costs — payments, insurance, licensing, overhead — divided by realistic annual miles, plus variable costs: fuel, tyres, maintenance, driver pay per mile. 2. **Use realistic annual miles.** Optimistic utilisation is the single most common error in fleet costing; it understates fixed cost per mile across the whole business. 3. **Price the deadhead.** Empty miles to pick up and away from delivery are real miles. A rate quoted on loaded miles alone is a rate quoted on a fiction. 4. **Price the time, not just the distance.** A 400-mile run that consumes two days because of a difficult delivery window costs more than an 800-mile run that flows. 5. **Assume detention will happen and make it collectable.** Detention priced but not documented is detention not paid. The terms and the evidence requirement matter more than the rate. 6. **Weigh the reload.** A good rate into a dead market is worse than a modest rate into a strong one. Total round-trip revenue per day is the honest measure. 7. **Know your floor and say no below it.** A lane run below break-even to keep a truck moving loses money faster than a parked truck. ## Deeper Material - **[`references/worked-example.md`](references/worked-example.md)** — a Manchester–Aberdeen round that looks excellent per loaded mile and merely acceptable per day. Read it when the shape of a good output is unclear, or to calibrate how specific the entries should be. ## Output Format ### Rate quote: [lane] · [equipment] · [date] **Cost per mile** | Fixed (annual) | Amount | | Variable (per mile) | Amount | |---|---|---|---|---| | Payments/depreciation | | | Fuel | | | Insurance | | | Tyres | | | Licensing/permits | | | Maintenance | | | Overhead allocation | | | Driver pay | | | **Total fixed** | | | **Total variable** | | Realistic annual miles: [n] → fixed per mile [amount] → **fully-loaded cost per mile [amount]** **Lane economics** | | Miles | Cost | |---|---|---| | Deadhead to origin | | | | Loaded | | | | Deadhead from destination (to reload) | | | | **Total** | | | Transit time: [days] · Reload position at destination: [strong / weak — typical wait [n] days] **Accessorials** | Item | Rate | Terms | Evidence required | |---|---|---|---| | Detention | [rate after n hours] | | [signed timestamps] | | Layover | | | | | Extra stop | | | | | Fuel surcharge | [basis] | | | **Rates:** break-even [amount] · target at [n]% margin [amount] · **quoted [amount]** · per loaded mile [amount] · **revenue per day [amount]** **Recommendation:** ☐ Accept ☐ Accept with conditions ☐ Decline — [reasoning] **Sensitivity:** fuel +[n]% → margin [effect] · detention 4h unpaid → margin [effect] · reload takes +1 day → margin [effect] > A costing framework only. Rates, fuel surcharges, detention terms and accessorial practice vary by market, contract and jurisdiction, and some lanes carry regulatory or licensing requirements affecting cost. Verify your own cost base and contract terms before quoting. ## Quality Checks - [ ] Cost per mile includes both fixed and variable, with overhead allocated - [ ] Annual miles are realistic rather than optimistic - [ ] Deadhead miles at both ends are included in the lane cost - [ ] Time cost is considered, not just distance - [ ] Detention terms specify the evidence needed to collect - [ ] The reload position at destination is factored into the decision - [ ] Break-even is stated and the recommendation respects it - [ ] Sensitivity to fuel, detention and reload delay is shown ## Anti-Patterns - **Quoting on loaded miles only.** The empty miles are the ones that lose the money. - **Optimistic utilisation.** Understates fixed cost per mile across every quote you make. - **Ignoring the destination market.** A great rate into a dead area is a bad load. - **Detention with no evidence requirement.** Priced, billed, disputed, written off. - **Forgetting overhead.** Dispatch, admin and premises are real and must be carried. - **Running below break-even to keep the truck busy.** Loses money faster than parking it. - **Pricing distance and ignoring time.** Short difficult runs can cost more than long easy ones. ## Example Trigger Phrases - "Quote a rate for a lane from Manchester to Glasgow" - "What is our actual cost per mile?" - "Should we take this load at this rate?" - "Why is this lane losing money?" - "How do I price detention so we actually get paid?" Run this skill in your browser: https://mohitagw15856.github.io/pm-claude-skills/skill/freight-rate-quote.html
Copyright (c) 2026 Mohit Aggarwal.
Published under the MIT License, which you can read in full there.
Shown as published on GitHub, with credit and a link to the original.
Read it before you use it.
More skills
Feedback template
Design a 360‑degree feedback survey or write a structured 360 feedback report.
401k plan decoder
Decode a 401k or workplace retirement plan, the real cost of its funds, the match's fine print, vesting math, and the plan features worth using or avoiding.
Academic cv
Build or tailor an academic CV for faculty, postdoc, research or fellowship applications: publications, grants, teaching, supervision and service in the order the...
Try it in your browser
Today's AI news, one card per swipe.
Free to start.