From asi
Creates, edits, and analyzes DOCX files: extracts text with Pandoc, builds new docs with docx-js, manipulates OOXML for edits and tracked changes.
npx claudepluginhub plurigrid/asi --plugin asiThis skill uses the workspace's default tool permissions.
- **Reading/Analyzing**: Use text extraction or raw XML access
Creates, edits, and analyzes .docx files supporting tracked changes, comments, formatting preservation, and text extraction via pandoc, docx-js, and OOXML.
Processes .docx Word files: create with docx-js, edit preserving tracked changes/comments/formatting, extract text via pandoc, analyze raw OOXML.
Provides workflows for creating, editing, and analyzing .docx files: pandoc for text extraction, docx-js for new docs, Python OOXML unpacking/editing, redlining for changes.
Share bugs, ideas, or general feedback.
# Convert to markdown with tracked changes
pandoc --track-changes=all file.docx -o output.md
# Unpack document
unzip document.docx -d unpacked/
# Key files:
# word/document.xml - Main content
# word/comments.xml - Comments
# word/media/ - Images
import { Document, Paragraph, TextRun, Packer } from 'docx';
import fs from 'fs';
const doc = new Document({
sections: [{
children: [
new Paragraph({
children: [
new TextRun({ text: "Hello ", bold: true }),
new TextRun({ text: "World", italics: true })
]
})
]
}]
});
const buffer = await Packer.toBuffer(doc);
fs.writeFileSync('document.docx', buffer);
unzip doc.docx -d unpacked/word/document.xmlcd unpacked && zip -r ../edited.docx .For professional documents, use tracked changes:
<!-- Deletion -->
<w:del w:author="Author" w:date="2025-01-01T00:00:00Z">
<w:r><w:delText>old text</w:delText></w:r>
</w:del>
<!-- Insertion -->
<w:ins w:author="Author" w:date="2025-01-01T00:00:00Z">
<w:r><w:t>new text</w:t></w:r>
</w:ins>
# DOCX to PDF
soffice --headless --convert-to pdf document.docx
# PDF to images
pdftoppm -jpeg -r 150 document.pdf page
This skill connects to the K-Dense-AI/claude-scientific-skills ecosystem:
general: 734 citations in bib.duckdbThis skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:
Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826
The skill participates in triads satisfying:
(-1) + (0) + (+1) ≡ 0 (mod 3)
This ensures compositional coherence in the Cat# equipment structure.