Official agent skill

Excel Spreadsheets

by aws-samples in aws-samples/sample-strands-agent-with-agentcore

Create, modify, and manage Excel spreadsheets. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

OfficialMITAuto-check passedDocuments & Office

Install Excel Spreadsheets

skills CLI
$ npx skills add aws-samples/sample-strands-agent-with-agentcore --skill excel-spreadsheets -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aws-samples/sample-strands-agent-with-agentcore excel-spreadsheets --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aws-samples/sample-strands-agent-with-agentcore.git skills-src && mkdir -p .claude/skills && cp -r skills-src/chatbot-app/agentcore/skills/excel-spreadsheets .claude/skills/excel-spreadsheets && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
excel-spreadsheets
GitHub stars
194
Token cost
~1.8k tokens
SKILL.md length
618 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
MIT

At a glance

Create, modify, and manage Excel spreadsheets. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

  • Works in 3 steps: Before modifying: call… → After creation/modification: call… → Run tools sequentially (never parallel)…
  • Tasks that involve Excel spreadsheets
  • SKILL.md covers When to Use, Workflow, Professional Formatting and Financial Model Color Coding, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Excel Spreadsheets is an agent skill from aws-samples/sample-strands-agent-with-agentcore, published by the product's own GitHub organization. Create, modify, and manage Excel spreadsheets.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Documents & Office, covering Excel spreadsheets. It works with Microsoft Excel. The repository describes itself as: Reference architecture for agentic AI chatbots with Strands Agents and Amazon Bedrock AgentCore. The licence is MIT.

When your agent uses it

  • Tasks that involve Excel spreadsheets

Example prompts

  • “/excel-spreadsheets”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Before modifying: call preview_excel_sheets to check current layout.
  2. After creation/modification: call preview_excel_sheets to verify.
  3. Run tools sequentially (never parallel) to prevent file race conditions.

What it can do on your machine

Read from SKILL.md and the folder at commit 6dd9d13. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python and json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Excel Spreadsheets loads about 1.8k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 618 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from aws-samples/sample-strands-agent-with-agentcore at commit 6dd9d13, republished under its MIT licence (© aws-samples). 618 words, ~1,756 tokens.

