Skip to content
Back to skills

Docx Editor

ASecurity

Word document (.docx) utilities including character normalization for fixing smart quotes, em dashes, and other special characters that break find-and-replace operations. Use when editing Word documents or when encountering "String not found" errors.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add smorrel1/claude-code-skills --skill docx-editor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Docx Editor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Docx Editor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/smorrel1-docx-editor/badge)](https://www.skillsdirectory.com/skills/smorrel1-docx-editor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: docx-editor
description: Word document (.docx) utilities including character normalization for fixing smart quotes, em dashes, and other special characters that break find-and-replace operations. Use when editing Word documents or when encountering "String not found" errors.
---

# DOCX Editor Utilities

Tools for working with Microsoft Word documents, particularly for fixing character encoding issues.

## Character Normalization

Word documents often contain special Unicode characters that look similar to standard ASCII but break text operations:

| Word Character | Replacement | Name |
|----------------|-------------|------|
| " " | " " | Smart double quotes |
| ' ' | ' ' | Smart single quotes |
| — – | - | Em/en dashes |
| → | -> | Arrow |
| … | ... | Ellipsis |

### Usage

```bash
# Normalize text with special characters
python3 scripts/fix_docx_chars.py "Text with "smart quotes" and — dashes"

# From stdin
echo "Text with — special chars" | python3 scripts/fix_docx_chars.py -
```

## When to Use

1. **Before editing .docx files**: Run text through normalizer before using in find-and-replace
2. **When Edit tool fails**: If you get "String not found" errors, the text likely has special characters
3. **Copying from Word**: Text pasted from Word often contains invisible special characters

## Workflow

1. Read the problematic text from the document
2. Run it through `fix_docx_chars.py` to get normalized version
3. Use the normalized text for search/replace operations

## Other Utilities

- `docx_utils.py`: General DOCX manipulation utilities

Files in this skill

  • SKILL.md1.6 KB
  • scripts/docx_utils.py12 KB
  • scripts/fix_docx_chars.py2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.