Install
openclaw skills install textTransform, format, and process text with patterns for writing, data cleaning, localization, citations, and copywriting.
openclaw skills install text| Task | Load |
|---|---|
| Creative writing (voice, dialogue, POV) | writing.md |
| Data processing (CSV, regex, encoding) | data.md |
| Academic/citations (APA, MLA, Chicago) | academic.md |
| Marketing copy (headlines, CTA, email) | copy.md |
| Translation/localization | localization.md |
file -bi document.txttr -d '\r'sed -i '1s/^\xEF\xBB\xBF//'sed 's/[[:space:]]\+/ /g'sed 's/^[[:space:]]*//;s/[[:space:]]*$//'" ") break parsers → normalize to "– —) break ASCII → normalize to -"café" = 4 chars, 5 bytes)# Detect encoding
file -I document.txt
# Detect line endings
cat -A document.txt | head -1
# ^M at end = Windows (CRLF)
# No ^M = Unix (LF)
# Detect delimiter (CSV/TSV)
head -1 file | tr -cd ',;\t|' | wc -c
| Task | Command |
|---|---|
| Lowercase | tr '[:upper:]' '[:lower:]' |
| Remove punctuation | tr -d '[:punct:]' |
| Count words | wc -w |
| Count unique lines | sort -u | wc -l |
| Find duplicates | sort | uniq -d |
| Extract emails | grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}' |
| Extract URLs | `grep -oE 'https?://[^[:space:]<>"{} |