sounder25/foundational-agent-skills/23-paste-sanitizer
Claude Code and agent skill by sounder25/foundational-agent-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Convert mixed terminal output and instructions into safe, paste-ready command blocks.
Install
npx vskill@latest install sounder25/foundational-agent-skills/23-paste-sanitizerSKILL.md
SKILL-023: Paste Sanitizer
Purpose
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.
Goal
Enforce Command-Only output for all runnable steps.
Algorithm
- Identify lines that match "likely command" patterns:
- Starts with
git,dotnet,npm,python,cd,mkdir,$env:, etc.
- Identify and Drop lines that match "likely output" or "prompt" patterns:
- Starts with
PS, ContainsEverything up-to-date,At line:,CategoryInfo:,error:,warning:, etc.
- Comment Out (optional) unknown lines with
#instead of deleting, to preserve context safely within a script. - Wrap the cleaned commands in a labeled block:
## COPY/PASTE COMMANDS.
Trigger Phrases
sanitize commandsclean terminal outputmake paste-ready
Expected Output Format
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.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking23_paste_sanitizer/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sounder25/foundational-agent-skills/23-paste-sanitizer)