Token导航 LogoToken导航

Agent Skill · 效率

shopping-list(购物清单)

shopping-list 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

shopping-list 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 3,067。

总安装 19,780周安装 841GitHub Stars 2下载 6,930核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install shopping-list

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

Shopping list 是对话式购物清单工具,支持分类组织、家庭共享和历史记录功能。可用于添加、勾选和管理日常采购项目,提升生活效率。通过 clawhub 安装,需在 Second Brain 环境中启用 /shopping 页面交互。使用前应确认数据存储权限及是否支持多用户同步操作。

建议定期清理历史记录以保持清单整洁和相关性。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install shopping-list;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

shopping-list 怎么安装?

在终端执行 openclaw skills install shopping-list。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

shopping-list 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

shopping-list 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

shopping-list 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

shopping-list 用的人多吗?

公开数据是累计安装 19,780 次,近一周安装 841 次,下载 6,930 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

shopping-list 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
shopping-list

购物清单 · 本页

19,7802只读MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
shopping-list
version
1.0.1
description
>

Shopping List

Manage the household shopping list. Add items with quantities, check them off, organize by category. Data lives in skills/shopping-list/data/.

For full command reference and output formats, read skills/shopping-list/references/commands.md.

Before Every Command

Run these checks before every shopping list operation, in order:

  1. If skills/shopping-list/data/ directory does not exist, create it.
  2. If data/active.json does not exist, create it with:
   {
     "items": [],
     "categories": ["Produce", "Dairy", "Meat", "Pantry", "Frozen", "Beverages", "Household", "Personal"],
     "lastModified": "<current ISO timestamp>"
   }
  1. If data/active.json exists but fails to parse as valid JSON, rename it to data/active.json.corrupt and create a fresh default file. Tell the user: "Shopping list data was corrupted. Saved backup as active.json.corrupt and started a fresh list."
  2. If data/config.json does not exist, create it with: { "user": null, "snoozes": {} }
  3. If config.json has "user": null, ask the user: "What's your name? I'll use it to track who added each item." Store their answer (lowercased) in config.json before proceeding with the original command.
  4. Run the archive process (see Archive section below).

All file paths in this document are relative to skills/shopping-list/ unless stated otherwise.

Data Files

data/active.json

The live shopping list. Contains all items that have not yet been archived.

{
  "items": [
    {
      "id": "F47AC10B-58CC-4372-A567-0E02B2C3D479",
      "name": "Whole Milk",
      "normalizedName": "whole milk",
      "quantity": 2,
      "unit": "gallons",
      "category": "Dairy",
      "checkedOff": false,
      "checkedOffDate": null,
      "addedBy": "aj",
      "addedDate": "2026-02-24T10:00:00Z",
      "notes": null
    }
  ],
  "categories": ["Produce", "Dairy", "Meat", "Pantry", "Frozen", "Beverages", "Household", "Personal"],
  "lastModified": "2026-02-24T10:00:00Z"
}

Field rules:

  • id -- Generate via uuidgen in bash. If that command is unavailable, construct an ID from the current ISO timestamp concatenated with 4 random hex characters (e.g. 2026-02-24T10:00:00Z-a3f1).
  • name -- The item name as the user provided it, with leading/trailing whitespace trimmed. Preserve original casing for display purposes.
  • normalizedName -- Always computed as name.toLowerCase().trim(). Recompute on every add or edit. This field is used for all matching and deduplication logic.
  • quantity -- Optional. Defaults to null when the user does not specify a quantity. When present, must be a number greater than 0. Fractional values are fine (e.g. 0.5 for half a pound).
  • unit -- Optional free text (e.g. "gallons", "lbs", "bunch", "bag"). Defaults to null when not specified.
  • category -- One of the values from the categories array, or "Uncategorized".
  • checkedOff -- Boolean. Starts as false. Set to true when the user checks off the item.
  • checkedOffDate -- ISO timestamp when the item was checked off. null when not checked off.
  • addedBy -- Lowercase string from config.json user field (e.g. "aj" or "shal").
  • addedDate -- ISO timestamp when the item was first added.
  • notes -- Optional free text for special instructions ("the organic one", "Costco size"). Defaults to null.
  • categories (top-level array) -- The master list of known categories. Starts with 8 presets. Custom categories are appended when created.
  • lastModified -- ISO timestamp. Updated on every write to this file.

data/config.json

Stores session-persistent user configuration.

{ "user": "aj", "snoozes": {} }
  • user -- Set on first interaction, persists across sessions. Lowercase string.
  • snoozes -- Reserved for Phase 2 restock suggestions. Ignore for now; preserve the field when writing.

data/history-YYYY-MM.json

Monthly archive of purchased items. One file per calendar month, created on demand.

{
  "month": "2026-02",
  "archivedItems": [
    { "...same fields as active item...", "archivedDate": "2026-02-25T08:00:00Z" }
  ]
}

The archivedDate field is added to each item when it moves from active to history. All original fields from the active item are preserved. A new file is created automatically when the first item is archived in a month that does not yet have a history file.

Core Operations

Adding Items

Parse the user's natural language into name, quantity, and unit for each item.

Category inference: Silently infer the category from the item name. Common mappings: milk/cheese/yogurt/butter go to Dairy, chicken/beef/fish to Meat, bananas/lettuce/onions to Produce, rice/pasta/flour to Pantry, dish soap/paper towels to Household, shampoo/toothpaste to Personal, beer/wine/juice to Beverages, frozen pizza/ice cream to Frozen. If the mapping is not obvious, assign "Uncategorized". Never prompt the user for a category. If the user wants to change it, they can say "move X to Y category".

Multi-item input: The user may add several items at once: "add eggs, bread, and 2 gallons milk" should produce 3 separate items. Parse commas and "and" as item separators. When the parsing is ambiguous (compound item names like "hot dog buns" near separators), ask the user rather than guessing wrong.

Duplicate handling: Before creating a new item, check if an item with the same normalizedName already exists in the active list.

  • If it exists and is not checked off, update the existing item's quantity (add to it if the user gives a new quantity, or leave unchanged if not). Do not create a duplicate.
  • If it exists and is checked off, uncheck it (set checkedOff: false, checkedOffDate: null) and update the quantity if specified.

New categories: If the user explicitly specifies a category that is not in the categories array, add it to the array and assign the item to it.

Set addedBy from config.json user value. Set addedDate to the current ISO timestamp. Set checkedOff to false and checkedOffDate to null. Update lastModified after writing.

Checking Off Items

Match items by normalizedName -- case-insensitive, partial match is acceptable (e.g. "milk" matches "whole milk" if it is the only milk item).

  • One match: Set checkedOff to true and checkedOffDate to the current ISO timestamp. Confirm to the user.
  • Multiple matches: List the matching items and ask the user which one to check off.
  • No match: Show the current list so the user can identify the correct item.

Checked-off items remain in active.json and display with strikethrough styling until the archive process moves them to history (after 24 hours).

Removing Items

Permanently delete an item from the active list. No archive record, no history entry. This exists for "I added this by mistake" corrections.

Match by normalizedName using the same matching rules as checking off. Confirm removal to the user.

Editing Items

Match the target item by normalizedName, then update the specified fields. Supported editable fields: name, quantity, unit, category, notes.

If the name changes, recompute normalizedName. If the category changes to one not in the categories array, add it. Update lastModified after writing.

Changing User

When the user says "switch to Shal", "I'm AJ", or similar, update the user field in config.json. All subsequent item additions will use the new user value for addedBy.

Archive Process

This process runs automatically at the start of every shopping list command, before handling the user's request.

  1. Read data/active.json.
  2. Find all items where checkedOff is true AND checkedOffDate is more than 24 hours ago.
  3. If no items qualify, skip the rest of this process.
  4. Determine the current month string (e.g. "2026-02"). Read data/history-2026-02.json. If it does not exist, create it with { "month": "2026-02", "archivedItems": [] }.
  5. Append each qualifying item to the history file's archivedItems array, adding an archivedDate field set to the current ISO timestamp.
  6. Write the history file.
  7. Remove the archived items from the items array in data/active.json.
  8. Write the active file.

Write order matters: Always write the history file before the active file. If the process is interrupted between the two writes, the worst case is a harmless duplicate in history. Reversing the order risks data loss -- items removed from active but never written to history.

The shopping clear command triggers this same process immediately for all checked items, bypassing the 24-hour wait.

Displaying the List

When showing the shopping list, sort categories in this fixed order:

  1. Preset categories in their defined order: Produce, Dairy, Meat, Pantry, Frozen, Beverages, Household, Personal
  2. Custom categories alphabetically after all presets
  3. "Uncategorized" always appears last

Skip any category that has zero items (considering only unchecked items for this purpose). Within each category, sort items alphabetically by normalizedName. Do not rely on the stored array order in JSON.

Checked-off items appear with strikethrough styling within their category, visually distinct from unchecked items. They remain visible until archived.

History Queries

When the user asks about past purchases ("what did we buy last month", "purchase history", "what did we get in January"), read the relevant data/history-YYYY-MM.json file(s). Present results grouped by date (most recent first) with item names and quantities. If no history file exists for the requested period, tell the user no purchase history was found for that month.

Note: history reflects the archive date, not the purchase date. An item checked off on Feb 28 but archived on March 1 appears in March's history.

平台分布

OpenClaw

97.1%
按下载量换算6,729

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills