Logo Specs Liquor Prices

Specs Liquor Prices

Cộng đồng
scavio-ai
specs-liquor-prices

API giá rượu của Spec's: tìm kiếm tại Spec's Wines, Spirits & Finer Foods ở Texas, lấy giá và tình trạng còn hàng của một sản phẩm tại mọi cửa hàng Spec's chỉ trong một lần gọi, và liệt kê cửa hàng theo khu vực. 3 endpoint, mỗi endpoint tốn 5 credit.

Tổng quan

Nhà phát hànhscavio-ai
Kho mãskills
Tên kỹ năngspecs-liquor-prices
Sao
67
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được scavio-ai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Specs Liquor Prices trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/scavio-ai/skills/tree/main/skills/specs-liquor-prices
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/scavio-ai/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/specs-liquor-prices .claude/skills/specs-liquor-prices
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Specs Liquor Prices trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Specs Liquor Prices ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Specs Liquor Prices với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Spec's Liquor Prices API - Every Texas Store, Search, Store Locator

Search Spec's Wines, Spirits & Finer Foods, the Texas liquor chain, and get a product's price and stock at every Spec's store in one call. A store locator maps store numbers to addresses by region. All endpoints return structured JSON.

When to trigger

Use this skill when the user asks to:

  • Find wine, spirits or beer at Spec's by keyword or brand
  • Check what a bottle costs at a specific Spec's store, or which store is cheapest
  • Compare Spec's prices across stores or against other liquor retailers
  • Find Spec's stores in a Texas region (Austin, Corpus Christi, Dallas, El Paso, Fort Worth, Houston, San Antonio)
  • Monitor Spec's prices, promotions or stock

Setup

Get a free API key at scavio.dev (50 free credits to get started, no card required):

bash
export SCAVIO_API_KEY=sk_live_your_key

If you do not have a key yet

An agent running this skill without SCAVIO_API_KEY set will get 401 on every call below. The whole path from nothing to a working key is self-serve:

  1. Sign up at dashboard.scavio.dev - email or Google, no card required.
  2. A key is created for the account automatically at signup. It is on the dashboard under API Keys, ready to copy.
  3. A new account starts with 50 credits. Every endpoint in this skill costs 5 credits.

When the balance runs out the API answers 402 with a JSON body carrying billing_url. Topping up needs no code change - the same key keeps working.

Every request is a POST with a JSON body and:

Authorization: Bearer $SCAVIO_API_KEY

Endpoints

Base URL: https://api.scavio.dev. All Spec's endpoints cost 5 credits.

EndpointCreditsWhat it returns
POST /api/v1/specs/search5Search results with the online price (cents), case price and quantity, promo and Keyclub flags, stock, size, SKU, UPC and slug
POST /api/v1/specs/product5One product with store_prices[] (every store's price and stock, about 200 stores), the online price, ABV, origin and tasting notes. Optional store_id
POST /api/v1/specs/stores5Stores in a region: store_id, name, status, address, phone, coordinates, hours

Workflow

  1. Search: call /specs/search with query. Each row has the online price and a slug.
  2. Every store's price: call /specs/product with the slug. store_prices[] has each store's price and in_stock.
  3. One store on top (optional): pass store_id to /specs/product. The top-level price and in_stock become that store's; available_at_store is false if it does not list the item.
  4. Map store numbers to places: call /specs/stores with a region.

Search returns the online price only. Store prices differ, so use the product call when the store matters.

Parameters

Search (/search)

ParameterTypeDefaultDescription
querystringrequiredKeywords (1-200 chars)
pageinteger11-based page, 24 results per page

Product (/product)

ParameterTypeDefaultDescription
slugstringone ofslug from search, e.g. titos-texas-vodka-5
product_urlstringone ofhttps://specsonline.com/shop/<type>/<slug>/
store_idstring-Store number from /stores, e.g. "169"

Stores (/stores)

ParameterTypeDefaultDescription
regionstringrequiredaustin, corpus-christi, dallas, el-paso, fort-worth, houston or san-antonio

Examples

bash
curl -X POST https://api.scavio.dev/api/v1/specs/product \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug": "titos-texas-vodka-5", "store_id": "169"}'

Captured response (store 169, Stone Oak; trimmed to 2 of 195 store_prices entries):

json
{
  "data": {
    "sku": "181081",
    "upc": "061994700003",
    "slug": "titos-texas-vodka-5",
    "name": "Tito's Handmade Vodka",
    "brand": "Tito's",
    "size": "1.75L",
    "abv": "40.00%",
    "origin": "United States",
    "url": "https://specsonline.com/shop/spirits/titos-texas-vodka-5/",
    "store_id": "169",
    "available_at_store": true,
    "price": 3260,
    "case_price": null,
    "case_quantity": null,
    "on_promo": false,
    "keyclub_offer": false,
    "in_stock": true,
    "online": {
      "price": 3155,
      "case_price": null,
      "case_quantity": null,
      "on_promo": false,
      "keyclub_offer": false,
      "in_stock": true
    },
    "store_count": 195,
    "store_prices": [
      {
        "store_id": "1",
        "price": 3155,
        "case_price": null,
        "case_quantity": null,
        "on_promo": false,
        "keyclub_offer": false,
        "in_stock": true
      },
      {
        "store_id": "2",
        "price": 3155,
        "case_price": null,
        "case_quantity": null,
        "on_promo": false,
        "keyclub_offer": false,
        "in_stock": true
      }
    ]
  },
  "response_time": 29059,
  "credits_used": 5
}
python
import requests

BASE = "https://api.scavio.dev"
# Your key from https://scavio.dev. Load it from your environment or secret
# store in real code - keep it out of source control.
API_KEY = "sk_your_key_here"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}

def specs(endpoint, body):
    r = requests.post(f"{BASE}/api/v1/specs/{endpoint}", headers=HEADERS, json=body)
    r.raise_for_status()
    return r.json()["data"]

# 1. Search (online prices, in cents)
rows = specs("search", {"query": "titos"})["products"]
slug = rows[0]["slug"]

# 2. Every store's price in one call, with store 169 on top
p = specs("product", {"slug": slug, "store_id": "169"})
print(p["name"], "store 169:", p["price"] / 100, "online:", p["online"]["price"] / 100)
cheapest = min((s for s in p["store_prices"] if s["in_stock"]), key=lambda s: s["price"])
print("cheapest in-stock store:", cheapest["store_id"], cheapest["price"] / 100)

# 3. Name the stores
stores = {s["store_id"]: s for s in specs("stores", {"region": "san-antonio"})["stores"]}
print(stores.get(cheapest["store_id"], {}).get("name"))

Response shapes

Every response uses the envelope { data, response_time, fetched_at, credits_used, credits_remaining }. Nothing is cached; fetched_at is when Spec's answered.

  • search - query, page, total_results, total_pages, count, products[] (position, code, sku, upc, slug, name, title, brand, size, category, category_group, subcategory, url, image, price, case_price, case_quantity, on_promo, keyclub_offer, in_stock).
  • product - sku, upc, slug, name, title, brand, size, proof, abv, type, varietal, origin, region, vintage, tasting_notes, description, url, images[], store_id, available_at_store, price, case_price, case_quantity, on_promo, keyclub_offer, in_stock, online {same price fields}, store_count, store_prices[] {store_id, price, case_price, case_quantity, on_promo, keyclub_offer, in_stock}, rating, review_count.
  • stores - region, count, stores[] (store_id, name, status, type, address, city, state, zip, phone, latitude, longitude, url, hours[] {day, open, close, closed}).

Guardrails

  • Prices are integers in cents: 3155 is $31.55.
  • Search prices are the online price. When the user asks about a store, use the product call and quote that store's price.
  • on_promo and keyclub_offer say a promotion or Keyclub member offer applies; the amount is not returned, so do not state one.
  • A region covers nearby towns too (san-antonio includes Kerrville, Boerne and San Marcos).
  • Never fabricate prices or store details. Only return what the API returned, with the product url.

Failure handling

  • 400 means a missing or invalid parameter (a region outside the 7, or a non-numeric store_id).
  • 401 means the API key is invalid or missing. Check SCAVIO_API_KEY.
  • 402 means the balance is out of credits. The body carries billing_url.
  • 404 on /product means no such product; re-run the search for a fresh slug.
  • 429 means rate or usage limit exceeded. Wait before retrying. See rate limits.
  • 502 means Spec's is temporarily unavailable. It is not charged; retry after a few seconds. Spec's pages are slow, so allow up to a minute per call.

SDKs

bash
pip install scavio==0.29.1
npm install scavio@0.29.1
js
import { Scavio } from "scavio";

const scavio = new Scavio(); // reads SCAVIO_API_KEY
const found = await scavio.specs.search({ query: "titos" });
const { data: p } = await scavio.specs.product({ slug: found.data.products[0].slug, store_id: "169" });
const stores = await scavio.specs.stores({ region: "san-antonio" });

MCP: the Scavio MCP server exposes all 3 endpoints as tools (search_specs, get_specs_product, get_specs_stores). Spec's is opt-in: add specs to SCAVIO_PLATFORMS.

json
{
  "mcpServers": {
    "scavio": {
      "command": "npx",
      "args": ["-y", "@scavio/mcp-server@0.27.1"],
      "env": {
        "SCAVIO_API_KEY": "sk_live_your_key",
        "SCAVIO_PLATFORMS": "default,specs"
      }
    }
  }
}

Docs

Full reference per endpoint: search, product, stores. Overview: Spec's API.

Câu hỏi thường gặp

Kỹ năng AI Specs Liquor Prices làm được gì?

API giá rượu của Spec's: tìm kiếm tại Spec's Wines, Spirits & Finer Foods ở Texas, lấy giá và tình trạng còn hàng của một sản phẩm tại mọi cửa hàng Spec's chỉ trong một lần gọi, và liệt kê cửa hàng theo khu vực. 3 endpoint, mỗi endpoint tốn 5 credit.

Vì sao nên dùng Specs Liquor Prices trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Specs Liquor Prices là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Specs Liquor Prices trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/scavio-ai/skills/tree/main/skills/specs-liquor-prices. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Specs Liquor Prices?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Specs Liquor Prices với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Specs Liquor Prices với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Specs Liquor Prices có miễn phí không?

Có. Kỹ năng này được scavio-ai phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