Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

wine-archive葡萄酒档案馆

Agent Skill

wine-archive 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,134

周安装

174

GitHub Stars

1

下载量

1,448
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:wine-archive(葡萄酒档案馆)
来源仓库:https://github.com/sidvorak/wine-archive
安装命令:
openclaw skills install wine-archive
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install wine-archive

简介

使用自然语言查询和本地 SQLite 数据库中的持久图像存储来存储、调用和管理个人品酒和标签。

SKILL.md

Wine Archive

Personal wine archive for tasting history, label storage, and natural-language recall. Stores wines in a local SQLite database with a normalized schema: stable wine identities plus individual tasting/purchase instances. Integrates with Telegram via the OpenClaw bridge.

Trigger phrases

Use this skill when the user says things like:

  • "remember this wine", "log this bottle", "add a wine", "save this tasting"
  • "what wine did I have last week?", "show me my pinot noirs", "recall wines from Nugget"
  • "show the [wine name] label", "send me the Vinho Verde photo"
  • "show me the [wine name]", "tell me about the Broadbent"
  • "export my wine archive", "import wine data"

Setup (first time)

cd skills/wine-archive
zsh setup.sh

Or manually:

cd skills/wine-archive
npm install
npm run wine:init
cp .env.example .env   # add ANTHROPIC_API_KEY for LLM features

Data is stored in data/wine/wine.sqlite3 and label images in data/wine/labels/. Override the DB location with WINE_DB_PATH env var.

Core rules

  • Personal ratings use a 5-star scale.
  • Prefer new tasting instances over overwriting when the user re-tries a wine.
  • If it is ambiguous whether to update an existing instance or create a new one, ask.
  • Keep deterministic regex parsing as the source of truth; LLM parsing is assistive only.
  • Archived label images are durable — never rely on temporary inbound media paths.
  • On Telegram, use the bridge path for label recall rather than inline MEDIA: text.

Data model

Wine = stable identity

  • producer, wine_name, region, country, style, color, varietal
  • official_rating / official_rating_source
  • label image (default_source_image_path)

Wine instance = specific bottle / tasting event

  • vintage, price, currency, place_of_purchase
  • purchased_on, consumed_on
  • subjective_rating (5-star), notes
  • source_type (chat | image | manual)

Commands

Initialize DB:

npm run wine:init

Add from free text:

npm run wine:add -- --text "Had a Broadbent Vinho Verde from Minho. Bought at Nugget for $14. Rated 4/5."

Add structured:

npm run wine:add -- --wine_name "Broadbent Vinho Verde" --varietal "Loureiro" --region "Minho" \
  --style "vino verde" --color "white" --price 14 --place_of_purchase "Nugget" --consumed_on 2026-03-29

Add from label text + image:

npm run wine:add -- --label-text $'Broadbent\
Vinho Verde\
2024\
Minho Portugal\
Loureiro' \
  --image data/wine/labels/broadbent.jpg

Parse label without inserting:

npm run wine:parse-label -- --label-text $'Broadbent\
Vinho Verde\
2024\
Minho Portugal'

Query:

npm run wine:query -- --text "vinho verde"
npm run wine:query -- --varietal "Pinot Noir"
npm run wine:query -- --consumed_after 2026-03-24 --consumed_before 2026-03-31

Natural-language recall:

npm run wine:recall -- --text "show me wines from last week at Nugget"
npm run wine:recall -- --text "what pinot noir did I drink last month"
npm run wine:recall -- --text "find red wines rated at least 3"

Chat-facing flow (intent detection + dispatch):

npm run wine:chat -- --text "Remember this wine: Had a vinho verde last week. Rated 4/5."
npm run wine:chat -- --text "What was that vinho verde I had last week?"
npm run wine:chat -- --label-text $'Broadbent\
Vinho Verde\
2024\
Minho' --image data/wine/labels/broadbent.jpg

List recent entries:

npm run wine:list -- --limit 10

Remove an entry:

npm run wine:remove -- --id 42

Export archive:

npm run wine:export -- --out my-wines.json              # paths only
npm run wine:export -- --out my-wines.json --include-images  # embed label images as base64

Import archive:

npm run wine:import -- --in my-wines.json --dry-run    # preview only
npm run wine:import -- --in my-wines.json               # import

Telegram bridge (requires OpenClaw)

The bridge script resolves the wine chat request and outputs a structured JSON result. When action === "send-media", the agent sends the media using the openclaw CLI.

npm run wine:telegram-bridge -- --text "Show me the Vinho Verde label"

Example output when a label is found:

{
  "status": "ok",
  "action": "send-media",
  "reply": "Broadbent Vinho Verde label",
  "mediaPath": "./data/wine/labels/broadbent-abc123.jpg",
  "caption": "Vinho Verde label"
}

The agent then sends:

openclaw message send --channel telegram \
  --target <chat_id> --thread-id <thread_id> --reply-to <reply_to> \
  --media <mediaPath> --message <caption>

Shell helper (outputs JSON for the agent):

zsh scripts/wine-send-label-telegram.sh <chat_id> <thread_id> <reply_to> Vinho Verde

Response templates

Add / save confirmation

Added as a new wine instance:
- Broadbent Vinho Verde · 2024
- Nugget, $14.00 · consumed 2026-03-29
- rated 4/5

Update confirmation

Updated — rating: 3.5/5, consumed_on: 2026-04-02

Show a wine (canonical entry)

Broadbent — Vinho Verde
- region: Minho
- country: Portugal
- style: vino verde
- color: white
- varietal: Loureiro
[label image]

Show wine instances

Broadbent — Vinho Verde (2024)
- consumed: 2026-03-29
- rated: 4/5
- notes: crisp, slightly frizzante

Show a list of wines

- Vinho Verde
  producer: Broadbent
  year: 2024
  varietal: Loureiro
  style: vino verde

Recall by time window

Broadbent — Vinho Verde (2024)
- consumed: 2026-03-29
- rated: 4/5

Label response

Send the archived image with caption: Vinho Verde label

Clarification (ambiguous intent)

Do you want me to update the existing instance or create a new tasting instance?

Environment variables

VariableDefaultDescription
ANTHROPIC_API_KEYRequired when using an Anthropic model for LLM intent classification
OPENAI_API_KEYRequired when using an OpenAI model for LLM intent classification
WINE_DB_PATHdata/wine/wine.sqlite3Override DB location
WINE_LLM_INTENT_CLASSIFIER0Set to 1 to enable LLM intent classification (off by default; skill works fully offline without it)
WINE_LLM_INTENT_MODELopenai/gpt-4.1-miniModel for intent classification — use claude-haiku-4 for Anthropic, openai/gpt-4.1-mini for OpenAI
WINE_LLM_INTENT_MIN_CONFIDENCE0.65Minimum confidence to use LLM over regex

Platform notes

  • macOS: Full support including image normalization via sips.
  • Linux/Windows: Core features work. Image resizing is skipped (install ImageMagick

and adapt lib/wine-store.js normalizeImageInPlace for cross-platform resizing).

  • Node.js >= 22 required (node:sqlite built-in used in shared/interaction-store.js).

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

82.68%
按下载量换算1,197

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills