modeio-safety
SKILL.md
Run safety checks for instructions
Execution policy
- Always run
scripts/safety.pyfor safety checks. - Each instruction must trigger a fresh backend call.
- Do not use cached or historical results as final judgment.
Script commands
Primary mode: scripts/safety.py
-i, --input: required, instruction text to evaluate-c, --context: optional, execution context-t, --target: optional, operation target such as file path, table name, or service name- Script calls the Cloudflare safety endpoint internally:
https://safety-cf.modeio.ai/api/cf/safety.
python scripts/safety.py -i "Delete all log files"
python scripts/safety.py -i "Modify database permissions" -c "production" -t "/var/lib/mysql"
python scripts/safety.py -i "$(cat instruction.txt)"
Output
approved: whether execution is recommendedrisk_level:low/medium/high/criticalrisk_types: categories of identified riskconcerns: detailed risk pointsrecommendation: suggested safer actionis_destructive: whether action is destructiveis_reversible: whether action is reversible
When NOT to use
- For PII redaction or anonymization; use
modeio-anonymizationinstead. - For tasks with no executable instruction to evaluate.
Resources
scripts/safety.py: runs real-time safety checks viahttps://safety-cf.modeio.ai/api/cf/safety
Migration context
- Script default endpoint is
https://safety-cf.modeio.ai/api/cf/safety. - Runtime override remains available via
SAFETY_API_URL.
Weekly Installs
1
Repository
mode-io/mode-io-skillsGitHub Stars
4
First Seen
Mar 2, 2026
Security Audits
Installed on
opencode1
cursor1
codex1
claude-code1