food402
БесплатноБез исполняемых скриптовНе проверенOrder food from TGO Yemek (Trendyol GO), Turkey's leading food delivery service. Use when user wants to order food delivery in Turkey, browse restaurants…
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Food402 - TGO Yemek Food Delivery
Order food from Trendyol GO (TGO Yemek), Turkey's leading food delivery service. This skill enables complete food ordering: browse restaurants, view menus, customize items, manage cart, and checkout with 3D Secure payment.
Setup
OpenClaw
Add the following to your ~/.openclaw/openclaw.json:
{
"skills": {
"entries": {
"food402": {
"enabled": true,
"env": {
"TGO_EMAIL": "[email protected]",
"TGO_PASSWORD": "your-tgo-password",
"GOOGLE_PLACES_API_KEY": "your-google-api-key"
}
}
}
}
}
Claude Code / Cursor / Codex / Gemini CLI
Set environment variables in your shell profile (~/.bashrc, ~/.zshrc, etc.):
export TGO_EMAIL="[email protected]"
export TGO_PASSWORD="your-tgo-password"
export GOOGLE_PLACES_API_KEY="your-google-api-key" # Optional: for Google Reviews
Then reload your shell or run source ~/.zshrc (or equivalent).
Authentication
The skill automatically handles authentication. When making API calls:
- Run
{baseDir}/scripts/auth.sh get-tokento get a valid JWT - The script caches tokens in
/tmp/food402-tokenwith automatic refresh (60s buffer before expiry) - If any API call returns 401, clear the token with
{baseDir}/scripts/auth.sh clear-tokenand retry
Manual authentication check:
{baseDir}/scripts/auth.sh check-token
Required Workflow
IMPORTANT: You MUST follow this order:
- select_address - REQUIRED first step (sets delivery location for cart)
- get_restaurants or search_restaurants - Browse/search restaurants
- get_restaurant_menu - View a restaurant's menu
- get_product_details - Check customization options (if needed)
- add_to_basket - Add items to cart
- checkout_ready - Verify cart is ready for payment
- place_order - Complete the order with 3D Secure
If add_to_basket fails, try clear_basket first then retry.
Address Management Operations
get_addresses
Get user's saved delivery addresses. Call this first to show available addresses.
TOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s "https://api.tgoapis.com/web-user-apimemberaddress-santral/addresses" \
-H "Authorization: Bearer $TOKEN" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" | jq
Response fields: id, addressName, addressLine, neighborhoodName, districtName, cityName, latitude, longitude
select_address
MUST be called before browsing restaurants or adding to basket. Sets the shipping address for the cart.
Parameters:
addressId(required): Address ID from get_addresses
TOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s -X POST "https://api.tgoapis.com/web-checkout-apicheckout-santral/shipping" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" \
-d '{"shippingAddressId": {addressId}, "invoiceAddressId": {addressId}}'
add_address
Add a new delivery address. Use get_cities → get_districts → get_neighborhoods to find location IDs first.
Parameters:
name(required): First namesurname(required): Last namephone(required): Phone without country code (e.g., "5356437070")addressName(required): Label (e.g., "Home", "Work")addressLine(required): Street addresscityId(required): From get_citiesdistrictId(required): From get_districtsneighborhoodId(required): From get_neighborhoodslatitude(required): Coordinate stringlongitude(required): Coordinate stringapartmentNumber,floor,doorNumber,addressDescription(optional)elevatorAvailable(optional): boolean
TOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s -X POST "https://api.tgoapis.com/web-user-apimemberaddress-santral/addresses" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" \
-d '{
"name": "{name}",
"surname": "{surname}",
"phone": "{phone}",
"addressName": "{addressName}",
"addressLine": "{addressLine}",
"cityId": {cityId},
"districtId": {districtId},
"neighborhoodId": {neighborhoodId},
"latitude": "{latitude}",
"longitude": "{longitude}",
"countryCode": "TR",
"elevatorAvailable": false
}' | jq
Note: If response is 429, OTP verification is required. Direct user to add the address at tgoyemek.com instead.
get_cities
Get list of all cities for address selection.
TOKEN=$({baseDir}/scripts/auth.sh get-token)
curl -s "https://api.tgoapis.com/web-user-apimemberaddress-santral/cities" \
-H "Authorization: Bearer $TOKEN" \
-H "x-correlationid: $(uuidgen)" \
-H "pid: $(uuidgen)" \
-H "sid: $(uuidgen)" | jq '.cities[
Установить food402 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл food402?
Order food from TGO Yemek (Trendyol GO), Turkey's leading food delivery service. Use when user wants to order food delivery in Turkey, browse restaurants, search for foods, manage delivery addresses, check order history, or checkout with 3D Secure payment.
Как установить скилл food402?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл food402 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub