Agent skill
fifo-lifo-controller
Automated inventory rotation management skill ensuring proper product flow based on expiration, production, or receipt dates
Install this agent skill to your Project
npx add-skill https://github.com/a5c-ai/babysitter/tree/main/library/specializations/domains/business/logistics/skills/fifo-lifo-controller
Metadata
Additional technical details for this skill
- domain
- business
- category
- inventory
- priority
- medium
- specialization
- logistics
SKILL.md
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
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-tools
Central utility skill for GSD operations. Provides config parsing, slug generation, timestamps, path operations, and orchestrates calls to other specialized skills. Acts as the unified entry point that the original gsd-tools.cjs provided via its lib/ modules (commands, config, core, init).
model-profile-resolution
Resolve model profile (quality/balanced/budget) at orchestration start and map agents to specific models. Enables cost/quality tradeoffs by selecting appropriate AI models for each agent role.
verification-suite
Plan structure validation, phase completeness checks, reference integrity verification, and artifact existence confirmation. Provides the structured verification layer ensuring GSD artifacts are well-formed and complete.
state-management
STATE.md reading, writing, and field-level updates. Provides cross-session state persistence via .planning/STATE.md with structured fields for current task, completed phases, blockers, decisions, and quick tasks.
git-integration
Git commit patterns, formats, and conventions for GSD methodology. Provides atomic commits per task, structured commit messages, planning file commits, branch management, and milestone tag operations.
frontmatter-parsing
YAML frontmatter parsing and manipulation for .planning/ documents. Provides read, write, update, query, and validation operations on frontmatter blocks in GSD markdown artifacts.
Didn't find tool you were looking for?