بنقرة واحدة
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`.