360 Secure SkillHub
360 安全技能中心

Anylist

该 Skill 通过 npm 全局安装的 anylist CLI 管理 AnyList 购物清单:可列出清单、查看(可只看未勾选)条目、按分类/数量添加商品、勾选、取消勾选、删除与清空已勾选条目,并支持 --json 结构化输出;使用前需用 anylist auth 或 ANYLIST_EMAIL/ANYLIST_PASSWORD 环境变量完成认证。

mjrussell
mjrussell
热度 72.30
最近更新 2026-05-11 15:48:49
分类:生活依赖:代码执行 / 第三方 API应用场景:购物 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add anylist
Metadata
name
anylist
description
Manage grocery and shopping lists via AnyList. Use when user asks about shopping lists, groceries, or adding/checking off items to buy.
homepage
https://www.anylist.com
metadata
{"clawdbot":{"emoji":"🛒","requires":{"bins":["anylist"]}}}

AnyList CLI

Manage grocery and shopping lists via AnyList.

Installation

npm install -g anylist-cli

Setup

# Authenticate interactively
anylist auth

# Or set environment variables for non-interactive use
export ANYLIST_EMAIL="your@email.com"
export ANYLIST_PASSWORD="your-password"

Commands

Lists

anylist lists              # Show all lists
anylist lists --json       # Output as JSON

Items

anylist items "Grocery"              # Show items in a list
anylist items "Grocery" --unchecked  # Only unchecked items
anylist items "Grocery" --json       # Output as JSON

Add Items

anylist add "Grocery" "Milk"
anylist add "Grocery" "Milk" --category dairy
anylist add "Grocery" "Chicken" --category meat --quantity "2 lbs"

Categories: produce, meat, seafood, dairy, bakery, bread, frozen, canned, condiments, beverages, snacks, pasta, rice, cereal, breakfast, baking, spices, seasonings, household, personal care, other

Manage Items

anylist check "Grocery" "Milk"      # Mark as checked
anylist uncheck "Grocery" "Milk"    # Mark as unchecked
anylist remove "Grocery" "Milk"     # Remove from list
anylist clear "Grocery"             # Clear all checked items

Usage Examples

User: "What's on the grocery list?"

anylist items "Grocery" --unchecked

User: "Add milk and eggs to groceries"

anylist add "Grocery" "Milk" --category dairy
anylist add "Grocery" "Eggs" --category dairy

User: "Check off the bread"

anylist check "Grocery" "Bread"

User: "Add ingredients for tacos"

anylist add "Grocery" "Ground beef" --category meat
anylist add "Grocery" "Taco shells" --category other
anylist add "Grocery" "Lettuce" --category produce
anylist add "Grocery" "Tomatoes" --category produce
anylist add "Grocery" "Cheese" --category dairy

Notes

  • List and item names are case-insensitive
  • If an item already exists, adding it again will uncheck it (useful for recipes)
  • Use --json for scripting and programmatic access