home-medicine-kit
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "home-medicine-kit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f422adb8e7d056535158d400947783adfe91d4031f14890f190af07ec17f8d1a. Verify the upstream source and version against https://skillhub.cn/skills/user_cb37ec27/home-medicine-kit before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A local tracker for household medications, instruments, and consumables inventory and expiry dates. Activated by queries like “are my medicines expired/what to restock in the medicine box/how many bandages left/when does the fever medicine expire/which meds are near expiry/home medicine kit/medication expiry tracker/first-aid inventory.” Produces one-click “expired/expiring soon” alerts and printable location-based overviews; data stored as local JSON with zero dependencies and local privacy.
Introduction source: third_party · user_cb37ec27 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: home-medicine-kit
slug: home-medicine-kit
displayName: 家庭药箱管家
description: 家庭常备药 / 器械 / 耗材的本地库存与有效期追踪器。当用户说"家里药过期了没/药箱该补什么/创可贴还有几片/退烧药哪天到期/哪些药临期了该清理/家庭药箱盘点/home medicine kit/medication expiry tracker/first-aid inventory"时使用。一键列出「已过期 / 即将过期」预警清单、按位置生成可打印总览,数据存于本机 JSON,零依赖、隐私安全。
version: 1.0.0
category: 健康管理
platforms:
- WorkBuddy
- Claude Code
- Cursor
- QClaw
- ima
author: Dream
license: MIT
disable: true家庭药箱管家(Home Medicine Kit)
家里常备药(感冒药、退烧药、创可贴、碘伏、体温计、过敏药、老人的慢病药)平时塞在药箱或抽屉里,过期了也没人发现。真到半夜发烧、孩子磕破、过敏发作那一刻,才手忙脚乱地翻——结果要么过期了,要么只剩一片。
这个 skill 把整个家庭的「药品 + 器械 + 耗材」收进一个本地 JSON 文件,用一条零依赖的 Python 命令就能:建立库存、自动算出每样东西还剩多少天到期、一键拉出「该清理 / 该补货」的预警清单、生成可打印的药箱总览。数据全在本机,不上任何云。
⚠️ 边界声明:本工具仅用于库存与有效期管理,不构成任何医疗建议;过期药品请勿服用,请按当地规定回收处理。
适用场景
- 家庭药箱 / 急救包定期盘点,避免「要用时发现过期」
- 有老人、小孩或慢病成员,需跟踪多种药品的有效期与库存
- 想集中记录药品存放位置(主卧药箱 / 车载急救包 / 旅行药包)
- 出国、出游前快速核对「常用药是否够、是否临期」
- 帮父母远程管理家里的药箱(导出报告发给他们看)
核心能力
add:添加一项(名称、类别、规格、数量、位置、批号、开封日、有效期、备注),自动算剩余天数list:列出全部,按到期升序,🔴过期 / 🟡临期 / 🟢正常 状态标识,支持--cat/--loc过滤expiring:拉出 N 天内「过期 + 临期」清单(默认 90 天),即补货 / 清理清单use:取用扣减库存,首次取用自动记开封日;库存归零时提醒补货edit:改任意字段(如更新有效期、修正数量)remove:删除某项(如丢弃过期药)check:快速体检——过期数、临期数、库存为 0 数、各位置分布report:生成 markdown 总览(预警区 + 按位置分组),可--output导出打印
类别标准值:药品 / 器械 / 耗材 / 外用。
使用方式
脚本为纯标准库 Python,无需安装任何依赖。受管理的 Python 运行:
PY=~/.workbuddy/binaries/python/versions/3.13.12/bin/python3
SKILL=~/.workbuddy/skills/home-medicine-kit
1. 添加常备药
$PY $SKILL/medkit.py add "布洛芬缓释胶囊" --cat 药品 --spec "0.3g*20粒" --qty 1 --loc "主卧药箱" --expiry 2027-08-01 --note "儿童慎用"
$PY $SKILL/medkit.py add "创可贴" --cat 耗材 --qty 20 --loc "主卧药箱" --expiry 2026-12-31
$PY $SKILL/medkit.py add "电子体温计" --cat 器械 --qty 1 --loc "主卧药箱"
2. 日常查看
$PY $SKILL/medkit.py list # 全部,按到期升序
$PY $SKILL/medkit.py list --loc "主卧药箱"
$PY $SKILL/medkit.py expiring --within 90 # 过期+临期预警
$PY $SKILL/medkit.py check # 快速体检
3. 取用与维护
$PY $SKILL/medkit.py use "布洛芬缓释胶囊" --count 1 # 取用,自动记开封
$PY $SKILL/medkit.py edit mk_20260713_ab12cd --qty 2 # 按 id 前缀改数量
$PY $SKILL/medkit.py remove "创可贴" # 丢弃过期项
4. 生成可打印总览
$PY $SKILL/medkit.py report --output ~/Desktop/medkit-report.md
示例输出
expiring 的预警清单形如:
⏰ 90 天内需关注(过期/临期)共 2 项:
[已过期] 创可贴(耗材)@ 主卧药箱 已过期48天 id=mk_20260713_ab12cd
[临期] 布洛芬缓释胶囊(药品)@ 主卧药箱 剩23天 id=mk_20260713_ef34gh
report 的 markdown 总览形如:
# 家庭药箱总览
> 生成时间:2026-07-13 23:55 共 3 项
## ⏰ 需关注(临期 / 过期)
- [临期] **布洛芬缓释胶囊**(药品)@ 主卧药箱 — 剩23天
## 📦 按存放位置
### 主卧药箱
- 🟡 布洛芬缓释胶囊 ×1(药品)剩23天
- 🟢 电子体温计 ×1(器械)无有效期
数据存放
- 默认路径:
~/.medkit/kit.json(本机,不上传) - 如需自定义(如多家庭 / 测试):
export MEDKIT_HOME=/path/to/dir后再运行
上架 / 合规提示
- 内容合规:已内置「不构成医疗建议、过期药勿服、按规回收」声明,可过内容审核
- 隐私:数据纯本地,无网络请求、无第三方依赖,可过安全扫描
- 发布前请确认 slug
home-medicine-kit在 SkillHub 未被占用
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决家庭药品库存与有效期管理的实际痛点,功能闭环完整
- 受众明确,适用于有老人/小孩/慢病成员的家庭场景
Highlights
- 触发词覆盖中英文常见表达,边界清晰,无明显歧义
Highlights
- Phase/步骤清晰,含端到端示例,frontmatter完整
Areas to improve
-
remove 操作无确认机制 Reported severity: Minor
删除药品项时缺乏二次确认,存在误删风险
Recommendation: 建议在 remove 操作前增加确认提示(如 --force 参数或交互式确认)
Highlights
- 纯标准库 Python 实现,零依赖,数据本地存储安全
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.