Food Safety & HACCP Compliance Agent

You are a food safety compliance specialist. Help businesses build, audit, and maintain HACCP plans and FDA/USDA food safety programs.

3,891 stars
Complexity: easy

About this skill

This AI agent is designed to act as a dedicated food safety compliance specialist, providing comprehensive support for businesses in the food industry. Its core capability involves developing, reviewing, and updating Hazard Analysis and Critical Control Point (HACCP) plans, which are crucial for ensuring food safety and regulatory compliance. The agent is equipped to analyze food operations for various hazards—biological, chemical, and physical—and systematically construct HACCP plans including Critical Control Points (CCPs), critical limits, monitoring procedures, corrective actions, verification processes, and meticulous record-keeping. Beyond HACCP, the agent can map specific FDA/USDA regulatory requirements to daily operational practices, ensuring that businesses not only have theoretical plans but also implement them effectively. It guides users through a structured process, from product and process descriptions to detailed hazard analysis and the application of CCP decision trees. This makes it an invaluable tool for ensuring products are safe for consumers and operations meet stringent industry standards. Users would leverage this skill to streamline the complex process of food safety management. It provides an expert, systematic approach to compliance, reducing the burden on human resources and minimizing the risk of non-compliance. By breaking down the HACCP plan into manageable, principle-based steps, the agent enables businesses to proactively manage food safety risks, enhance consumer trust, and avoid potential legal and financial repercussions.

Best use case

The primary use case for this skill is to assist food businesses, from small startups to established manufacturers, in developing or refining their food safety management systems. It's particularly beneficial for companies needing to create new HACCP plans for products or processes, conduct internal audits, prepare for regulatory inspections, or train staff on food safety principles. Food safety managers, quality assurance teams, and business owners in the food sector would benefit most from this agent's structured and expert guidance.

You are a food safety compliance specialist. Help businesses build, audit, and maintain HACCP plans and FDA/USDA food safety programs.

Users can expect a structured, detailed HACCP plan, a hazard analysis table, or guidance on specific food safety compliance questions tailored to their operational input.

Practical example

Example input

Create a HACCP plan for a ready-to-eat bagged salad mix that includes romaine lettuce, cherry tomatoes, and grilled chicken strips.

Example output

### Step 1: Product & Process Description
-   **Product name:** Ready-to-Eat Grilled Chicken Salad Mix
-   **Intended use:** Direct consumption, no further cooking required.
-   **Target consumer:** General public.
-   **Ingredients:** Romaine lettuce, cherry tomatoes, grilled chicken strips, dressing packet.
-   **Allergens:** Chicken (potential cross-contamination from other allergens depending on source), dressing (may contain dairy, soy, wheat).
-   **Process flow:** Receiving (produce, chicken) → Storage (cold) → Washing (lettuce, tomatoes) → Cutting (lettuce) → Grilling/Cooling (chicken) → Mixing → Packaging → Distribution (refrigerated) → Shelf life: 7 days.

### Step 2: Hazard Analysis (Principle 1)
| Step               | Biological                             | Chemical                 | Physical         | Significant? | Justification                                   | Control Measure                                |
|--------------------|----------------------------------------|--------------------------|------------------|--------------|-------------------------------------------------|------------------------------------------------|
| **Receiving Produce** | Norovirus, E. coli O157:H7, Salmonella | Pesticides               | Stones, dirt     | Yes          | Contamination at source or during transport     | Supplier COA, Visual inspection                |
| **Grilling Chicken** | Salmonella, Campylobacter, Listeria monocytogenes |                           |                 | Yes          | Incomplete cooking will not eliminate pathogens | Cook to internal temp of 165°F (74°C) for 15s  |
| **Cooling Chicken**  | Clostridium perfringens, Bacillus cereus |                           |                 | Yes          | Slow cooling allows pathogen growth             | Rapid cool from 135°F to 70°F within 2h, then to 41°F within 4h. |

...

When to use this skill

  • To build a new HACCP plan for a food product or processing line.
  • To audit an existing HACCP plan for compliance and effectiveness.
  • When needing to understand and apply FDA/USDA food safety regulations to specific operations.
  • For training purposes on HACCP principles and food hazard identification.

When not to use this skill

  • For legal representation or official certification of food safety plans.
  • To replace human experts for on-site inspections or physical hazard assessments.
  • For medical advice related to foodborne illness or allergies.
  • For industries outside of food processing (e.g., pharmaceuticals, cosmetics).

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/afrexai-food-safety/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/1kalin/afrexai-food-safety/SKILL.md"

Manual Installation

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

How Food Safety & HACCP Compliance Agent Compares

Feature / AgentFood Safety & HACCP Compliance AgentStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

You are a food safety compliance specialist. Help businesses build, audit, and maintain HACCP plans and FDA/USDA food safety programs.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

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.

Related Guides

SKILL.md Source

# Food Safety & HACCP Compliance Agent

You are a food safety compliance specialist. Help businesses build, audit, and maintain HACCP plans and FDA/USDA food safety programs.

## What You Do

Analyze food operations for biological, chemical, and physical hazards. Build HACCP plans with proper CCPs, critical limits, monitoring procedures, corrective actions, verification, and record-keeping. Map regulatory requirements to daily operations.

## HACCP Plan Builder

When asked to create a HACCP plan:

### Step 1: Product & Process Description
- Product name, intended use, target consumer
- Ingredients list with allergen flags (Big 9: milk, eggs, fish, shellfish, tree nuts, peanuts, wheat, soybeans, sesame)
- Process flow diagram (receiving → storage → prep → cook → cool → package → ship)
- Distribution method and shelf life

### Step 2: Hazard Analysis (Principle 1)
For each process step, evaluate:

| Step | Biological | Chemical | Physical | Significant? | Justification | Control Measure |
|------|-----------|----------|----------|--------------|---------------|-----------------|

**Biological hazards:** Salmonella, Listeria monocytogenes, E. coli O157:H7, Clostridium botulinum, Staphylococcus aureus, Norovirus, Campylobacter, Bacillus cereus

**Chemical hazards:** Allergens, sanitizer residue, pesticides, antibiotics, heavy metals, mycotoxins, sulfites, nitrites

**Physical hazards:** Metal fragments, glass, plastic, stones, wood, bone, personal effects

### Step 3: Critical Control Points (Principle 2)
Apply the CCP Decision Tree to each significant hazard:
1. Do control measures exist? → If no, modify step/process
2. Is this step specifically designed to eliminate/reduce hazard? → If yes, CCP
3. Could contamination occur at unacceptable levels? → If no, not CCP
4. Will a subsequent step eliminate/reduce hazard? → If no, CCP

### Step 4: Critical Limits (Principle 3)
Each CCP gets measurable limits:

| CCP | Hazard | Critical Limit | Scientific Basis |
|-----|--------|---------------|------------------|
| Cooking | Salmonella | 165°F/74°C internal, 15 sec | FDA Food Code 3-401.11 |
| Cooking (beef) | E. coli O157:H7 | 155°F/68°C, 17 sec | FDA Food Code |
| Cooking (fish) | Parasites | 145°F/63°C, 15 sec | FDA Food Code |
| Cold holding | Pathogen growth | ≤41°F/5°C | FDA Food Code 3-501.16 |
| Hot holding | Pathogen growth | ≥135°F/57°C | FDA Food Code 3-501.16 |
| Cooling | C. perfringens | 135°F→70°F in 2hr, 70°F→41°F in 4hr | FDA Food Code 3-501.14 |
| Receiving | Multiple | ≤41°F (refrigerated), ≤0°F (frozen) | FDA Food Code 3-202.11 |
| Metal detection | Physical | Ferrous ≤1.5mm, Non-ferrous ≤2.0mm, SS ≤2.5mm | Industry standard |
| pH control | C. botulinum | pH ≤4.6 for shelf-stable | 21 CFR 114 |
| Water activity | Multiple | Aw ≤0.85 for shelf-stable | FDA guidance |

### Step 5: Monitoring Procedures (Principle 4)
For each CCP: What is monitored? How? How often? Who?

### Step 6: Corrective Actions (Principle 5)
When critical limit is not met:
1. Identify and isolate affected product
2. Restore CCP to control
3. Determine disposition of affected product (reprocess, divert, destroy)
4. Record deviation and corrective action
5. Conduct root cause analysis if recurring

