jpskill.com
📄 ドキュメント コミュニティ

xlsx-author

Produce a .xlsx file on disk (headless) instead of driving a live Excel workbook — for managed-agent sessions with no open Office app.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o xlsx-author.zip https://jpskill.com/download/22495.zip && unzip -o xlsx-author.zip && rm xlsx-author.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/22495.zip -OutFile "$d\xlsx-author.zip"; Expand-Archive "$d\xlsx-author.zip" -DestinationPath $d -Force; ri "$d\xlsx-author.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して xlsx-author.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → xlsx-author フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] xlsx-author

xlsx-author

このスキルは、ヘッドレス(マネージドエージェント / CMA モード)で実行しており、mcp__office__excel_* を介してライブのワークブックを編集するのではなく、Excel ワークブックをファイル成果物として提供する必要がある場合に使用します。

出力契約

  • ./out/<name>.xlsx に書き込みます。存在しない場合は ./out/ を作成します。
  • オーケストレーション層が収集できるように、最終メッセージで相対パスを返します。

ワークブックの作成方法

短い Python スクリプトを記述し、Bash で実行します。openpyxl を使用します。

from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill

wb = Workbook()
ws = wb.active; ws.title = "Inputs"
ws["B2"] = "Revenue"; ws["C2"] = 1_250_000_000
ws["C2"].font = Font(color="0000FF")           # blue = hardcoded input
calc = wb.create_sheet("DCF")
calc["C5"] = "=Inputs!C2*(1+Inputs!C3)"        # black = formula
wb.save("./out/model.xlsx")

慣例(audit-xls に準拠)

  • 青 / 黒 / 緑。 青 = ハードコードされた入力、黒 = 数式、緑 = 別のシート/ファイルへのリンク。
  • 計算セルにハードコードなし。 すべての計算セルは数式であり、すべての入力は Inputs タブにあります。
  • デッキまたはメモから参照されるすべての値には名前付き範囲を使用します。
  • バランスチェック。 チェックタブを含め、残高(BS 残高、CF と現金の一致など)を照合し、TRUE/FALSE を表示します。
  • 1 ファイルにつき 1 モデル。 明示的に要求されない限り、既存のワークブックに追記しないでください。

使用すべきでない場合

mcp__office__excel_* ツールが利用可能な場合(Cowork プラグインモード)、そちらを使用してください。これらはユーザーのライブワークブックをレビューチェックポイント付きで操作します。このスキルは、ヘッドレス実行用のファイル生成フォールバックです。

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

xlsx-author

Use this skill when running headless (managed-agent / CMA mode) and you need to deliver an Excel workbook as a file artifact rather than editing a live workbook via mcp__office__excel_*.

Output contract

  • Write to ./out/<name>.xlsx. Create ./out/ if it does not exist.
  • Return the relative path in your final message so the orchestration layer can collect it.

How to build the workbook

Write a short Python script and run it with Bash. Use openpyxl:

from openpyxl import Workbook
from openpyxl.styles import Font, PatternFill

wb = Workbook()
ws = wb.active; ws.title = "Inputs"
ws["B2"] = "Revenue"; ws["C2"] = 1_250_000_000
ws["C2"].font = Font(color="0000FF")           # blue = hardcoded input
calc = wb.create_sheet("DCF")
calc["C5"] = "=Inputs!C2*(1+Inputs!C3)"        # black = formula
wb.save("./out/model.xlsx")

Conventions (mirror audit-xls)

  • Blue / black / green. Blue = hardcoded input, black = formula, green = link to another sheet/file.
  • No hardcodes in calc cells. Every calculation cell is a formula; every input lives on an Inputs tab.
  • Named ranges for any value referenced from a deck or memo.
  • Balance checks. Include a Checks tab that ties (BS balances, CF ties to cash, etc.) and surfaces TRUE/FALSE.
  • One model per file. Do not append to an existing workbook unless explicitly asked.

When NOT to use

If mcp__office__excel_* tools are available (Cowork plugin mode), use those instead — they drive the user's live workbook with review checkpoints. This skill is the file-producing fallback for headless runs.