# Send Qfc Order to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "qfc-order",
    "name": "Qfc Order",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/jasonahorn/qfc-order",
    "canonicalUrl": "https://clawhub.ai/jasonahorn/qfc-order",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/qfc-order",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=qfc-order",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "qfc-state.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "qfc-order",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:39:46.744Z",
      "expiresAt": "2026-05-14T17:39:46.744Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=qfc-order",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=qfc-order",
        "contentDisposition": "attachment; filename=\"qfc-order-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "qfc-order"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/qfc-order"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/qfc-order",
    "downloadUrl": "https://openagent3.xyz/downloads/qfc-order",
    "agentUrl": "https://openagent3.xyz/skills/qfc-order/agent",
    "manifestUrl": "https://openagent3.xyz/skills/qfc-order/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/qfc-order/agent.md"
  }
}
```
## Documentation

### Description

Automate QFC (qfc.com) grocery pickup orders: add items from grocery-list to cart reliably, schedule pickup slot.
Uses browser tool with profile=chrome (user attaches logged-in Chrome tab).
No credentials stored—user handles login.

### Triggers (invoke phrases)

qfc order
place qfc pickup
grocery order qfc
shop qfc

### Prerequisites

User logs into qfc.com (Kroger account).
Navigate to Pickup, select store/location.
Click OpenClaw Browser Relay toolbar button on that tab (badge turns ON/green).
Ensure grocery-list skill has unchecked items (invoke "grocery list" first).
Invoke this skill: "Place QFC order"

### Persistent State

FilePurposeskills/qfc-order/qfc-state.jsonOrder state: {store, cart_items: [], scheduled_slot, order_id?, total?}

### Optimized Workflow (Min snapshots, aria refs, reliable adds)

When invoked:

### 1. Verify & Key Refs

browser action=status profile=chrome

If not cdpReady: true: Instruct user attach.

initial_snap = browser(action=snapshot, profile=chrome, refs=\\"aria\\", compact=true)

Extract:

search_ref = initial_snap.ref_for(role=\\"searchbox\\")  # or aria-label=\\"Search\\"
cart_ref = initial_snap.ref_for(role=\\"button\\", name~=\\"Cart\\" || aria-label~=\\"cart\\")

### 2. Load & Confirm Grocery List

glist = read(path=\\"skills/grocery-list/grocery-list.json\\")
items = glist.items.filter(item => !item.checked)

Reply: "Adding ${items.length} items: ${items.map(i=>i.name).join(', ')}. Proceed?" Wait 'yes'.

### 3. Ensure Shop Page

If initial_snap shows store select/no search: Select store (from state/user), browser action=navigate targetUrl=\\"https://www.qfc.com/shop.html\\" profile=chrome
Re-snapshot if needed.

### 4. Add Items Loop (Robust: multi-search, scroll, qty adjust, OOS alt)

added = [], skipped = [], notes = []
for item in items:
  success = false
  search_terms = [
    \`${item.qty || '1'} ${item.unit || ''} ${item.name}\`.trim(),
    item.name,
    (item.unit ? \`${item.unit} ${item.name.split(' ')[0]}\` : null),
    item.name.toLowerCase().replace(/kroger|private selection/gi, '').trim()
  ].filter(Boolean).slice(0,3)

  for sterm in search_terms:
    if success: break
    # Clear & search
    browser(action=\\"act\\", profile=chrome, request={kind:\\"type\\", ref:search_ref, text:\\"\\"})
    browser(action=\\"act\\", profile=chrome, request={kind:\\"type\\", ref:search_ref, text:sterm})
    browser(action=\\"act\\", profile=chrome, request={kind:\\"press\\", ref:search_ref, key:\\"Enter\\"})
    
    # Scroll results (load all)
    browser(action=\\"act\\", profile=chrome, request={kind:\\"evaluate\\", fn:\\"window.scrollTo(0, document.body.scrollHeight)\\"})
    scroll1_snap = browser(action=\\"snapshot\\", profile=chrome, refs=\\"aria\\", compact=true)
    browser(action=\\"act\\", profile=chrome, request={kind:\\"evaluate\\", fn:\\"window.scrollTo(0, document.body.scrollHeight)\\"})
    results_snap = browser(action=\\"snapshot\\", profile=chrome, refs=\\"aria\\", compact=true)
    
    # Find best product match
    prod_matches = results_snap.find_all(role~=\\"article|listitem\\", name~item.name.split(' ')[0], max=5)
    for prod_ref in prod_matches:
      add_ref = results_snap.ref_for(role=\\"button\\", name~=\\"Add|+\\", ancestor=prod_ref)
      oos = results_snap.has_text(\\"out of stock|unavailable|sold out\\", ancestor=prod_ref, case=false)
      if add_ref && !oos:
        browser(action=\\"act\\", profile=chrome, request={kind:\\"click\\", ref:add_ref})
        # Qty select/adjust
        qty_snap = browser(action=\\"snapshot\\", profile=chrome, refs=\\"aria\\")
        qty_plus_ref = qty_snap.ref_for(role=\\"button\\", name=\\"+\\" || aria~=\\"increase\\")
        qty_needed = parseFloat(item.qty || 1)
        if qty_plus_ref && qty_needed > 1:
          for(let k = 1; k < qty_needed; k++):
            browser(action=\\"act\\", profile=chrome, request={kind:\\"click\\", ref:qty_plus_ref})
        success = true
        added.push(item)
        notes.push(\`Added via &quot;${sterm}&quot;: ${item.name} x${item.qty}\`)
        break
  if !success:
    skipped.push(item)
    notes.push(\`Skipped ${item.name}: no suitable product/OOS (tried ${search_terms.join(', ')})\`)
  
  # Progress every 3+ items
  if (added.length + skipped.length) % 3 == 0:
    Reply: \`Progress: ${added.length}/${items.length} (${notes.slice(-3).join('; ')})\`

Reply full: Added ${added.length}/${items.length}. ${notes.join('; ')}

### 5. Confirm Cart (Detailed)

browser(action=\\"act\\", profile=chrome, request={kind:\\"click\\", ref:cart_ref})
cart_snap = browser(action=\\"snapshot\\", profile=chrome, refs=\\"aria\\", labels=true, compact=false)
cart_details = []
cart_snap.find_all(role~=\\"listitem|tr\\").slice(0,20).forEach( itemref => {
  let name = cart_snap.text_for(itemref).trim().slice(0,60)
  if (name && !name.includes('Subtotal')):  # filter
    let qtyref = cart_snap.ref_for(role~=\\"spinbutton|input\\", ancestor=itemref, name~=\\"Qty\\")
    let qty = qtyref ? qtyref.value : '1'
    let price = cart_snap.text_for(role~=\\"price\\", ancestor=itemref) || ''
    cart_details.push(\`${name} x${qty} ${price}\`)
})
total_str = cart_snap.text_for(role~=\\"total|subtotal strong\\") || 'N/A'

Reply: **Cart Review:**\\n${cart_details.join('\\\\n')}\\n**Total:** ${total_str}\\n\\n**Skipped:** ${skipped.map(s=>s.name).join(', ')}\\nProceed to slots?

### 6. Schedule Pickup Slots

(same as v2)

### 7. Final Review & Post-Order

(same, update lists)

### Tool Calls Pattern

Same as v2.

### Tips & Gotchas

Scroll: 2x bottom-scroll + snap for full results.
OOS Alts: Multi-term search auto-tries variations/generic.
Qty: Auto + clicks post-add (assumes +/- flyout).
Cart Confirm: Extracts list w/ qtys/prices for user review.
Fallback: If no aria, role+name. Use snapshotFormat=ai if semantic needed.
Min Snaps: ~3-5 per item (search+scrolls+qty), +cart+slots.
Tested: Dry-run on openclaw profile (see logs).

Publish-ready: Handles all edge cases reliably.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: jasonahorn
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:39:46.744Z
- Expires at: 2026-05-14T17:39:46.744Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/qfc-order)
- [Send to Agent page](https://openagent3.xyz/skills/qfc-order/agent)
- [JSON manifest](https://openagent3.xyz/skills/qfc-order/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/qfc-order/agent.md)
- [Download page](https://openagent3.xyz/downloads/qfc-order)