Back to list
Sounder25

paste-sanitizer

by Sounder25

Operational capabilities for high-leverage AI coding agents. Features deterministic execution, 100% tested safety gates, impasse detection, and adversarial review. Includes 'Gold Standard' meta-skills like Pre-Action Guard and Failure Postmortem to prevent loops and data loss.

8🍴 3📅 Jan 23, 2026

SKILL.md


name: Paste Sanitizer description: Convert mixed terminal output and instructions into safe, paste-ready command blocks.

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.
  2. 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.
  3. Comment Out (optional) unknown lines with # instead of deleting, to preserve context safely within a script.
  4. 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
```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`.

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon