fifo-lifo-controller

Automated inventory rotation management skill ensuring proper product flow based on expiration, production, or receipt dates

509 stars

Best use case

fifo-lifo-controller is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Automated inventory rotation management skill ensuring proper product flow based on expiration, production, or receipt dates

Teams using fifo-lifo-controller should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/fifo-lifo-controller/SKILL.md --create-dirs "https://raw.githubusercontent.com/a5c-ai/babysitter/main/library/specializations/domains/business/logistics/skills/fifo-lifo-controller/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/fifo-lifo-controller/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How fifo-lifo-controller Compares

Feature / Agentfifo-lifo-controllerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Automated inventory rotation management skill ensuring proper product flow based on expiration, production, or receipt dates

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# FIFO-LIFO Controller

## Overview

The FIFO-LIFO Controller is an automated skill that manages inventory rotation to ensure proper product flow based on expiration dates, production dates, or receipt dates. It enforces First-In-First-Out (FIFO), First-Expired-First-Out (FEFO), or Last-In-First-Out (LIFO) policies and manages lot tracking and shelf life compliance.

## Capabilities

- **FIFO Enforcement at Pick Time**: Ensure oldest inventory is picked first based on receipt or production date
- **FEFO (First Expired First Out) Management**: Prioritize inventory with nearest expiration dates for picking
- **Lot and Batch Tracking**: Maintain complete traceability of inventory by lot, batch, or serial number
- **Expiration Date Alerting**: Generate alerts for inventory approaching expiration thresholds
- **Shelf Life Calculation**: Calculate remaining shelf life and predict expiration risk
- **Product Hold Management**: Manage inventory holds for quality, recall, or compliance reasons
- **Compliance Documentation**: Generate documentation for regulatory compliance and audit requirements

## Tools and Libraries

- WMS APIs
- Lot Tracking Systems
- Shelf Life Databases
- Compliance Management Tools

## Used By Processes

- FIFO-LIFO Inventory Control
- Cycle Counting Program
- Receiving and Putaway Optimization

## Usage

```yaml
skill: fifo-lifo-controller
inputs:
  item:
    sku: "SKU001"
    rotation_method: "FEFO"
    shelf_life_days: 180
    min_remaining_life_percent: 50
  inventory:
    - lot_number: "LOT001"
      quantity: 100
      receipt_date: "2025-10-15"
      production_date: "2025-10-10"
      expiration_date: "2026-04-10"
      location: "A-01-02"
    - lot_number: "LOT002"
      quantity: 150
      receipt_date: "2025-11-20"
      production_date: "2025-11-15"
      expiration_date: "2026-05-15"
      location: "A-01-03"
  pick_request:
    quantity: 75
    order_date: "2026-01-25"
    customer_min_life_days: 60
outputs:
  pick_recommendation:
    - lot_number: "LOT001"
      quantity: 75
      location: "A-01-02"
      expiration_date: "2026-04-10"
      remaining_life_days: 75
      meets_customer_requirement: true
  rotation_status:
    sku: "SKU001"
    total_quantity: 250
    lots_at_risk: 0
    lots_expiring_30_days: 0
    lots_expiring_60_days: 0
    lots_expiring_90_days: 1
  alerts:
    - type: "approaching_expiration"
      lot_number: "LOT001"
      days_remaining: 75
      action_required: "prioritize_for_picking"
```

## Integration Points

- Warehouse Management Systems (WMS)
- Quality Management Systems (QMS)
- Enterprise Resource Planning (ERP)
- Recall Management Systems
- Compliance/Regulatory Systems

## Performance Metrics

- FIFO/FEFO compliance rate
- Expired inventory percentage
- Write-off due to expiration
- Lot traceability accuracy
- Customer freshness compliance

Related Skills

MPC Controller Skill

509
from a5c-ai/babysitter

Expert skill for Model Predictive Control implementation and tuning

labview-instrument-controller

509
from a5c-ai/babysitter

LabVIEW instrument control skill for DAQ systems, hardware integration, and real-time data acquisition

plasma-etch-controller

509
from a5c-ai/babysitter

Plasma etching skill for anisotropic nanostructure patterning with selectivity and profile control

nanoimprint-process-controller

509
from a5c-ai/babysitter

Nanoimprint Lithography skill for high-throughput nanopatterning with template management and demolding optimization

fib-mill-controller

509
from a5c-ai/babysitter

Focused Ion Beam milling skill for site-specific nanofabrication and cross-section preparation

ebl-process-controller

509
from a5c-ai/babysitter

Electron Beam Lithography skill for high-resolution nanopatterning with dose optimization and proximity effect correction

dsa-process-controller

509
from a5c-ai/babysitter

Directed Self-Assembly skill for block copolymer lithography and nanoparticle templating

cvd-pvd-process-controller

509
from a5c-ai/babysitter

Chemical/Physical Vapor Deposition skill for thin film and nanostructure deposition optimization

cleanroom-metrology-controller

509
from a5c-ai/babysitter

Nanofabrication metrology skill for process control with CD-SEM, ellipsometry, and profilometry

ald-process-controller

509
from a5c-ai/babysitter

Atomic Layer Deposition skill for conformal thin film deposition with atomic-level thickness control

process-builder

509
from a5c-ai/babysitter

Scaffold new babysitter process definitions following SDK patterns, proper structure, and best practices. Guides the 3-phase workflow from research to implementation.

Workflow & Productivity

babysitter

509
from a5c-ai/babysitter

Orchestrate via @babysitter. Use this skill when asked to babysit a run, orchestrate a process or whenever it is called explicitly. (babysit, babysitter, orchestrate, orchestrate a run, workflow, etc.)