1Passwordに保存したパスワードやAPIキーを、コマンド実行や設定テンプレートで使うためのスキル。CLIの導入、認証、秘密情報の取得・受け渡しを案内します。
- 1Password CLIの導入と設定
- 保存済みAPIキーでコマンド実行
- 設定テンプレートへの秘密情報の埋め込み
Word、PowerPoint、Excelのファイルを作成・読み取り・編集し、テンプレートへの入力や表計算データの変換も行うスキルです。
Create, read, and edit Word, PowerPoint, and Excel files.
実行スコア 未検証
インストール方法を見るWord(.docx)、PowerPoint(.pptx)、Excel(.xlsx、.csv)のファイルを、コマンドラインの補助ツールで作成・読み取り・編集します。文書のテンプレートへの値の差し込み、変更履歴やコメントの確認、スライドのノートや構成の読み取り、表計算の数式・グラフの編集、CSVとの変換などに対応します。Microsoft Officeを起動せずにファイルを扱えます。
報告書や手紙を整えたいとき、プレゼン資料や表計算ファイルを作り直したいとき、既存ファイルの内容を確認して一部を更新したいときに役立ちます。ファイル形式ごとに使い方を参照してから操作するため、対象の形式が決まっている作業に向いています。
Python 3.10以降とpython-docx、python-pptx、openpyxlが必要です。PDF出力やスライド画像の描画、Excelの再計算にはLibreOfficeなどの追加ツールが必要です。旧形式の.doc、.ppt、.xlsや、.odt、.odp、.ods、見た目を画面上で調整する作業には対応しません。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。
点数には入れていません。 2026年10月30日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
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.
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).
.doc/.ppt/.xls: convert first with
soffice --headless --convert-to docx|pptx|xlsx old-file when LibreOffice is installed..odt/.odp/.ods, or WYSIWYG layout work.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.
mkdir -p "$HOME/.cache" && cd "$HOME/.cache" && stage="$(mktemp -d hermes-docs-venv.XXXXXX)" || exit 1
old="$(readlink hermes-docs-venv)" # an earlier build that no longer imports, if any
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" ]; 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.
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 directory. Author JSON specs with write_file; read results with
read_file or straight from stdout.
"$PY" scripts/docx_create.py spec.json out.docx
"$PY" scripts/pptx_create.py deck.json out.pptx
"$PY" scripts/xlsx_create.py spec.json report.xlsx
| Task | Word | PowerPoint | Excel |
|---|---|---|---|
| Create from JSON spec | docx_create.py | pptx_create.py | xlsx_create.py, csv_to_xlsx.py |
| Read back | docx_read.py --text/--structure | pptx_read.py --outline | xlsx_read.py --sheets/--json |
| Edit | docx_edit.py | pptx_edit.py | xlsx_edit.py, xlsx_restructure.py |
| Fill a template | docx_template.py | pptx_from_template.py | — |
| Review / check | docx_revisions.py, docx_comments.py, docx_validate.py | pptx_render.py (slide PNGs) | xlsx_recalc.py, xlsx_to_csv.py |
The per-format reference has the full flag table.
skill_view with file_path=references/<format>.md).PY with the Prerequisites block once per session.When LibreOffice is installed, convert headlessly:
soffice --headless --convert-to pdf --outdir out/ file.docx # also .pptx, .xlsx
soffice --headless --convert-to csv --outdir out/ report.xlsx # first sheet only
Check first with command -v soffice || command -v libreoffice. Fonts not on
the host are substituted, so render-check decks before shipping. There is no
pure-Python path to PDF for any of these formats: if soffice is missing, say
so rather than approximating. For other sheets use
xlsx_to_csv.py --sheet NAME.
patch/write_file only for JSON inputs.xlsx_recalc.py).docx_validate.py out.docx exits 0 after revision, comment, or field
surgery.pptx_render.py and check each PNG with
vision_analyze when the render tools exist.xlsx_read.py --formulas lists written formulas; run
xlsx_recalc.py when cached values matter."$PY" -m pytest tests/ -q (needs pytest in that interpreter).まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
1Passwordに保存したパスワードやAPIキーを、コマンド実行や設定テンプレートで使うためのスキル。CLIの導入、認証、秘密情報の取得・受け渡しを案内します。
損益計算書・貸借対照表・キャッシュフロー計算書を数式で連動させるExcelモデルを作ります。実績と予測の入力、前提を変えた比較、財務三表の整合性確認を段階的に進めます。
既存のPyTorch学習コードを少ない変更で複数GPUや複数マシン向けに整え、混合精度やメモリを節約する設定、学習の起動方法まで案内します。
HermesでActual Computerを使い、自分の機器でAIモデルを動かすための接続設定を支援します。中継サービスとローカル接続に対応し、モデル選択や応答確認も扱います。
技術が苦手で不満を抱きやすい利用者になりきってアプリを試し、操作の分かりにくさや離脱の原因を発見。実際の改善課題と個人的な不満を分け、修正案をまとめます。
2つのエージェントが別々に加えた変更のGit競合を、双方の差分と意図から中立的に解決。競合箇所ごとの判断理由を記録し、ビルドやテストで統合結果を確認します。