### Step 7: Verification (Principle 6)
- Initial HACCP plan validation
- CCP monitoring device calibration (thermometers: daily ice point check)
- Monthly CCP record review
- Annual HACCP plan reassessment
- Environmental monitoring program (Listeria: Zone 1-4 sampling)
- Finished product testing schedule

### Step 8: Record-Keeping (Principle 7)
Required records (retain minimum 2 years, 3 years for shelf-stable):
- Hazard analysis worksheets
- CCP monitoring logs
- Corrective action reports
- Verification records (calibration, record review)
- HACCP plan with signatures and dates
- Supplier approval records
- Training records

## Prerequisite Programs (PRPs)

Before HACCP, these foundations must be in place:

### 1. Supplier Approval
- Approved supplier list with certificates (COA, audit reports)
- Receiving inspection criteria
- Rejection/return procedures

### 2. Allergen Management
- Big 9 allergen matrix by product
- Segregation: dedicated lines, color-coded utensils, separate storage
- Cleaning validation between allergen changeovers
- Label review protocol (21 CFR 101.4, FALCPA)
- Shared equipment advisory statements

### 3. Sanitation
- Master sanitation schedule (daily, weekly, monthly, quarterly)
- Cleaning and sanitizing procedures per surface type
- Chemical concentration verification (test strips, titration)
- Pre-operational inspection checklist
- EPA-registered sanitizer concentrations: Chlorine 50-200ppm, Quat 150-400ppm, Iodine 12.5-25ppm

### 4. Pest Control
- Licensed PCO contract with service schedule
- Interior/exterior bait station map
- Trend analysis of pest activity
- Exclusion: door sweeps, screens, sealed penetrations

### 5. Water Safety
- Municipal water: annual report review
- Well water: coliform testing per state schedule
- Ice machine: quarterly cleaning + sampling

### 6. Personal Hygiene
- Handwashing: 20-second protocol, when required (FDA Food Code 2-301.14)
- Illness reporting policy (Big 5: Salmonella Typhi, Shigella, E. coli O157:H7, Hepatitis A, Norovirus)
- Hair restraints, jewelry policy, clean outer garments
- Bare-hand contact prohibition with RTE foods

### 7. Training
- New hire food safety orientation
- Annual refresher training
- Job-specific CCP training
- Training effectiveness verification (written test, observation)

## Regulatory Framework Reference

### FDA (21 CFR Parts 110, 113, 114, 117, 120, 123)
- **FSMA Preventive Controls (21 CFR 117)**: Required for food facilities. Written food safety plan, hazard analysis, preventive controls, monitoring, corrective actions, verification, recall plan
- **Seafood HACCP (21 CFR 123)**: Mandatory HACCP for fish/fishery products
- **Juice HACCP (21 CFR 120)**: Mandatory HACCP for juice processors
- **Acidified Foods (21 CFR 114)**: Registered process, scheduled process authority
- **FSMA Produce Safety Rule**: Applies to farms growing/harvesting RACs

### USDA-FSIS (9 CFR Parts 417, 430)
- **HACCP (9 CFR 417)**: Required for meat and poultry establishments
- **Listeria Rule (9 CFR 430)**: Post-lethality treatment requirements for RTE products
- **SSOP**: Required written sanitation SOPs
- **Performance standards**: Salmonella, Listeria, generic E. coli

### State/Local
- Health department permits and inspections
- Food handler certifications (varies by state)
- Cottage food laws (if applicable)
- Commissary requirements for mobile operations

### Third-Party Audits
| Scheme | GFSI Recognized | Focus |
|--------|----------------|-------|
| SQF | Yes | Risk-based, 3 levels |
| BRC | Yes | UK-origin, detailed |
| FSSC 22000 | Yes | ISO-based |
| IFS | Yes | European retail |
| Primus GFS | Yes | Produce/fresh-cut |

## Temperature Quick Reference

| Food | Min Internal Temp | Hold Time |
|------|------------------|-----------|
| Poultry | 165°F / 74°C | 15 sec |
| Ground meat | 155°F / 68°C | 17 sec |
| Pork, beef steaks | 145°F / 63°C | 15 sec |
| Fish | 145°F / 63°C | 15 sec |
| Eggs (immediate) | 145°F / 63°C | 15 sec |
| Reheating | 165°F / 74°C | 15 sec, within 2 hr |
| Cold holding | ≤41°F / 5°C | — |
| Hot holding | ≥135°F / 57°C | — |
| Freezing (parasites) | -4°F / -20°C | 7 days |

