name: freight-rate-intelligence description: Provide freight market rate intelligence for specific lanes, suggest quotes with margin analysis, track historical lane rates, and generate competitive pricing. Use when a broker needs a quote for a lane, wants to know current market rates, needs pricing history, or wants margin analysis. Triggered by phrases like "quote [lane]", "market rates", "lane intel", "what should I charge", "rate history", or "pricing for [lane]".
Freight Rate Intelligence
Analyzes lane rates using broker's history and DAT market data. Suggests quotes with margin calculations.
Usage
Analyze lane rates
cd skills/freight-rate-intelligence/scripts
python3 rate_analyzer.py --lane "Los Angeles, CA to New York, NY" --equipment reefer
python3 rate_analyzer.py --lane "Dallas, TX to Chicago, IL" --equipment dry_van
Generate quote email
python3 quote_generator.py --shipper "ABC Corp" --origin "Dallas, TX" --dest "Chicago, IL" --rate 3050
Margin Configuration
Set preferred margin in ~/.freight-broker/config.json:
{
"preferred_margin": 0.12
}
Default is 12% margin.
Broker Text Commands
| Command | Action |
|---|---|
quote [origin] to [dest] [equipment] |
Get quote suggestion |
lane intel [lane] |
Market rate trends for lane |
rate history [shipper] |
Past quotes for a shipper |
Example SMS Output
💰 QUOTE SUGGESTION - Dallas→Chicago Dry Van
Market avg: $2,950
Your history: $2,800 (12 loads)
Suggest: $3,050
Est. margin: $366 (12%)
Reply 'send 3050' to email shipper
Reply 'adjust [amount]' to change
Integrations
This skill uses the following external services. See INTEGRATIONS.md for detailed setup instructions, API documentation links, and implementation guidance.
| Service | Purpose | Section in INTEGRATIONS.md |
|---|---|---|
| DAT RateView API | Current market rate data | Skill 5: DAT RateView API |
| FreightWaves Sonar | Alternative rate data | Skill 5: Sonar |
| Twilio | SMS quote suggestions | Shared Infrastructure: Twilio |
Rate History Building
Rates are automatically recorded when:
- A load is booked at a specific rate
- A quote is sent to a shipper
- Rate intel is queried and confirmed
Historical data improves quote accuracy over time.
See INTEGRATIONS.md for complete integration architecture