Download SKILL.mdSave it as .claude/skills/excel-spreadsheets/SKILL.md (or your agent's skills folder).
name
excel-spreadsheets
description
Create, modify, and manage Excel spreadsheets.

Excel Spreadsheets

When to Use

ToolUse When
create_excel_spreadsheetUser asks to create/generate a NEW spreadsheet
modify_excel_spreadsheetUser asks to edit/update an EXISTING spreadsheet
list_my_excel_spreadsheetsUser asks what spreadsheets are available
read_excel_spreadsheetUser wants to download or read spreadsheet contents
preview_excel_sheetsCheck actual sheet appearance when editing

Workflow

  1. Before modifying: call preview_excel_sheets to check current layout.
  2. After creation/modification: call preview_excel_sheets to verify.
  3. Run tools sequentially (never parallel) to prevent file race conditions.

Professional Formatting

  • Font: Arial for all cells unless an existing template specifies otherwise.
  • Negative numbers: parentheses format (1,234) — not minus -1,234.
  • Currency: $#,##0 format. Specify units in headers (e.g., "Revenue ($mm)").
  • Percentages: 0.0% (one decimal place).
  • Years: format as text ("2024" not "2,024").
  • Zeros: display as "-" using a custom number format.
python
# Example: professional number formatting
from openpyxl.styles import numbers
ws['B2'].number_format = '$#,##0'          # Currency
ws['C2'].number_format = '0.0%'            # Percentage
ws['D2'].number_format = '#,##0;(#,##0)'   # Negative in parentheses
ws['E2'].number_format = '@'               # Year as text
ws['F2'].number_format = '#,##0;(#,##0);"-"'  # Zeros as dash

Financial Model Color Coding

When building financial models, apply these conventions:

ColorHexUsage
Blue text0000FFHardcoded inputs and assumptions
Black text000000All formulas and calculations
Green text008000Links pulling from other worksheets
Yellow backgroundFFFF00Key assumptions needing attention
python
from openpyxl.styles import Font, PatternFill
ws['B2'].font = Font(name='Arial', color='0000FF')       # Blue: input
ws['B3'].font = Font(name='Arial', color='000000')       # Black: formula
ws['B4'].font = Font(name='Arial', color='008000')       # Green: cross-sheet link
ws['B5'].fill = PatternFill('solid', fgColor='FFFF00')   # Yellow bg: key assumption

Images

python
from openpyxl.drawing.image import Image
ws.add_image(Image('file.png'), 'E1')

Code Rules

  • Workbook is pre-initialized as wb = Workbook(), active sheet as ws = wb.active (create), or loaded as wb (modify). Do NOT include Workbook() or wb.save().
  • Available libraries: openpyxl, matplotlib, pandas, numpy (seaborn NOT available)
  • ALWAYS use Excel formulas, NEVER hardcode calculated values.
    • Wrong: ws['B10'] = total
    • Right: ws['B10'] = '=SUM(B2:B9)'
  • Place assumptions in separate cells, reference them in formulas (e.g., =B5*(1+$B$6) not =B5*1.05).
  • Avoid circular references.
  • Filenames: letters, numbers, hyphens only.

Tool Reference

create_excel_spreadsheet

Create a new Excel spreadsheet using openpyxl code.

ParameterTypeRequiredDescription
python_codestrYesPython code using openpyxl (see Code Rules above)
spreadsheet_namestrYesFilename without extension (letters, numbers, hyphens only)

Example tool_input:

json
{
  "python_code": "ws.title = 'Sales'\nws['A1'] = 'Quarter'\nws['B1'] = 'Revenue'\nfor i, (q, r) in enumerate(zip(['Q1','Q2','Q3','Q4'], [100,150,130,180]), start=2):\n    ws[f'A{i}'] = q\n    ws[f'B{i}'] = r",
  "spreadsheet_name": "quarterly-sales"
}

WARNING: Parameter is spreadsheet_name, NOT filename or name.

modify_excel_spreadsheet

Modify an existing spreadsheet and save with a new name.

ParameterTypeRequiredDescription
source_namestrYesExisting spreadsheet name (without .xlsx)
output_namestrYesNew output name (MUST differ from source)
python_codestrYesPython code to modify the spreadsheet

Example tool_input:

json
{
  "source_name": "quarterly-sales",
  "output_name": "quarterly-sales-v2",
  "python_code": "ws = wb.active\nws['B6'] = '=SUM(B2:B5)'"
}
list_my_excel_spreadsheets

List all spreadsheets in workspace. No parameters needed.

read_excel_spreadsheet

Retrieve a specific spreadsheet for download.

ParameterTypeRequired
spreadsheet_namestrYes
preview_excel_sheets

Get sheet screenshots for visual inspection before editing.

ParameterTypeRequiredDescription
spreadsheet_namestrYesSpreadsheet name without extension
sheet_nameslist[str]YesSheet names to preview (empty list [] for all sheets)
Show full SKILL.md (235 more words)Show less

UI Guidance (from tools-config)

Sequential Execution Required: Run modification tools sequentially, never in parallel (prevents race conditions on S3 file read/write).

When to Use:

  • create_excel_spreadsheet: User asks to create/generate a NEW Excel spreadsheet
  • modify_excel_spreadsheet: User asks to edit/modify/update an EXISTING spreadsheet
  • list_my_excel_spreadsheets: User asks what spreadsheets are available
  • read_excel_spreadsheet: User wants to download or read spreadsheet contents
  • preview_excel_sheets: Check actual sheet appearance when editing

Before Modifying: Always use preview_excel_sheets first to see the current layout.

CRITICAL — Formulas, Not Hardcoded Values:

  • ALWAYS use Excel formulas. NEVER calculate in Python and hardcode the result.
  • Wrong: ws['B10'] = total. Right: ws['B10'] = '=SUM(B2:B9)'
  • Place assumptions in separate cells, reference them in formulas (e.g., =B5*(1+$B$6) not =B5*1.05)
  • Formulas are auto-recalculated via LibreOffice after save.
  • Avoid circular references.

Professional Formatting:

  • Font: Arial for all cells unless existing template specifies otherwise
  • Negative numbers: parentheses format (1,234) not minus -1,234
  • Currency: $#,##0 format; specify units in headers ("Revenue ($mm)")
  • Percentages: 0.0% (one decimal)
  • Years: format as text ("2024" not "2,024")
  • Zeros: display as "-" using custom number format

Financial Model Color Coding (when applicable):

  • Blue text (0,0,255): Hardcoded inputs and assumptions
  • Black text (0,0,0): All formulas and calculations
  • Green text (0,128,0): Links pulling from other worksheets
  • Yellow background (255,255,0): Key assumptions needing attention

Filenames: Letters, numbers, hyphens only (e.g., "Q4-sales.xlsx")

Available Libraries: openpyxl, matplotlib, pandas, numpy (seaborn NOT available)

Images: from openpyxl.drawing.image import Image; ws.add_image(Image('file.png'), 'E1')

QA: Always use preview_excel_sheets after creation to verify appearance.

© aws-samples, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in chatbot-app/agentcore/skills/excel-spreadsheets of aws-samples/sample-strands-agent-with-agentcore.

Open the folder on GitHubat commit 6dd9d13

Compare with similar skills

Excel Spreadsheets next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Excel Spreadsheets compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Excel Spreadsheets this skillaws-samples/sample-strands-agent-with-agentcore194—~1.8kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Docx4jplutext/docx4j2.4k—~2.5kAutomated safety check: PassNone
Instrument Data To Allotropeaws-samples/amazon-bedrock-agents-healthcare-lifesciences2742 repos~2.7kAutomated safety check: PassApache-2.0
Cyber Pptcrazyykhllc-bit/CyberPPT1.8k—~10kAutomated safety check: PassMIT
Markitshift-labs-ai/markit1.3k—~299Automated safety check: PassMIT

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Docx4j

    plutext/docx4j

    A skill your agent uses when writing Java code that creates, reads or edits Word (.docx), PowerPoint (.pptx) or Excel (.xlsx) files with docx4j — including generating documents, editing existing…

    2.4k GitHub stars~2.5k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Instrument Data To Allotrope

    aws-samples/amazon-bedrock-agents-healthcare-lifesciences

    Official

    Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV.

    274 GitHub starsUsed in 2 repos~2.7k tokens
    Documents & OfficeAuto-check passed
  • Cyber Ppt

    crazyykhllc-bit/CyberPPT

    当用户需要把 DOCX、PDF、TXT、XLSX、研究报告、业务材料或原始数据转成高密度、可编辑、咨询风格 PPTX 时使用;也适用于需要 SCR 论证、视觉风格探索、详细图表和渲染质检的 PPT。

    1.8k GitHub stars~10k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check passed
  • Markit

    shift-labs-ai/markit

    Convert files and URLs to Markdown. An agent skill from shift-labs-ai/markit.

    1.3k GitHub stars~299 tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Jev SEO

    AgriciDaniel/jev-seo

    Full live SEO audit of any website from its homepage URL, powered by Jev (TypeSafe's System One model).

    515 GitHub stars~2.5k tokensUpdated 15 days ago
    Documents & OfficeAuto-check: notes

More from aws-samples/sample-strands-agent-with-agentcore

All 24 skills in this repo
  • Doc Coauthoring

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Guide users through a structured workflow for co-authoring documentation.

    194 GitHub starsUsed in 39 repos~3.2k tokens
    Auto-check passed
  • Code Interpreter

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Test and prototype code in a sandboxed environment. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

    194 GitHub stars~3.6k tokensUpdated yesterday
    Auto-check passed
  • Research Agent

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Deep research with structured reports and charts. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

    194 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Workspace

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Read and write files in the shared session workspace. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

    194 GitHub stars~721 tokensUpdated yesterday
    Auto-check passed
  • Code Agent

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Autonomous coding agent. An agent skill from aws-samples/sample-strands-agent-with-agentcore.

    194 GitHub stars~3.1k tokensUpdated yesterday
    Auto-check passed
  • Delegate Work

    aws-samples/sample-strands-agent-with-agentcore

    Official

    Delegate one independent, context-heavy task to an isolated asynchronous analyst or reviewer.

    194 GitHub stars~610 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Excel Spreadsheets

What does Excel Spreadsheets do?

Create, modify, and manage Excel spreadsheets. An agent skill from aws-samples/sample-strands-agent-with-agentcore. Excel Spreadsheets is an agent skill from aws-samples/sample-strands-agent-with-agentcore, published by the product's own GitHub organization. Create, modify, and manage Excel spreadsheets.

When should I use Excel Spreadsheets?

Excel Spreadsheets fits situations like: tasks that involve Excel spreadsheets.

How do I install Excel Spreadsheets in Claude Code?

Run `npx skills add aws-samples/sample-strands-agent-with-agentcore --skill excel-spreadsheets -a claude-code`. Or copy the skill folder (chatbot-app/agentcore/skills/excel-spreadsheets in aws-samples/sample-strands-agent-with-agentcore) into .claude/skills/excel-spreadsheets in your project. Claude Code loads it when a task matches its description.

How do I install Excel Spreadsheets in Codex?

Run `npx skills add aws-samples/sample-strands-agent-with-agentcore --skill excel-spreadsheets -a codex`. Or copy the skill folder (chatbot-app/agentcore/skills/excel-spreadsheets in aws-samples/sample-strands-agent-with-agentcore) into .agents/skills/excel-spreadsheets in your project. Codex loads it when a task matches its description.

Can I use Excel Spreadsheets in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aws-samples/sample-strands-agent-with-agentcore --skill excel-spreadsheets -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/excel-spreadsheets, .gemini/skills/excel-spreadsheets, .github/skills/excel-spreadsheets and .opencode/skills/excel-spreadsheets in your project.

What does Excel Spreadsheets need to run?

SKILL.md names no scripts, command-line tools or credentials: Excel Spreadsheets is instructions for the agent only. Our summary lists: Python 3.

Does Excel Spreadsheets access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Excel Spreadsheets safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Excel Spreadsheets use?

Excel Spreadsheets is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Excel Spreadsheets use?

About 1.8k tokens (SKILL.md is roughly 7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Excel Spreadsheets?

Skills that share tags, products or a category with Excel Spreadsheets: Markitdown (ImCa0/just-laws, 781 stars), Docx4j (plutext/docx4j, 2.4k stars), Instrument Data To Allotrope (aws-samples/amazon-bedrock-agents-healthcare-lifesciences, 274 stars) and Cyber Ppt (crazyykhllc-bit/CyberPPT, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Excel Spreadsheets?

aws-samples (a GitHub organization, an official publisher) maintains it in aws-samples/sample-strands-agent-with-agentcore, which has 194 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on October 6, 2026.

Source: aws-samples/sample-strands-agent-with-agentcore on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.