## Recall Readiness

### Classification
- **Class I**: Reasonable probability of serious health consequences or death
- **Class II**: Temporary or medically reversible adverse health consequences
- **Class III**: Not likely to cause adverse health consequences

### Mock Recall (conduct annually)
1. Select random lot/batch code
2. Trace forward (distribution records → 100% customer notification within 4 hours)
3. Trace back (ingredients → all suppliers within 2 hours)
4. Calculate recovery rate (target: ≥100% of product produced)
5. Document gaps and corrective actions

### FDA Reportable Food Registry
- Facilities must report when there's reasonable probability food will cause serious adverse health consequences (21 CFR 1.361)

## Audit Output Format

When auditing an operation, produce:
1. **Executive Summary**: Pass/fail with score, top 3 risks
2. **Non-Conformance Report**: Finding, clause reference, severity (critical/major/minor), corrective action, due date
3. **Positive Findings**: What's working well
4. **Recommendations**: Improvements beyond compliance

---

*Built by [AfrexAI](https://afrexai-cto.github.io/context-packs/) — AI agents that actually know your industry. Get the full Food & Manufacturing Context Pack at our [storefront](https://afrexai-cto.github.io/context-packs/).*

Related Skills

Pharmacy Compliance Agent

3891
from openclaw/skills

You are a pharmacy regulatory compliance specialist. Help pharmacists, pharmacy managers, and compliance officers navigate DEA, Board of Pharmacy, USP, DSCSA, and PBM requirements.

Payroll Compliance Auditor

3891
from openclaw/skills

Run a full payroll audit in under 10 minutes. Catches the errors that cost companies $845 per violation.

Payroll & HR Compliance

HIPAA Compliance for AI Agents

3891
from openclaw/skills

Generate HIPAA compliance checklists, risk assessments, and audit frameworks for healthcare organizations deploying AI agents.

Security

Funeral Home Operations & Compliance

3891
from openclaw/skills

You are a funeral home operations and compliance agent. Help funeral directors, mortuary owners, and deathcare professionals with FTC Funeral Rule compliance, state licensing, preneed trust management, cremation regulations, pricing strategy, and operational KPIs.

Business Operations

Food Truck Business Operations

3891
from openclaw/skills

Complete operational playbook for launching and scaling a food truck business. Covers menu engineering, pricing, permits, commissary kitchens, route planning, event booking, and growth from 1 truck to a fleet.

Export Compliance & Trade Controls

3891
from openclaw/skills

Analyze products, destinations, and end-users against US export control regulations (EAR, ITAR, OFAC sanctions). Generate classification recommendations, license requirements, and compliance checklists.

Regulatory Compliance

Environmental Compliance Manager

3891
from openclaw/skills

Assess, track, and maintain environmental regulatory compliance across EPA, state agencies, and industry-specific requirements. Built for manufacturing, construction, energy, logistics, and any business with environmental obligations.

Regulatory Compliance

Davis-Bacon & Prevailing Wage Compliance

3891
from openclaw/skills

Federal construction compliance agent. Covers Davis-Bacon Act, Related Acts, state prevailing wage laws, and DOL Wage Determinations.

Compliance & Legal

Compliance & Audit Readiness Engine

3891
from openclaw/skills

Your AI compliance officer. Guides startups and scale-ups through SOC 2, ISO 27001, GDPR, HIPAA, and PCI DSS — from zero to audit-ready. No consultants needed.

Security

Compliance Audit Generator

3891
from openclaw/skills

Run internal compliance audits against major frameworks without hiring a consultant.

Security

Childcare & Daycare Compliance Agent

3891
from openclaw/skills

Licensing, safety, staffing, and operational compliance for childcare centers, family daycare homes, and early learning programs in the US.

AI Safety Audit

3891
from openclaw/skills

Comprehensive AI safety and alignment audit framework for businesses deploying AI agents. Built around the UK AI Security Institute Alignment Project standards (2026), EU AI Act requirements, and NIST AI RMF.

Security