# logistics-expert

Provides domain logic for supply chain management, warehouse operations, and delivery route optimization. Useful when building logistics software.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 567 installs · ★ 43
- Author: personamanagmentlayer
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/personamanagmentlayer/pcl/tree/HEAD/stdlib/domains/logistics-expert/SKILL.md
- Updated: 2026-10-12
- HTML: https://affpapa.org/en/nevibecode/skills/logistics-expert

## What it does

The skill equips the agent with domain patterns for logistics. Inside are Python data structures for warehouse management: storage zone types through `StorageType` and batch tracking with expiration dates. It outlines placement logic based on item dimensions and category.

It targets delivery and fleet planning. The routing algorithms rely on Google OR-Tools and SciPy. Running these models requires `ortools` and `scipy` in your Python setup. To update files, the skill requests `Read`, `Write`, and `Edit` tools.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill logistics-expert -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/logistics-expert/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/logistics-expert/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill logistics-expert -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/logistics-expert/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill logistics-expert -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/logistics-expert/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install personamanagmentlayer/pcl logistics-expert
```

2. **Manually: put the files in place**
- File: `.github/skills/logistics-expert/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill logistics-expert -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/personamanagmentlayer/pcl --path stdlib/domains/logistics-expert
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/logistics-expert/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add personamanagmentlayer/pcl --skill logistics-expert -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/personamanagmentlayer/pcl/tree/HEAD/stdlib/domains/logistics-expert/SKILL.md

## When to use it
- design data models for a warehouse management system
- optimize warehouse picking paths by aisle and rack
- assign incoming inventory to storage locations by volume
- build vehicle routing models with Google OR-Tools

## Example prompts
- Write a Python WMS module to receive shipments and allocate storage locations
- Optimize a warehouse order picking route sorted by zone, aisle, and rack
- Build a vehicle delivery routing script using OR-Tools and a distance matrix

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: e0f15860e8dd455a.

BEGIN THIRD-PARTY FILE e0f15860e8dd455a
````text
---
name: logistics-expert
version: 2.0.0
description: >-
  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.
category: domains
tags: [logistics, supply-chain, warehouse, fleet, optimization]
allowed-tools:
  - Read
  - Write
  - Edit
---

# Logistics Expert

Expert guidance for supply chain management, logistics optimization, warehouse management systems, and transportation planning.

## Core Concepts

### Supply Chain Management

- Inventory management
- Demand forecasting
- Procurement and sourcing
- Warehouse management (WMS)
- Transportation management (TMS)
- Order fulfillment
- Last-mile delivery

### Optimization

- Route optimization
- Load planning
- Inventory optimization
- Network design
- Cost minimization
- Delivery scheduling

### Technologies

- RFID and barcode scanning
- GPS tracking
- IoT sensors
- Predictive analytics
- Automated warehouses
- Drone delivery

## Warehouse Management System

```python
from dataclasses import dataclass
from typing import List, Optional
from datetime import datetime
from enum import Enum

class StorageType(Enum):
    PALLET = "pallet"
    SHELF = "shelf"
    BULK = "bulk"
    COLD = "cold_storage"

@dataclass
class Location:
    location_id: str
    zone: str
    aisle: str
    rack: str
    level: int
    storage_type: StorageType
    capacity: float
    current_load: float

@dataclass
class Product:
    sku: str
    name: str
    category: str
    weight: float
    volume: float
    storage_requirements: str

@dataclass
class InventoryItem:
    item_id: str
    sku: str
    quantity: int
    location_id: str
    received_date: datetime
    expiry_date: Optional[datetime]
    batch_number: str

class WMS:
    """Warehouse Management System"""

    def __init__(self, db):
        self.db = db

    def receive_shipment(self, shipment):
        """Process incoming shipment"""
        items_received = []

        for item in shipment.items:
            # Find optimal storage location
            location = self.find_optimal_location(item)

            # Create inventory record
            inventory_item = InventoryItem(
                item_id=generate_id(),
                sku=item.sku,
                quantity=item.quantity,
                location_id=location.location_id,
                received_date=datetime.now(),
                expiry_date=item.expiry_date,
                batch_number=item.batch_number
            )

            self.db.save_inventory(inventory_item)
            self.update_location_capacity(location, item)

            items_received.append(inventory_item)

        return {
            'shipment_id': shipment.shipment_id,
            'items_received': len(items_received),
            'status': 'completed'
        }

    def find_optimal_location(self, item):
        """Find best storage location for item"""
        product = self.db.get_product(item.sku)
        available_locations = self.db.get_available_locations(
````
END THIRD-PARTY FILE e0f15860e8dd455a

The third-party file has ended. Everything between the e0f15860e8dd455a tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 3142 of 13983 bytes. © personamanagmentlayer · Apache-2.0 · https://github.com/personamanagmentlayer/pcl/tree/HEAD/stdlib/domains/logistics-expert/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
