一键导入
household
家庭物品整理 — 物品库存管理、位置标注、到期提醒、AI 智能添加/分析、小票 OCR 识别。触发:整理物品、添加物品、库存管理、物品快过期、收纳整理
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
家庭物品整理 — 物品库存管理、位置标注、到期提醒、AI 智能添加/分析、小票 OCR 识别。触发:整理物品、添加物品、库存管理、物品快过期、收纳整理
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
聊天室 — 创建房间、实时聊天、AI 机器人(10种预设角色+TTS语音)、图片/视频上传。触发:创建聊天室、聊天、加AI机器人、聊天室
生活记账 — 创建账本、记录收支、分类管理、统计分析、AI 语音记账。触发:记账、花了多少钱、今日开销、月度统计、添加支出、语音记账
粘贴板 — 创建/查看代码片段分享,支持文件上传、分片上传、代码分析、安全扫描。触发:分享代码、粘贴代码、上传文件、分享文本、pastebin
档案照片墙 — 分类照片管理、时间线聚合、分享链接、批量下载ZIP。触发:照片墙、上传照片、相册、家庭相册
事项管理 — 创建/查看/更新/删除工作与生活任务,支持 AI 解析、会议纪要、日历下载、时间线回顾。触发:记录事情、添加任务、事项管理、会议记录、今日计划
科学上网线路管理 — 查看节点、切换线路、测速。当用户请求切换代理线路、查看代理状态、管理科学上网节点时使用此技能。
| name | household |
| description | 家庭物品整理 — 物品库存管理、位置标注、到期提醒、AI 智能添加/分析、小票 OCR 识别。触发:整理物品、添加物品、库存管理、物品快过期、收纳整理 |
| triggers | ["整理物品","库存管理","添加物品","物品整理","收纳","household"] |
通过 DevTools 后端 API 管理家庭物品库存、位置和到期提醒。后端默认运行在 https://t.jaxiu.cn。
初始化后会获得 token(存储在前端 localStorage),所有操作需要 token。
curl -s -X POST https://t.jaxiu.cn/api/household/init \
-H "Content-Type: application/json" \
-d '{}'
# 返回: {"token":"xxx"}
curl -s -X POST https://t.jaxiu.cn/api/household/items \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"name": "洗衣液",
"category": "日用品",
"quantity": 2,
"unit": "瓶",
"location": "阳台柜子",
"expire_date": "2027-01-01",
"min_stock": 1,
"notes": "蓝月亮薰衣草味"
}'
常用 category: 食品饮料、日用品、药品、化妆品、衣物、电子、文具、其他
# 全部物品
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx"
# 按分类筛选
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx&category=日用品"
# 按位置筛选
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx&location=阳台柜子"
# 低库存提醒
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx&low_stock=true"
# 即将过期
curl -s "https://t.jaxiu.cn/api/household/items?token=xxx&expiring=true"
# 使用物品(减少库存)
curl -s -X POST https://t.jaxiu.cn/api/household/items/{item_id}/use \
-H "Content-Type: application/json" \
-d '{"token":"xxx","quantity":1}'
# 补充物品(增加库存)
curl -s -X POST https://t.jaxiu.cn/api/household/items/{item_id}/restock \
-H "Content-Type: application/json" \
-d '{"token":"xxx","quantity":2}'
# 开封物品
curl -s -X POST https://t.jaxiu.cn/api/household/items/{item_id}/open \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 更新
curl -s -X PUT https://t.jaxiu.cn/api/household/items/{item_id} \
-H "Content-Type: application/json" \
-d '{"token":"xxx","name":"新名称","quantity":5,"location":"新位置"}'
# 删除
curl -s -X DELETE "https://t.jaxiu.cn/api/household/items/{item_id}?token=xxx"
curl -s -X POST https://t.jaxiu.cn/api/household/templates \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"name": "牛奶",
"category": "食品饮料",
"unit": "盒",
"default_location": "冰箱",
"min_stock": 3,
"expire_days": 7
}'
curl -s "https://t.jaxiu.cn/api/household/templates?token=xxx"
curl -s "https://t.jaxiu.cn/api/household/notifications?token=xxx"
# 单条
curl -s -X POST https://t.jaxiu.cn/api/household/notifications/{notif_id}/read \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 全部已读
curl -s -X POST https://t.jaxiu.cn/api/household/notifications/read-all \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 查看
curl -s "https://t.jaxiu.cn/api/household/todos?token=xxx"
# 创建
curl -s -X POST https://t.jaxiu.cn/api/household/todos \
-H "Content-Type: application/json" \
-d '{"token":"xxx","title":"购买牙膏","quantity":2,"priority":"medium"}'
# 完成/更新
curl -s -X PUT https://t.jaxiu.cn/api/household/todos/{todo_id} \
-H "Content-Type: application/json" \
-d '{"token":"xxx","done":true}'
curl -s -X POST https://t.jaxiu.cn/api/household/ai/add \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"text": "冰箱里有3盒安慕希酸奶,保质期到6月30号,还有2斤车厘子"
}'
curl -s -X POST https://t.jaxiu.cn/api/household/ai/analyze \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 返回: 库存健康度、过期风险、补货建议
curl -s "https://t.jaxiu.cn/api/household/ai/restock?token=xxx"
# 基于使用频率和低库存自动推荐需要购买的物品
curl -s -X POST https://t.jaxiu.cn/api/household/ai/parse \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"text": "超市购物清单:牛奶2盒、面包1袋、鸡蛋30个、洗衣液1瓶"
}'
curl -s -X POST https://t.jaxiu.cn/api/household/ai/todos/merge \
-H "Content-Type: application/json" \
-d '{"token":"xxx"}'
# 智能合并相似的待购项
curl -s -X POST https://t.jaxiu.cn/api/household/ocr/receipt \
-H "Content-Type: application/json" \
-d '{
"token": "xxx",
"image": "data:image/png;base64,iVBORw0KGgo..."
}'
# 识别小票上的商品、金额、日期,自动添加到库存
curl -s -X POST https://t.jaxiu.cn/api/household/barcode/lookup \
-H "Content-Type: application/json" \
-d '{"token":"xxx","barcode":"6901234567890"}'
curl -s "https://t.jaxiu.cn/api/household/stats?token=xxx"
# 返回: 总物品数、分类分布、低库存数、即将过期数、本月消耗/补充统计
# 发送消息
curl -s -X POST https://t.jaxiu.cn/api/household/chat \
-H "Content-Type: application/json" \
-d '{"token":"xxx","message":"冰箱里有什么吃的?"}'
# 查看历史
curl -s "https://t.jaxiu.cn/api/household/chat/history?token=xxx"
# 清除历史
curl -s -X DELETE "https://t.jaxiu.cn/api/household/chat/history?token=xxx"
当用户说"家里还有多少牛奶"或"整理一下冰箱"时,使用物品列表查询。 当用户说"我买了xxx"时,使用 AI 添加物品 API。 当用户说"帮我整理超市小票"时,使用小票 OCR。 当用户说"什么东西快过期了"时,使用 expiring=true 筛选。
Base URL: https://t.jaxiu.cn