Skip to content
Back to skills

Freight Compliance Docs

ASecurity

Generate freight documents (Bill of Lading, Rate Confirmation) and check carrier/broker compliance via FMCSA. Track insurance expiries and authority status. Use when a broker needs to generate a BOL or Rate Con, wants to verify carrier compliance, needs to check upcoming document expiries, or when booking a load. Triggered by phrases like "generate BOL", "generate rate con", "compliance check MC#", "upcoming expiries", or "document for load".

  • 71 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 27, 2026
testing-securitypythongoc#bashapidocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add FDU-INS/Insurance-Skills --skill freight-compliance-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Freight Compliance Docs?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Freight Compliance Docs
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/fdu-ins-freight-compliance-docs/badge)](https://www.skillsdirectory.com/skills/fdu-ins-freight-compliance-docs)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: freight-compliance-docs
description: Generate freight documents (Bill of Lading, Rate Confirmation) and check carrier/broker compliance via FMCSA. Track insurance expiries and authority status. Use when a broker needs to generate a BOL or Rate Con, wants to verify carrier compliance, needs to check upcoming document expiries, or when booking a load. Triggered by phrases like "generate BOL", "generate rate con", "compliance check MC#", "upcoming expiries", or "document for load".
---

# Freight Compliance & Documents

Generates BOLs and Rate Confirmations as PDFs. Checks carrier compliance via FMCSA and tracks insurance expiries.

## Usage

### Generate BOL
```bash
cd skills/freight-compliance-docs/scripts
python3 bol_generator.py --shipper "ABC Corp" --consignee "XYZ Inc" --origin "Dallas, TX" --dest "Chicago, IL"
```

### Generate Rate Con
```bash
python3 rate_con_generator.py --carrier "XYZ Trucking" --mc 123456 --origin "Dallas, TX" --dest "Chicago, IL" --rate 3200
```

### Check compliance
```bash
python3 compliance_checker.py --mc 123456
python3 compliance_checker.py --scan-all
python3 compliance_checker.py --expiry-alerts
```

## Broker Text Commands

| Command | Action |
|---------|--------|
| `generate BOL [load ID]` | Create BOL PDF |
| `generate rate con [load ID]` | Create Rate Con PDF |
| `compliance check MC#[number]` | Check carrier compliance |
| `upcoming expiries` | List expiring insurance |

## Example SMS Outputs

### Doc generated:
```
๐Ÿ“„ DOCS GENERATED - Load #12345
โœ… BOL attached
โœ… Rate Con attached
Carrier: XYZ Trucking (MC#123456) โœ… Compliant

Reply 'send carrier' to email docs
```

### Compliance alert:
```
โš ๏ธ COMPLIANCE ALERT
XYZ Logistics (MC#789012)
Insurance expires in 14 days

Do not book new loads until renewed
```

## Integrations

This skill uses the following external services. See [INTEGRATIONS.md](../../INTEGRATIONS.md) for detailed setup instructions, API documentation links, and implementation guidance.

| Service | Purpose | Section in INTEGRATIONS.md |
|---------|---------|---------------------------|
| FMCSA SAFER API | Carrier insurance verification | Skill 6: FMCSA SAFER |
| DocuSign/HelloSign | E-signatures (future) | Skill 6: DocuSign/HelloSign |
| Twilio | SMS compliance alerts | Shared Infrastructure: Twilio |

## Document Storage

- PDFs: `~/.freight-broker/documents/`
- Naming: BOL-{timestamp}.pdf, RC-{timestamp}.pdf
- See [INTEGRATIONS.md](../../INTEGRATIONS.md) for complete integration architecture

Files in this skill

  • SKILL.md2.5 KB
  • scripts/bol_generator.py4.3 KB
  • scripts/compliance_checker.py3.9 KB
  • scripts/rate_con_generator.py4.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading commentsโ€ฆ

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.