{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-other-reagent-expiry-alert-0aaa9331934c","title":"Reagent Expiry Alert for Inventory Management","summary":"Log reagent expiry dates with barcode or ID, generate alerts based on expiration proximity (30\/60\/90 days), and support safe laboratory inventory management with alert levels and reorder recommendations.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-reagent-expiry-alert-0aaa9331934c","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-reagent-expiry-alert-0aaa9331934c","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-reagent-expiry-alert-0aaa9331934c.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-other-reagent-expiry-alert-0aaa9331934c\/download","category":{"slug":"data-research","name":"Data & Research"},"editor_note":"Before logging a reagent, ensure the expiry date is in the future and formatted as YYYY-MM-DD. For alert checks, specify the number of days before expiry to trigger alerts (default is 30).","instructions":"---\nname: reagent-expiry-alert\ndescription: Scan reagent barcodes or IDs, log expiration dates, and generate multi-level alerts before reagent expiry to support laboratory inventory management.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n# Reagent Expiry Alert\n\nScan reagent bottle barcodes or IDs, log expiration dates, and alert before expiry to support safe laboratory inventory management.\n\n## Quick Check\n\n```bash\npython -m py_compile scripts\/main.py\npython scripts\/main.py --help\n```\n\n## When to Use\n\n- Use this skill when logging a new reagent with its expiry date into the inventory.\n- Use this skill when checking for reagents approaching expiration (30\/60\/90-day alerts).\n- Do not use this skill to manage controlled substances, biological hazards requiring special disposal, or reagents subject to regulatory chain-of-custody requirements.\n\n## Workflow\n\n1. Confirm the reagent barcode\/ID, expiry date, and action (scan\/log or check alerts).\n2. Validate that the request is for reagent expiry tracking, not chemical safety assessment or disposal guidance.\n3. **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.\"\n4. Log the reagent or run the alert check using the packaged script.\n5. Return expiration status, alert level, and reorder recommendations.\n6. If inputs are incomplete, state which fields are missing and request only the minimum additional information.\n\n## Usage\n\n```text\n# Log a new reagent\npython scripts\/main.py --scan \"REAGENT-001\" --name \"Tris Buffer\" --expiry 2025-12-31 --location \"Shelf A\"\n\n# Check for upcoming expirations\npython scripts\/main.py --check-alerts --alert-days 30\n\n# Check with custom alert window\npython scripts\/main.py --check-alerts --alert-days 60\n```\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `--scan` | string | No | \u2014 | Reagent barcode or ID |\n| `--name` | string | No | \u2014 | Reagent name |\n| `--expiry` | date | No | \u2014 | Expiration date (YYYY-MM-DD) |\n| `--location` | string | No | \u2014 | Storage location |\n| `--quantity` | string | No | \u2014 | Quantity on hand |\n| `--check-alerts` | flag | No | \u2014 | Check for upcoming expirations |\n| `--alert-days` | integer | No | 30 | Days before expiry to alert |\n\n## Alert Levels\n\n- \ud83d\udd34 Expired \u2014 reagent past expiry date\n- \ud83d\udfe0 Critical \u2014 expiring within 30 days\n- \ud83d\udfe1 Warning \u2014 expiring within 60 days\n- \ud83d\udfe2 OK \u2014 expiring beyond 60 days\n\n## Output\n\n- Expiration alert report with alert level per reagent\n- Inventory summary\n- Reorder recommendations for critical\/expired items\n\n## Stress-Case Rules\n\nFor complex multi-constraint requests, always include these explicit blocks:\n\n1. Assumptions\n2. Reagents Checked\n3. Alert Report\n4. Reorder Recommendations\n5. Risks and Manual Checks\n\n## Error Handling\n\n- If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.\n- If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.\n- If `scripts\/main.py` fails, report the failure point, summarize what still can be completed safely, and provide a manual fallback.\n- Do not fabricate expiry dates, inventory counts, or reorder thresholds.\n\n## Input Validation\n\nThis skill accepts: reagent barcode\/ID and expiry date for logging, or a check-alerts request for inventory review.\n\nIf the request does not involve reagent expiry tracking \u2014 for example, asking for chemical hazard assessment, waste disposal guidance, or controlled substance management \u2014 do not proceed with the workflow. Instead respond:\n> \"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.\"\n\n## Response Template\n\nUse the following fixed structure for non-trivial requests:\n\n1. Objective\n2. Inputs Received\n3. Assumptions\n4. Workflow\n5. Deliverable\n6. Risks and Limits\n7. Next Checks\n\nIf the request is simple, you may compress the structure, but still keep assumptions and limits explicit when they affect correctness.\n","use_cases":["Log new reagents with expiry dates into the inventory.","Check for reagents approaching expiration (30\/60\/90-day alerts)."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Other\/reagent-expiry-alert\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-26","created_at":"2026-11-24T15:55:54.000000Z","updated_at":"2026-11-26T09:25:03.000000Z","seo_title":"Reagent Expiry Alert for Inventory Management","seo_description":"Track reagent expiry dates, generate alerts, and support safe laboratory inventory management with reagent-expiry-alert.","seo_keywords":["reagent expiry tracking","laboratory inventory alerts","reagent expiration check","expiry date management"]}}