skills/rewe-order/SKILL.md
Use when ordering groceries from REWE Lieferservice, adding items to REWE cart, or reordering from a previous Flink shopping list. Requires user logged into rewe.de in Chrome with delivery slot selected.
npx skillsauth add razbakov/skills rewe-orderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Batch-add items to REWE Lieferservice cart via their internal API. All items added in ONE JavaScript call — no clicking buttons.
tabs_context_mcp)Navigate to any REWE product page, wait 2s, then:
const marketUuid = document.body.innerHTML.match(/\d+-[\w]+-([0-9a-f-]{36})/)?.[1];
(async () => {
const uuid = '<MARKET_UUID>';
const items = [
{search: 'Product Name 250g', qty: 1},
// ... all items — use German names with package size
];
const results = [];
for (const item of items) {
try {
// Search WITH cookies (critical — without credentials, no product data)
const html = await (await fetch(
`/shop/productList?search=${encodeURIComponent(item.search)}`,
{credentials: 'include'}
)).text();
// Extract product JSON block
const blocks = html.match(/\{"articleId":"[^"]+","availability[^}]+\}/g) || [];
const products = blocks.map(b => JSON.parse(b));
if (!products.length) { results.push({item: item.search, error: 'NOT_FOUND'}); continue; }
// Find full listingId
const artId = products[0].articleId;
const lid = html.match(new RegExp(`\\d+-${artId}-${uuid}`))?.[0];
if (!lid) { results.push({item: item.search, error: 'NO_LISTING'}); continue; }
// Add to cart
const r = await fetch(`/shop/api/baskets/listings/${lid}`, {
method: 'POST', credentials: 'include',
headers: {'content-type':'application/json','x-origin':'AddToBasketV2',
'x-application-id':'rewe-basket','Accept':'application/vnd.com.rewe.digital.basket-v2+json'},
body: JSON.stringify({quantity: item.qty, includeTimeslot: false, context: 'product-detail'})
});
results.push({item: item.search, price: products[0].price, status: r.status, ok: r.ok});
} catch(e) { results.push({item: item.search, error: e.message}); }
}
return results;
})()
Navigate to https://www.rewe.de/shop/checkout/basket, wait 3s, then:
const text = document.body.innerText;
({
count: text.match(/Produkte \((\d+)\)/)?.[1],
total: text.match(/Gesamtsumme\s*([\d,]+)\s*€/)?.[1]
})
| API | Method | Endpoint |
|-----|--------|----------|
| Search | GET | /shop/productList?search={query} (credentials: include) |
| Add to cart | POST | /shop/api/baskets/listings/{listingId} |
| Listing ID | — | {prefix}-{articleId}-{marketUuid} |
Cart API headers: content-type: application/json, x-origin: AddToBasketV2, x-application-id: rewe-basket, Accept: application/vnd.com.rewe.digital.basket-v2+json
Cart API body: {"quantity": N, "includeTimeslot": false, "context": "product-detail"} — quantity is absolute (not additive).
| Mistake | Fix |
|---------|-----|
| fetch() without credentials: 'include' | Server returns template HTML without product data |
| Vague search terms | Use German product name + package size (e.g. "Doritos Sweet Chili 110g") |
| Assuming all Flink products exist | REWE doesn't carry some brands (Iglo frozen meals, some fresh items) |
| Thinking quantity is additive | qty: 1 called twice = still 1 in cart |
Chain with /flink-order-history to replicate Flink orders:
/flink-order-history → get items from Gmailtools
--- name: handoff description: Get an agent past a browser/UI wall it can't (or must not) cross on its own — a login-gated dashboard, a CAPTCHA, a 2FA prompt, an API that keeps rejecting the write, or an irreversible click that policy says a human must make. This skill is an ESCALATION LADDER, not a first move: it tells you to try the automated browser surfaces FIRST (Chrome-in-Claude, computer-use, an autonomous browser sub-agent) and only fall back to the Handoff app — a wrapper browser that h
documentation
Summarize one or more YouTube videos from their links. Use this whenever the user pastes a youtube.com or youtu.be URL (or several) and wants to know what it's about — phrasings like "summarize to telegram", "tldr these videos", "what do these say", "summary of this talk", or just dropping links with no instruction at all. Fetches each video's real transcript via yt-dlp (not the page text, which never contains the transcript), cleans the captions, and writes a per-video summary. Default delivery is Telegram; honor any other surface the user names ("to my notes", "just here in chat", "email it"). Trigger even when the user only pastes bare links — bare YouTube links almost always mean "tell me what's in these".
data-ai
Daily Digest — Chief-of-Staff role consolidates the six top-managers into one Telegram message to the Commander, instead of six. Implements the protocol from agent-proactivity.md.
development
Seed a new or empty Instagram account with a 9-post grid (3×3) so the profile looks established the moment a new visitor lands. Designed for festivals, new businesses, product launches, conferences, communities — any time an empty IG profile would hurt conversion from external traffic (QR scans, flyer drops, cross-promo). Generates assets via /image-from-gemini (per content-publishing rules — never HTML), writes captions with hashtag sets, and outputs a posting order + cadence plan. Trigger generously: phrases like '9 posts for instagram', 'fill my IG', 'starter grid', 'launch grid', 'instagram seed', '9-post grid', 'IG account not to look empty', 'first instagram posts', 'feed bootstrap', '3x3 grid', 'instagram launch content'. Even if the user mentions only one piece (just the images, just the captions, just the order), use this skill — the grid only works as an integrated bundle.