本文へ移動
cccskills
無料GitHub で公開

xlsx

Use this skill whenever the user wants to do anything with Excel spreadsheet files (.xlsx, .xls, .csv). This includes reading data, writing formulas, manipulating cells, formatting, filtering, creating charts, pivot tables, and any spreadsheet automation tasks.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Excel Spreadsheet Processing

Use openpyxl to read and write .xlsx files.

Quick Start

from openpyxl import load_workbook

wb = load_workbook("input.xlsx")
ws = wb["Sheet1"]

value = ws["A1"].value
ws["B2"] = 42
ws["C2"] = "=SUM(A2:B2)"

wb.save("output.xlsx")

Use this for direct cell edits, formula updates, and simple workbook changes.

Reading Data with pandas

import pandas as pd

df = pd.read_excel('file.xlsx')                          # First sheet
all_sheets = pd.read_excel('file.xlsx', sheet_name=None) # All sheets as dict

Common Pitfalls

  • Cell indices are 1-based: ws.cell(row=1, column=1) is A1.
  • data_only=True destroys formulas on save: Use a separate workbook object for reading calculated values.
  • ws.max_row overcounts: May include formatted-but-empty rows. Scan the column to find the last non-empty cell when you need the true data range.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Give an AI agent persistent, cross-session long-term memory through MindMemOS. Covers installing and authenticating the mindmemos CLI, the full command interface (add / search / get / update / delete / feedback / dreaming) with parameters and examples, guidance on which capability to use when, plus a Python SDK example. To wire memory into a specific agent host (OpenClaw, DeepSeek Harness, Codex, Claude, etc.), see references/.

日本語の概要は準備中です。原文の説明を表示しています。

mindscale-noah/MindMemOS1,0032026年10月9日 更新

mindscale-noah のスキルをすべて見る

このスキルの問題を報告する