← Back to Skills Marketplace
aipoch-ai

Cold Chain Risk Calculator

by AIpoch · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
76
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cold-chain-risk-calculator-1
Description
Calculate temperature excursion risks for cold chain transport. Assesses route risk, packaging suitability, and monitoring requirements for biological sample...
README (SKILL.md)

Cold Chain Risk Calculator

Assess temperature excursion risk for cold chain transport routes. Evaluates packaging type, transit duration, and route conditions to produce a structured JSON risk score and mitigation recommendations.

Quick Check

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

When to Use

  • Evaluating shipping risk for biological samples, vaccines, or temperature-sensitive pharmaceuticals
  • Selecting appropriate packaging (dry ice, liquid nitrogen, gel packs) for a given route and duration
  • Generating risk documentation for regulatory or QA purposes

Workflow

  1. Confirm the user objective, required inputs, and non-negotiable constraints before doing detailed work.
  2. Validate that the request matches the documented scope and stop early if the task would require unsupported assumptions.
  3. Use the packaged script path or the documented reasoning path with only the inputs that are actually available.
  4. Return a structured result that separates assumptions, deliverables, risks, and unresolved items.
  5. If execution fails or inputs are incomplete, switch to the fallback path and state exactly what blocked full completion.

Fallback template: If scripts/main.py fails or required inputs are absent, report: (a) which parameter is missing, (b) what partial assessment is still possible, (c) the manual risk-scoring approach.

Parameters

Parameter Type Required Description
--route, -r string Yes Transport route description (e.g., "NYC-Boston")
--duration, -d int Yes Transport duration in hours (must be > 0)
--packaging, -p string No Packaging type: dry-ice, liquid-nitrogen, gel-packs (default: dry-ice)
--output, -o string No Output JSON file path (default: stdout)

Usage

python scripts/main.py --route "NYC-Boston" --duration 48 --packaging dry-ice
python scripts/main.py --route "LAX-London" --duration 120 --packaging liquid-nitrogen --output risk_report.json

Output Format

The script outputs a structured JSON object:

{
  "route": "NYC-Boston",
  "duration_hours": 48,
  "packaging": "dry-ice",
  "risk_score": 19.2,
  "risk_level": "Medium",
  "mitigation_recommendations": [
    "Add temperature logger to shipment",
    "Pre-condition dry ice 2h before packing",
    "Notify recipient of expected arrival window"
  ]
}

The mitigation_recommendations field is always present and contains at least one actionable item. Recommendations are generated based on risk level and packaging type.

Risk Model

Risk score = duration_hours × 0.5 × packaging_factor

Packaging Factor Notes
dry-ice 0.8 Standard for -70°C samples
liquid-nitrogen 0.6 Best for cryogenic samples
gel-packs 1.2 Suitable for 2–8°C only

Risk levels: Low (\x3C 15), Medium (15–30), High (> 30)

Model limitations: The formula does not account for route complexity, number of transit legs, or ambient temperature variability. A 120-hour international flight may score lower than a 48-hour domestic route due to packaging factor alone. Document these assumptions in every response.

Features

  • Route risk assessment based on duration and packaging type
  • Structured JSON output with risk score, level, and mitigation recommendations
  • Input validation: rejects negative or zero duration (exit code 1)
  • Mitigation action list generated per risk level and packaging type

Output Requirements

Every response must make these explicit:

  • Objective and deliverable
  • Inputs used and assumptions introduced (ambient temperature assumed standard; no transit-leg complexity modeled)
  • Workflow or decision path taken
  • Core result: risk score, risk level, and mitigation recommendations
  • Constraints, risks, caveats (e.g., model does not account for route complexity or number of transit legs)
  • Unresolved items and next-step checks

Input Validation

This skill accepts: cold chain transport scenarios defined by a route, duration, and optional packaging type.

If the request does not involve temperature-controlled shipping risk — for example, asking to track a shipment in real time, calculate drug dosing, or assess non-temperature logistics — do not proceed. Instead respond:

"cold-chain-risk-calculator is designed to assess temperature excursion risk for cold chain transport. Your request appears to be outside this scope. Please provide a route, duration, and packaging type, or use a more appropriate tool for your task."

Error Handling

  • If --duration is ≤ 0, print Error: --duration must be a positive integer (hours). to stderr and exit with code 1.
  • If --packaging is not one of dry-ice, liquid-nitrogen, gel-packs, reject with a clear error listing valid options.
  • 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 files, citations, data, search results, or execution outcomes.

Response Template

  1. Objective
  2. Inputs Received
  3. Assumptions
  4. Workflow
  5. Deliverable
  6. Risks and Limits
  7. Next Checks
Usage Guidance
This skill appears to be incomplete or mismatched: the documentation promises structured JSON output, an --output option, strict input validation, specific packaging factors, and mitigation recommendations — but the bundled Python script only prints human-readable lines, lacks the --output option, doesn't enforce duration>0, uses a different liquid-nitrogen factor and different risk thresholds, and does not produce the promised JSON or mitigation list. Before using this for any decision that matters (regulatory filings, QA, or shipment planning): (1) do not rely on results for critical decisions; (2) ask the author for a corrected script that matches the SKILL.md (or update the SKILL.md to reflect actual behavior); (3) run the script locally with representative inputs to confirm outputs and test edge cases (zero/negative duration, each packaging type); (4) if you need JSON output or file-writing, either modify the script to implement --output and JSON formatting, or wrap the script safely to produce the documented structure; and (5) require unit tests or examples demonstrating mitigation recommendation generation. These inconsistencies look like sloppy/incomplete implementation rather than clearly malicious behavior, but verify before trusting the tool.
Capability Assessment
Purpose & Capability
Name/description match the included code: both are about cold-chain risk scoring. The skill does not request unrelated credentials, binaries, or installs, which is proportionate to its stated purpose. However, the documentation describes features (JSON output file, mitigation recommendation generation, strict input validation) that the script does not implement.
Instruction Scope
SKILL.md instructs the agent to run scripts/main.py and describes a JSON output format, an --output option, mandatory duration validation (reject ≤0), always-present mitigation_recommendations, and specific risk thresholds/packaging factors. The actual script: (1) prints human-readable lines to stdout rather than producing the documented JSON structure or an output file; (2) does not implement the --output parameter; (3) does not enforce duration>0 (no explicit check); (4) uses a different packaging factor for liquid-nitrogen (0.3 in code vs 0.6 in docs) and different risk thresholds for classifications (code uses <10/<20, docs use <15/15–30/>30); and (5) does not generate a mitigation_recommendations list. These are substantive inconsistencies between instructions and implementation.
Install Mechanism
No install spec; this is an instruction-only skill with a small local script. No network downloads or package installs are specified, so installation risk is low.
Credentials
No environment variables, credentials, or config paths are requested. The skill does not ask for unrelated secrets or system access.
Persistence & Privilege
Skill does not request permanent/always-on presence and uses default invocation rules. It does not modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cold-chain-risk-calculator-1
  3. After installation, invoke the skill by name or use /cold-chain-risk-calculator-1
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial public release of cold-chain-risk-calculator. - Provides risk assessment for cold chain transport scenarios based on route, duration, and packaging type. - Returns structured JSON output with risk score, level, and mitigation recommendations. - Validates inputs, including required route and duration, and accepted packaging options. - Documents all assumptions, limitations, and the workflow used for assessment. - Includes clear error handling and fallback instructions for incomplete or invalid inputs.
Metadata
Slug cold-chain-risk-calculator-1
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Cold Chain Risk Calculator?

Calculate temperature excursion risks for cold chain transport. Assesses route risk, packaging suitability, and monitoring requirements for biological sample... It is an AI Agent Skill for Claude Code / OpenClaw, with 76 downloads so far.

How do I install Cold Chain Risk Calculator?

Run "/install cold-chain-risk-calculator-1" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Cold Chain Risk Calculator free?

Yes, Cold Chain Risk Calculator is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Cold Chain Risk Calculator support?

Cold Chain Risk Calculator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cold Chain Risk Calculator?

It is built and maintained by AIpoch (@aipoch-ai); the current version is v1.0.0.

💬 Comments