본문으로 건너뛰기
Skillpedia
PDF, Word, 슬라이드260k · #610

microsoft-office

하는 일

이 스킬은 AI가 파이썬 도구로 Word 문서, PowerPoint 발표 자료, Excel 통합 문서를 만들고 수정하도록 합니다. AI가 만든 Office 파일이 필요하거나 기존 파일을 고쳐야 하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Word 보고서, 편지, 템플릿을 만들거나 편집하고 싶을 때.
  • ✓PowerPoint 발표 자료를 만들거나 새로 고치거나 발표자 노트를 추가하고 싶을 때.
  • ✓수식, 차트, 서식이 있는 Excel 통합 문서를 만들고 싶을 때.

스킬 링크

https://github.com/NousResearch/hermes-agent/blob/main/skills/productivity/microsoft-office/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/NousResearch/hermes-agent/blob/main/skills/productivity/microsoft-office/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“월 예산, 지출, 저축을 각각 다룬 세 개의 시트가 있는 Excel 통합 문서를 만들고, 합계와 차트를 넣어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 스킬은 파이썬 라이브러리를 사용해 .docx, .pptx, .xlsx 파일을 직접 씁니다. Microsoft Office를 설치할 필요는 없지만, 오래된 파일 형식을 변환하거나 페이지를 렌더링하려면 LibreOffice가 필요합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Microsoft Office Skill

Create, read, edit, and template Word (.docx), PowerPoint (.pptx), and Excel (.xlsx, .csv) files offline with small Python CLIs built on python-docx, python-pptx, and openpyxl. Office itself is never needed. It does not open legacy binary formats (.doc, .ppt, .xls) and does not render pages without LibreOffice.

When to Use

Pick the format, then read its reference with skill_view before working:

File Reference Typical asks
.docx references/word.md reports, letters, contracts, {{token}} templates, tracked changes, comments
.pptx references/powerpoint.md pitch decks, brand-template decks, chart refreshes, speaker notes, slide PNGs
.xlsx, .csv references/excel.md styled multi-sheet workbooks, formulas, charts, CSV conversion, row/column restructures

Deeper notes: references/revisions-and-comments.md (Word review markup) and references/restructuring.md (Excel reference shifting).

  • Not for .doc/.ppt/.xls: convert first with soffice --headless --convert-to docx|pptx|xlsx old-file when LibreOffice is installed.
  • Not for .odt/.odp/.ods, or WYSIWYG layout work.

Prerequisites

  • Python 3.10+ with python-docx, python-pptx, and openpyxl (import names docx, pptx, openpyxl).

  • Pick the interpreter with terminal. Use python when it already imports the libraries (the Hermes Docker image ships them). Otherwise, when hermes is on PATH, let Hermes build its shared, pinned documents environment under the Hermes home: it survives container restarts, never touches the Hermes install itself, and is safe to run from several agents at once. When it is not (the terminal runs in a Docker sandbox, which has no Hermes), the block builds a venv in the sandbox home with the same pinned versions. Use this exact block in every document skill so they all share one environment:

    python -c "import docx, pptx, openpyxl" 2>/dev/null && PY=python || if command -v hermes >/dev/null 2>&1; then
      PY="$(hermes pm environment documents --extra documents --extra documents-pdf)"
    else
      PY="$HOME/.cache/hermes-docs-venv/bin/python"
      "$PY" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" 2>/dev/null || (
        # Safe to run from several agents at once: each caller builds a private venv,
        # a symlink publishes the first finished one atomically, the others delete theirs;
        # a published build is replaced and deleted only while it still fails to import.
        mkdir -p "$HOME/.cache" && cd "$HOME/.cache" && stage="$(mktemp -d hermes-docs-venv.XXXXXX)" || exit 1
        old="$(readlink hermes-docs-venv)"  # the published build, if any (another agent may have just published it)
        python3 -m venv "$stage" &&
          "$stage/bin/python" -m pip install -q --disable-pip-version-check python-docx==1.2.0 openpyxl==3.1.5 python-pptx==1.0.2 reportlab==5.1.0 pypdf==6.21.2 pdfplumber==0.11.10 pypdfium2==5.14.0 &&
          "$stage/bin/python" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" &&
          if [ -z "$old" ]; then python3 -c 'import os, sys; os.symlink(*sys.argv[1:])' "$stage" hermes-docs-venv
          elif [ "$(readlink hermes-docs-venv)" = "$old" ] && ! "$old/bin/python" -c "import docx, openpyxl, pptx, reportlab, pypdf, pdfplumber, pypdfium2" 2>/dev/null; then
            ln -s "$stage" "$stage.lnk" && python3 -c 'import os, sys; os.replace(*sys.argv[1:])' "$stage.lnk" hermes-docs-venv &&
              case "$old" in hermes-docs-venv.??????) rm -rf "$old" ;; esac
          fi 2>/dev/null
        [ "$(readlink hermes-docs-venv)" = "$stage" ] || rm -rf "$stage" "$stage.lnk"
      )
    fi
    export PY
    "$PY" scripts/docx_create.py --help
    

    Run every helper with "$PY". In PowerShell (Hermes runs on that host, so it is on PATH): $env:PY = hermes pm environment documents --extra documents --extra documents-pdf. Never pip install into the interpreter that runs Hermes or into the hermes pm environment one; Hermes owns both.

  • Optional: LibreOffice (soffice) for PDF export, Excel recalculation, and slide rendering, plus poppler (pdftoppm or pdftocairo) for slide PNGs. The helpers that need them report what is missing and exit 0.

How to Run

Every helper lives in scripts/, is an argparse CLI with --help, prints JSON to stdout, and exits non-zero on failure. Run them with terminal from the skill

자주 묻는 질문

오래된 Office 파일을 열 수 있나요?

아니요. 스킬에 따르면 .doc, .ppt, .xls 파일은 열 수 없으므로 먼저 변환해야 합니다.

Microsoft Office가 필요한가요?

아니요. 스킬에 따르면 파이썬 라이브러리로 오프라인에서 작동하며, Office 자체는 전혀 필요하지 않습니다.

어떤 파이썬 버전이 필요한가요?

스킬은 python-docx, python-pptx, openpyxl과 함께 Python 3.10 이상을 요구합니다.

상세 정보

작성자의 원본 설명

Create, read, and edit Word, PowerPoint, and Excel files.

repo: NousResearch/hermes-agent

인기도

GitHub 스타
260k
순위
#610
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