원클릭으로
paste-sanitizer
Convert mixed terminal output and instructions into safe, paste-ready command blocks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Convert mixed terminal output and instructions into safe, paste-ready command blocks.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
A QA gate that validates potentially destructive or irreversible actions before execution.
Detect and prevent state-visibility violations across execution contexts within a single transaction.
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.
| name | Paste Sanitizer |
| description | Convert mixed terminal output and instructions into safe, paste-ready command blocks. |
Convert “chatty” instructions, shell prompts, and terminal output into a safe, paste-ready command block that satisfies the Pre-Action Guard (Skill-018).
This skill ensures that unintended text like PS C:\, Everything up-to-date, or error dumps are never pasted into a live terminal.
Enforce Command-Only output for all runnable steps.
git, dotnet, npm, python, cd, mkdir, $env:, etc.PS, Contains Everything up-to-date, At line:, CategoryInfo:, error:, warning:, etc.# instead of deleting, to preserve context safely within a script.## COPY/PASTE COMMANDS.sanitize commandsclean terminal outputmake paste-ready## COPY/PASTE COMMANDS
```powershell
git add .
git commit -m "fix"
git push
## Safety Constraints
- Only copy blocks labeled **COPY/PASTE COMMANDS**.
- Never copy blocks labeled **Expected Output**.
- If a line inside the command block does not start with a tool or verb, the sanitizer has failed.
## Implementation
See `scripts/paste_sanitizer.ps1`.