Converts office file formats (Word ↔ PDF, Excel ↔ PDF/CSV, PowerPoint → PDF, legacy .doc/.xls → .docx/.xlsx, Markdown → Word) and batch-converts files. Also fixes Vietnamese font encoding errors (TCVN3/.VnTime, VNI → Unicode).
Ships in chuyen-doi-file. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Đọc references/nguyen-tac-chung.md.
| Chuyển đổi | Cách làm (ưu tiên từ trên xuống) |
|---|---|
| Word/Excel/PPT → PDF | scripts/chuyen_doi.sh pdf file.docx (LibreOffice). Trên Windows: File → Save As → PDF |
| .doc → .docx, .xls → .xlsx, .ppt → .pptx | scripts/chuyen_doi.sh docx file.doc |
| PDF có lớp chữ → Word | scripts/chuyen_doi.sh docx file.pdf (bố cục có thể lệch) hoặc Word mở trực tiếp PDF |
| PDF scan → Word | OCR trước (skill xu-ly-pdf), rồi chuyển |
| Excel → CSV (UTF-8) | pandas.read_excel(...).to_csv(..., encoding="utf-8-sig") – utf-8-sig để Excel mở CSV không lỗi dấu |
| CSV → Excel | pandas.read_csv(..., dtype=str) rồi to_excel (giữ số 0 đầu) |
| Markdown/HTML → Word | pandoc file.md -o file.docx (có thể dùng --reference-doc để áp mẫu Times New Roman 14) |
| Hàng loạt | scripts/chuyen_doi.sh pdf *.docx |
| Hiện tượng | Bảng mã gốc | Ví dụ |
|---|---|---|
| "ViÖt Nam", "Céng hßa", "§éc lËp" | TCVN3 (ABC) – font .VnTime, .VnArial | phổ biến ở văn bản cơ quan nhà nước cũ |
| "Vieät Nam", "Coäng hoøa", "Ñoäc laäp" | VNI – font VNI-Times | phổ biến ở miền Nam |
| "Việt Nam" | Unicode UTF-8 bị đọc thành Windows-1252 | lỗi mã hóa khi mở CSV/web |
python3 scripts/tcvn3_to_unicode.py vao.docx ra.docx (hoặc .txt). Script chỉ đổi các đoạn dùng font .Vn* và đổi font sang Times New Roman; font .Vn...H (chữ hoa) được in hoa.s.encode("cp1252").decode("utf-8"), hoặc mở CSV bằng Excel qua Data → From Text/CSV → chọn File Origin "65001: Unicode (UTF-8)".Hop_dong_ABC_2026.pdfKhông khuyến nghị tải file hợp đồng, hồ sơ nhân sự lên trang chuyển đổi trực tuyến. Ưu tiên LibreOffice/Word cục bộ.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/chuyen-doi-file:chuyen-doi-filefrom chuyen-doi-file
npx claudepluginhub nguyenvansuai/20skill-van-phong --plugin chuyen-doi-file2 plugins in one repository ship this exact skill · first indexed Oct 30, 2026