360 Secure SkillHub
360 安全技能中心

shopping-memory

该技能通过 curl 调用 BlueColumn 记忆服务的写入、查询与记录接口,保存购物清单、购买地点和价格,并追溯上次购买信息,用于补货提醒与预算问答。需要 bc_live_* 格式的 API 密钥。

bluecolumnconsulting-lgtm
bluecolumnconsulting-lgtm
热度 8.60
最近更新 2026-08-01 09:00:15
分类:生活依赖:第三方 API / 代码执行应用场景:购物 / 个人理财

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add shopping-memory
Metadata
name
shopping-memory
description
Shopping memory that holds lists, purchases, prices, and "last time I bought X" so agents can help with errands, restocks, and budget questions. Use when an agent tracks household or business purchasing. Requires a BlueColumn API key (bc_live_*).

Shopping Memory — BlueColumn Skill

A shopping list only helps if it exists when you need it. This skill remembers what to buy, what was bought, where, and for how much — so the agent can answer "do we need coffee?" without a trip to the kitchen.

Add to the list

Capture items the moment they run out or come up.

curl -X POST https://xkjkwqbfvkswwdmbtndo.supabase.co/functions/v1/agent-remember \
  -H "Authorization: Bearer $BLUECOLUMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "SHOPPING: need printer ink (HP 63), coffee beans (light roast), dishwasher pods. Ink last bought Jul 1 at Staples, $42.", "title": "shopping - household run"}'

Check before you go

Pull the current list with any purchase history that informs the trip.

curl -X POST https://xkjkwqbfvkswwdmbtndo.supabase.co/functions/v1/agent-recall \
  -H "Authorization: Bearer $BLUECOLUMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "What is on the shopping list, and where did I last buy these items?"}'

## Track the purchase

After the trip, record what was bought, where, and the price to build a price memory.

```bash
curl -X POST https://xkjkwqbfvkswwdmbtndo.supabase.co/functions/v1/agent-note \
  -H "Authorization: Bearer $BLUECOLUMN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "BOUGHT: ink at Staples $42 (was $48 — sale), coffee at the local roaster, pods at Costco. Restock estimate: 6 weeks for ink.", "tags": ["shopping", "purchase"]}'

Shopping workflow

  1. Capture — add items to the list as they surface.
  2. Prepare — recall the full list and last-known prices before the trip.
  3. Record — log purchases with price and place.
  4. Restock — use purchase history to suggest what to buy next and when.

Docs

API reference: https://bluecolumn.ai/docs — fields are text, q, tags (not content/query/note).