Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

office-to-md-v2

bởi lkyyyy320

Coding Agents & IDEs
814Lượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Convert office documents (PDF, DOC, DOCX, PPTX) to Markdown format.

Mô tả

Kỹ năng này làm gì

Converts PDF, DOC, DOCX, and PPTX files to Markdown format within OpenClaw. Uses pdf-parse, mammoth, word-extractor, and python-pptx under the hood. Legacy .doc files are supported including Chinese-encoded content.

Handles legacy .doc binary format and Chinese encoding where most converters require .docx or clean UTF-8 input.

Khi nào nên dùng

  • Extract text from a legacy .doc contract for analysis
  • Convert a PDF report to Markdown for LLM processing
  • Batch-convert a folder of mixed office documents
  • Pull slide text from a PPTX presentation
  • Read a DOCX with preserved heading structure

Quy trình ví dụ

ĐẦU VÀO

User asks: convert report.doc to Markdown and show a word count

AGENT
  1. 1

    Validate the file path exists using read()

  2. 2

    Check the file extension is in the supported list

  3. 3

    Run the skill via exec: node openclaw-skill.js report.doc

  4. 4

    Read the output report.md from disk

  5. 5

    Count words and lines, return a preview of the content

ĐẦU RA

report.md created; word count, line count, and a 200-character preview returned to the user

Cài đặt

clawhub install lkyyyy320/office-to-md-v2

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết