AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Word

skill-jie-meng-mythril-agent-skills-word · by jie-meng

>

No reviews yet
0 installs
7 views
0.0% view→install

Install

$ agentstack add skill-jie-meng-mythril-agent-skills-word

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jie-meng-mythril-agent-skills-word)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Word? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

When to Use This Skill

  • User mentions a .docx or .docm file and wants to read, extract, or inspect its content
  • Text extraction: extract text from paragraphs with heading detection
  • Table extraction: extract tables as markdown, JSON, or CSV
  • Metadata inspection: author, title, creation date, word count, structure
  • Image extraction: extract embedded images from the document
  • Markdown conversion: convert the full document to Markdown format

> Legacy .doc files: This skill handles .docx and .docm (modern Word formats). For legacy .doc files, the script will suggest converting to .docx first using LibreOffice (libreoffice --headless --convert-to docx file.doc) or an online converter.

Prerequisites

  • python-docx — install with: pip install python-docx

Pre-flight check:

python3 -c "import docx; print(docx.__version__)"

Install if missing:

pip install python-docx

Workflow

  1. Determine what the user wants (read text, extract tables, inspect metadata, convert to markdown, extract images)
  2. Run the appropriate script subcommand
  3. Read the output (text, markdown table, JSON, or confirmation) and present it to the user
  4. For multi-step tasks, chain subcommands in sequence

All commands use:

python3 scripts/word_ops.py  [options] 

The script path is relative to this skill directory.

Command Reference

Inspect document metadata

python3 scripts/word_ops.py info document.docx

Shows file size, title, author, subject, creation/modification dates, paragraph count, table count, word count, section count, and heading outline.

Extract text

# Extract all text
python3 scripts/word_ops.py text document.docx

# Extract first 50 paragraphs
python3 scripts/word_ops.py text document.docx --limit 50

# Skip empty paragraphs
python3 scripts/word_ops.py text document.docx --skip-empty

Headings are shown with # markers for visual hierarchy.

Extract tables

# Extract all tables as markdown (default)
python3 scripts/word_ops.py tables document.docx

# Extract as JSON
python3 scripts/word_ops.py tables document.docx --format json

# Extract as CSV (one file per table)
python3 scripts/word_ops.py tables document.docx --format csv --output-dir ./tables/

Extract embedded images

# Extract all images to a directory
python3 scripts/word_ops.py extract-images document.docx --output-dir ./images/

Output files are named _image_1.png, _image_2.png, etc.

Convert to Markdown

# Print to stdout
python3 scripts/word_ops.py to-markdown document.docx

# Save to file
python3 scripts/word_ops.py to-markdown document.docx -o document.md

Preserves heading hierarchy, bold/italic formatting, and tables.

Composing Multi-Step Workflows

The commands above are building blocks. Combine them to accomplish complex user requests. Examples:

"What's in this Word document?":

  1. info to see page count, title, author, etc.
  2. text --limit 30 to read the first 30 paragraphs for a quick overview

"Extract the tables and save as CSV":

  1. tables --format csv --output-dir ./tables/ to extract and save

"Convert this docx to markdown and show me":

  1. to-markdown to convert and print the full document

"Read this Word doc and summarize it":

  1. info to understand the structure
  2. text to extract all content
  3. Summarize based on the extracted text

Guidelines

  • Read before manipulate: always info or text --limit 10 first to understand the document
  • Large documents: use --limit to avoid overwhelming output
  • Legacy .doc: the script handles .docx only; for .doc files, convert first with LibreOffice
  • Tables: first row is treated as the header in markdown/JSON output
  • Images: extracted in their original format (PNG, JPEG, etc.)

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.