원클릭으로
pre-action-guard
A QA gate that validates potentially destructive or irreversible actions before execution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
A QA gate that validates potentially destructive or irreversible actions before execution.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Detect and prevent state-visibility violations across execution contexts within a single transaction.
Convert mixed terminal output and instructions into safe, paste-ready command blocks.
Prepares isolated sub-workspaces for parallel agent execution. Copies context and generates specific mission instructions for "Worker" agents.
Structured logging and analysis of execution failures to prevent recurrence.
Detects when the agent is stuck in a reasoning loop or unproductive state by analyzing tool usage and sentiment patterns.
Generates a 'Red Team' critique of recent code or plans to identify weak assumptions and edge cases.
SOC 직업 분류 기준
| name | Pre-Action Guard |
| description | A QA gate that validates potentially destructive or irreversible actions before execution. |
| version | 1.0.0 |
| author | Antigravity Skills Library |
| created | "2026-01-16T00:00:00.000Z" |
| leverage_score | 5/5 |
Enforces a "Measure Twice, Cut Once" philosophy. This skill intercepts high-stakes actions (file writes, command execution) and validates them against safety rules and the current active plan to prevent accidental data loss or system corruption.
check safetyverify actionis this safeguard check| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
--Action | string | Yes | - | The tool/verb being performed (e.g. write_to_file, rm) |
--Target | string | Yes | - | The file path or command argument |
--Plan | string | No | $null | The current plan context for alignment check |
{
"allowed": false,
"risk_level": "CRITICAL",
"reason": "Root directory deletion detected.",
"warnings": ["Target matches blocked pattern '/*'."]
}
NONE: Read-only operations.LOW: Safe writes (files in temp, new files).MEDIUM: Modifying existing non-critical files.HIGH: Modifying config/env files.CRITICAL: Destructive delete/format commands./, C:\) are automatically blocked..env and config keywords for higher sensitivity.PS C:\, >).Everything up-to-date, At line:, CategoryInfo:).| Condition | Action |
|---|---|
| Missing Action/Target | Return error |
| CRITICAL risk | Return allowed: false |
| Mixed Output Detected | Return allowed: false |
See scripts/guard_check.ps1.
All agents must:
write_to_file on existing files.run_command containing rm, del, drop.allowed is false, STOP and ask user for confirmation.