用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/cvander/Maya --skill compliance-check命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | compliance-check |
| description | Scan compliance docs for expiring certs, overdue logs, and permit renewals. |
| version | 0.1.0 |
| author | Maya |
| license | MIT |
| platforms | ["macos"] |
| metadata | {"hermes":{"tags":["compliance","health","permits","certs","bar-ops"],"requires_tools":["terminal"],"config":[{"key":"compliance_dir","description":"Path to compliance markdown files","default":"docs/compliance"},{"key":"days_ahead","description":"Look-ahead window in days","default":"30"}]}} |
| required_environment_variables | [] |
Reads staff-certs.md, cooler-temps.md, pest-log.md, and permits/README.md. Checks for expiring certifications, overdue logs, and upcoming permit renewals. Reports findings by severity.
Read-only. Does not modify files or reach external services.
Run the skill from the repo root:
# Human-readable summary
python -m skills.compliance_check
# Structured JSON output (for automation)
python -m skills.compliance_check --format json
# Check with a specific reference date
python -m skills.compliance_check --date 2025-06-01 --format json
# Custom look-ahead window
python -m skills.compliance_check --days-ahead 60 --format json
# Against a custom compliance directory
python -m skills.compliance_check --compliance-dir path/to/compliance --format json
Parse the JSON result:
status: "ok" (no issues) or "warn" (findings present)findings: array with codes CERT_EXPIRING, CERT_EXPIRED, LOG_OVERDUE, PERMIT_RENEWAL, INSPECTION_DUEdata.certs_checked: number of staff certs scanneddata.logs_checked: number of compliance logs scanneddata.permits_checked: number of permits scanned| Code | Meaning |
|---|---|
| 0 | All compliance items current |
| 1 | One or more compliance findings |
| 2 | Config error (bad arguments) |
| 3 | Data error (can't read compliance files) |
| 10 | Unexpected error |
After running, confirm:
data.certs_checked >= 0 (files were actually read)findings