excel-heredoc-fallback

Installation
SKILL.md

Excel Creation via Shell Heredoc Fallback

Overview

When creating Excel files with openpyxl, execute_code_sandbox may fail due to sandbox restrictions, missing dependencies, or permission issues. This skill provides a reliable fallback: execute Python code via run_shell using an inline heredoc script. This approach often succeeds where the sandbox fails and supports full openpyxl features including styling, formulas, and formatting.

When to Use This Skill

  • execute_code_sandbox fails when importing or using openpyxl
  • Sandbox shows errors about missing packages, permissions, or execution restrictions
  • You need to create Excel files with advanced formatting (styles, colors, merged cells, formulas)
  • Previous sandbox attempts have failed multiple times

Step-by-Step Instructions

Step 1: Attempt Sandbox Execution First

Always try execute_code_sandbox first, as it's cleaner and preferred when it works:

Installs
3
Repository
hkuds/openspace
GitHub Stars
6.7K
First Seen
May 21, 2026
excel-heredoc-fallback — hkuds/openspace