hs-risk

macho715's avatarfrom macho715

Data-only HS risk scoring (format/missing/haz/oog flags) with markdown report

0stars🔀0forks📁View on GitHub🕐Updated Jan 9, 2026

When & Why to Use This Skill

The hs-risk skill automates the assessment of Harmonized System (HS) data risks by identifying formatting errors, missing values, and hazardous or out-of-gauge (OOG) flags. It streamlines logistics compliance by generating structured markdown reports that include risk tiering, ranked tables, and actionable insights based on raw CSV data.

Use Cases

  • Logistics Compliance Auditing: Automatically scan shipping manifests to identify high-risk items and ensure HS codes meet regulatory formatting standards before customs submission.
  • Supply Chain Data Validation: Use the skill to detect missing columns or incorrect data entries in product databases, ensuring that hazardous material flags are correctly assigned.
  • Automated Risk Reporting: Generate professional markdown reports for stakeholders that summarize inventory risks by tier, providing a ranked list of items that require immediate manual intervention.
namehs-risk
descriptionData-only HS risk scoring (format/missing/haz/oog flags) with markdown report

Instructions:

  • Input: data/items.csv (use data/templates/items.template.csv)
  • Run: powershell -ExecutionPolicy Bypass -File .codex/skills/hs-risk/scripts/run.ps1
  • Output: reports/hs_risk.md
  • Fail-safe: if inputs/columns missing, output only the '以묐떒' table. Evidence Required:
  • Report must include counts by tier and a ranked table with reasons.