用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cvander/Maya --skill inventory-check命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | inventory-check |
| description | Scan inventory markdown for items at or below reorder threshold. |
| version | 0.1.0 |
| author | Maya |
| license | MIT |
| platforms | ["macos"] |
| metadata | {"hermes":{"tags":["inventory","stock","reorder","bar-ops"],"requires_tools":["terminal"],"config":[{"key":"inventory_dir","description":"Path to inventory markdown files","default":"docs/inventory"}]}} |
| required_environment_variables | [] |
Reads beer.md, spirits.md, and wine.md from the inventory directory. Compares each item's quantity against its reorder threshold. Reports items at or below threshold.
Read-only. Does not modify files or reach external services. No PII in output.
Run the skill from the repo root:
# Human-readable summary
python -m skills.inventory_check
# Structured JSON output (for automation)
python -m skills.inventory_check --format json
# Against a custom inventory directory
python -m skills.inventory_check --inventory-dir path/to/inventory --format json
Parse the JSON result:
status: "ok" (nothing to reorder) or "warn" (items need attention)findings: array of LOW_STOCK items with category, item name, qty, reorder_atdata.items_scanned: total items checkeddata.low_stock: detailed list of low items| Code | Meaning |
|---|---|
| 0 | All stock levels acceptable |
| 1 | One or more items at or below reorder threshold |
| 2 | Config error (bad arguments) |
| 3 | Data error (can't read inventory files) |
| 10 | Unexpected error |
After running, confirm:
data.items_scanned > 0 (files were actually read)findings array is non-empty