smithery/sounder25

Paste Sanitizer

Convert mixed terminal output and instructions into safe, paste-ready command blocks.

Installation

$ npx skills add smithery/sounder25 --skill paste-sanitizer

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/sounder25 · top by installs.

npx skills add smithery/sounder25

Browse all from smithery/sounder25

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,576 B
  • docs SUMMARY.md 108 B

History

  1. First recorded snapshot · 0 installs

SKILL.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

  1. Identify lines that match "likely command" patterns:

- Starts with git, dotnet, npm, python, cd, mkdir, $env:, etc.

  1. Identify and Drop lines that match "likely output" or "prompt" patterns:

- Starts with PS, Contains Everything up-to-date, At line:, CategoryInfo:, error:, warning:, etc.

  1. Comment Out (optional) unknown lines with # instead of deleting, to preserve context safely within a script.
  2. Wrap the cleaned commands in a labeled block: ## COPY/PASTE COMMANDS.

Trigger Phrases

  • sanitize commands
  • clean terminal output
  • make paste-ready

Expected Output Format

## COPY/PASTE COMMANDS

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.