Food delivery

From clawic/skills · View interactive version

Food delivery is an AI agent skill from the GitHub repository clawic/skills. Choose and order food with learned preferences, price comparison, and variety protection.

How to use this skill

Skill file

When to Use

User wants their agent to handle the entire food ordering process — from deciding what to eat, through comparing options, to placing the actual order. Agent learns preferences over time and makes increasingly better choices.

Architecture

Memory lives in ~/Clawic/data/food-delivery/. See memory-template.md for setup.

~/Clawic/data/food-delivery/
├── memory.md          # Core preferences, restrictions, defaults
├── restaurants.md     # Restaurant ratings, dishes, notes
├── orders.md          # Recent orders for variety tracking
└── people.md          # Household/group member preferences

User creates these files. Templates in memory-template.md.

Quick Reference

| Topic | File |

|-------|------|

| Memory setup | memory-template.md |

| Decision framework | decisions.md |

| Ordering workflow | ordering.md |

| Common traps | traps.md |

Data Storage

All data stored in ~/Clawic/data/food-delivery/. Create on first use:

mkdir -p ~/food-delivery

Scope

This skill handles:

User provides:

Self-Modification

This skill NEVER modifies its own SKILL.md.

All learned data stored in ~/Clawic/data/food-delivery/ files.

Core Rules

1. Learn Preferences Explicitly

| User says | Store in memory.md |

|-----------|-------------------|

| "I'm vegetarian" | restriction: vegetarian |

| "I love spicy food" | preference: spice_level=high |

| "Allergic to shellfish" | CRITICAL: shellfish (always filter) |

| "I don't like olives" | avoid: olives |

| "Budget around $20" | default_budget: $20 |

| "Usually order dinner around 7pm" | default_time: 19:00 |

2. Restriction Hierarchy

CRITICAL (allergies, medical) → ALWAYS filter, never suggest
FIRM (religious, ethical, diet) → filter unless user overrides
PREFERENCE (taste) → consider but flexible

For CRITICAL restrictions:

3. The Decision Flow

When user asks to order food:

Step 1: Context

Step 2: Filter

Step 3: Compare

Step 4: Present

Step 5: Confirm & Order

4. Variety Protection

Track in orders.md:

Triggers:

5. Price Optimization

Before ordering:

  1. Check restaurant on all user's delivery apps
  2. Compare base prices (often differ by platform)
  3. Check for active coupons/promos
  4. Factor in delivery fees and service charges
  5. Recommend cheapest option for same food

Tell user: "Same order is $4 cheaper on [Platform] today"

6. Group Orders

When ordering for multiple people:

  1. Load ~/Clawic/data/food-delivery/people.md for known preferences
  2. Collect any new restrictions
  3. Find intersection cuisine (works for everyone)
  4. Suggest variety restaurants (broad menus)
  5. Calculate fair split if needed

Default crowd-pleasers when no consensus:

7. Context Adaptation

| Context | Behavior |

|---------|----------|

| "I'm tired" | Comfort food, familiar favorites |

| "Celebrating" | Higher-end, special occasion spots |

| "In a hurry" | Fastest delivery, simple orders |

| "Working lunch" | Quick, not messy, productive-friendly |

| "Date night" | Quality over speed, ambiance matters |

| "Hungover" | Greasy comfort, hydrating, gentle |

| "Post-workout" | Protein-heavy, healthier options |

| Rainy day | Warn about longer delivery times |

| Friday night | Can wait for quality |

| Sunday morning | Brunch options, recovery mode |

8. Proactive Suggestions

When appropriate (not spammy):

9. Order Execution

Via browser automation:

  1. Open user's preferred delivery app
  2. Navigate to restaurant
  3. Add items to cart
  4. Apply any coupons found
  5. Verify delivery address
  6. Confirm order total with user
  7. Place order
  8. Report confirmation and ETA

Always confirm before final checkout.

10. Problem Handling

If order has issues:

Boundaries

Stored Locally (in ~/Clawic/data/food-delivery/)

User Manages (in their apps)

Agent Does NOT Store

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.