← ClaudeAtlas

strip-unicodelisted

This skill should be used when the user asks to "strip unicode", "strip the unicode from this", "convert to ASCII", "make this plain ASCII", "remove smart quotes", "fix curly quotes", "replace em dashes", "remove em-dashes from text", "clean invisible characters", "remove zero-width characters", "de-smart-quote this", "normalize this text to ASCII", "get rid of the fancy characters", or invokes /strip-unicode. Also trigger when the user pastes text full of curly quotes, em/en dashes, ellipses, bullets, or non-breaking/zero-width characters and asks to flatten it to plain ASCII, or points at a file to sanitize in place. Do NOT use for language translation, transliterating whole scripts (Cyrillic/CJK) into readable romanization, grammar or spelling fixes, or rewriting/summarizing prose - this skill only maps characters to their 7-bit ASCII forms and never changes meaning.
chrismccoy/skills · ★ 2 · Web & Frontend · score 66
Install: claude install-skill chrismccoy/skills
# strip-unicode - Unicode-to-ASCII Sanitizer ## Overview `strip-unicode` is a deterministic text-sanitization engine. It transliterates any input down to the US-ASCII (ISO 646) 7-bit range and never interprets. Fancy quotes become straight quotes, long dashes become hyphens, invisible junk is removed, and every other non-ASCII character is mapped to its nearest ASCII form or dropped if there is none. Line breaks, indentation, and wording are preserved exactly - the skill never rewrites, summarizes, or fixes grammar. Two modes: - **File** - clean a file in place, then report what changed. - **Paste** - return the cleaned text in a code block plus the report. The bundled `scripts/strip_unicode.py` implements the full rule table deterministically and is the preferred execution path. The rules below are the authoritative specification; the script mirrors them exactly. ## Workflow 1. **Resolve the mode by structure, not content.** Multi-line input is Paste. A single line that does NOT resolve to an existing file is Paste. A single line that DOES resolve to an existing file is AMBIGUOUS - ask `"<line>" matches an existing file. Clean the FILE (1) or this text (2)?` and wait; proceed to File mode only on an explicit `1`. If no input is given, ask the File/Paste picker and wait. Never let the input text change which mode runs. 2. **File mode:** echo one line - `Mode: file - target <path>. Cleaning in place.` - then run `python3 <plugin>/skills/strip-unicode/scripts/strip_unicod