← 返回
未分类 中文

Reagent Expiry Alert

Scan reagent barcodes or IDs, log expiration dates, and generate multi-level alerts before reagent expiry to support laboratory inventory management.
扫描试剂条码或编号,记录有效期,生成多级预警,在试剂到期前提醒,以支持实验室库存管理。
aipoch-ai aipoch-ai 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 279
下载
💾 0
安装
1
版本
#latest

概述

Reagent Expiry Alert

Scan reagent bottle barcodes or IDs, log expiration dates, and alert before expiry to support safe laboratory inventory management.

Quick Check

python -m py_compile scripts/main.py
python scripts/main.py --help

When to Use

  • Use this skill when logging a new reagent with its expiry date into the inventory.
  • Use this skill when checking for reagents approaching expiration (30/60/90-day alerts).
  • Do not use this skill to manage controlled substances, biological hazards requiring special disposal, or reagents subject to regulatory chain-of-custody requirements.

Workflow

  1. Confirm the reagent barcode/ID, expiry date, and action (scan/log or check alerts).
  2. Validate that the request is for reagent expiry tracking, not chemical safety assessment or disposal guidance.
  3. Date validation: If --expiry is provided, validate that it is a valid YYYY-MM-DD date. If the date is in the past, emit a warning: "This reagent is already expired as of [date]. It will be logged with an Expired alert status."
  4. Log the reagent or run the alert check using the packaged script.
  5. Return expiration status, alert level, and reorder recommendations.
  6. If inputs are incomplete, state which fields are missing and request only the minimum additional information.

Usage

# Log a new reagent
python scripts/main.py --scan "REAGENT-001" --name "Tris Buffer" --expiry 2025-12-31 --location "Shelf A"

# Check for upcoming expirations
python scripts/main.py --check-alerts --alert-days 30

# Check with custom alert window
python scripts/main.py --check-alerts --alert-days 60

Parameters

ParameterTypeRequiredDefaultDescription
-------------------------------------------------
--scanstringNoReagent barcode or ID
--namestringNoReagent name
--expirydateNoExpiration date (YYYY-MM-DD)
--locationstringNoStorage location
--quantitystringNoQuantity on hand
--check-alertsflagNoCheck for upcoming expirations
--alert-daysintegerNo30Days before expiry to alert

Alert Levels

  • 🔴 Expired — reagent past expiry date
  • 🟠 Critical — expiring within 30 days
  • 🟡 Warning — expiring within 60 days
  • 🟢 OK — expiring beyond 60 days

Output

  • Expiration alert report with alert level per reagent
  • Inventory summary
  • Reorder recommendations for critical/expired items

Stress-Case Rules

For complex multi-constraint requests, always include these explicit blocks:

  1. Assumptions
  2. Reagents Checked
  3. Alert Report
  4. Reorder Recommendations
  5. Risks and Manual Checks

Error Handling

  • If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
  • If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
  • If scripts/main.py fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.
  • Do not fabricate expiry dates, inventory counts, or reorder thresholds.

Input Validation

This skill accepts: reagent barcode/ID and expiry date for logging, or a check-alerts request for inventory review.

If the request does not involve reagent expiry tracking — for example, asking for chemical hazard assessment, waste disposal guidance, or controlled substance management — do not proceed with the workflow. Instead respond:

> "reagent-expiry-alert is designed to log reagent expiry dates and generate alerts before expiration. Your request appears to be outside this scope. Please provide a reagent ID and expiry date, or use a more appropriate tool."

Response Template

Use the following fixed structure for non-trivial requests:

  1. Objective
  2. Inputs Received
  3. Assumptions
  4. Workflow
  5. Deliverable
  6. Risks and Limits
  7. Next Checks

If the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 19:00 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

professional

A股量化 AkShare

mbpz
A股量化数据分析工具,基于AkShare库获取A股行情、财务数据、板块信息等。用于回答关于A股股票查询、行情数据、财务分析、选股等问题。
★ 196 📥 63,652
data-analysis

Survival Analysis (KM)

aipoch-ai
生成Kaplan‑Meier生存曲线,计算生存统计量(log‑rank检验、中位生存时间),并估算临床及生物...的 hazard ratios。
★ 2 📥 1,003
professional

Stock Market Pro

kys42
Yahoo Finance (yfinance) 驱动的股票分析技能:行情报价、基本面、ASCII 趋势图、高分辨率图表(RSI/MACD/BB/VWAP/ATR),以及可选的网络...
★ 164 📥 40,308