Risk assessment is an AI agent skill from the GitHub repository griddynamics/rosetta. MUST activate before execution when environment has access to databases, cloud services, S3, or similar external systems, any access to servers of higher environments, and when assessing environment risk level.
Claude Code: save it as .claude/skills/risk-assessment/SKILL.md
Cursor: save it as .cursor/rules/risk-assessment.md
Codex: save it as .agents/skills/risk-assessment/SKILL.md
ChatGPT, Gemini and other assistants: paste it into custom or project instructions
Skill file
<risk_assessment>
<process>
Assess access to dangerous MCPs (database, cloud, S3, similar) or servers (SQL, API, similar).
Assign risk level: low, medium, high, critical.
Read-only or local = low.
Shared dev/stage/qa = medium.
+1 level for write access.
+1 level for access to higher environments including stage, pre-production, production.
Output AI Risk Assessment: {LEVEL}.
Escalation:
MEDIUM: warn user, explain failure modes.
HIGH: require user to understand data loss risk.
CRITICAL: block execution, require external risk reduction. OVERRIDE NOT ALLOWED.
</process>
<pitfalls>
Defaulting to "low" without checking accessible MCPs.
Not re-assessing when new environments join mid-session.
</pitfalls>
</risk_assessment>
Use this skill with your AI agent:Open on Skill Issue to copy, download, or add to your library.
Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.