openpyxl-sandbox-workaround
Skill by HKUDS
Provides a fallback for openpyxl spreadsheet tasks when execute_code_sandbox repeatedly fails. It runs inline Python through run_shell instead. Aimed at assistants that hit sandbox errors during Excel file work.
Install openpyxl-sandbox-workaround
Built from the published package, never by AI.
git clone --depth 1 https://github.com/HKUDS/OpenSpace /tmp/OpenSpace && mkdir -p ~/.claude/skills && cp -r /tmp/OpenSpace/benchmarks/gdpval/skills/openpyxl-sandbox-workaround ~/.claude/skills/openpyxl-sandbox-workaroundRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install openpyxl-sandbox-workaround in Claude Code
git clone --depth 1 https://github.com/HKUDS/OpenSpace /tmp/OpenSpace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/OpenSpace/benchmarks/gdpval/skills/openpyxl-sandbox-workaround ~/.gemini/antigravity-cli/skills/openpyxl-sandbox-workaroundAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install openpyxl-sandbox-workaround in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The openpyxl Sandbox Workaround skill describes a fallback for spreadsheet tasks when execute_code_sandbox repeatedly fails with openpyxl errors. Instead of retrying in the sandbox, the assistant runs a Python script inline through run_shell, using a heredoc. The skill includes examples for creating a workbook, writing cells, saving output.xlsx, and adjusting column widths.
It also covers a multi-step pattern that loads an existing workbook, processes data, and saves the result, plus a verification step that lists sheet names. The source is aimed at users whose assistant has run_shell access and who need a reliable route for openpyxl work. It is published by HKUDS.
Written from the project's SKILL.md and checked against it.
What it can do
- Inline Python fallbackRuns openpyxl code through run_shell with a heredoc when execute_code_sandbox fails.
- Workbook creationCreates a new workbook, writes header and value cells, and saves output.xlsx.
- Multi-step processingLoads an existing workbook if present, writes data rows, and auto-adjusts column widths.
- Output verificationLists sheet names and the active sheet of a saved workbook.
What you need
- Python 3 with the python3 command available in the shell
- openpyxl library
- Access to a run_shell tool
Try asking
- Create an xlsx file with a header row and save it as output.xlsx
- Load input.xlsx, process its rows, and save the result as output.xlsx
- Check the sheet names and active sheet of output.xlsx
Good to know
- Output is limited to stdout and stderr, with no direct artifact download from run_shell.
- Files are created in the current working directory.
- More verbose than execute_code_sandbox for simple operations.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: benchmarks/gdpval/skills/openpyxl-sandbox-workaround/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to openpyxl-sandbox-workaround
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
openpyxl-sandbox-workaround: common questions
When should I use this openpyxl workaround?
The source says to use it when the first execute_code_sandbox attempt fails with openpyxl errors, or when an error persists after 1 or 2 retries. It also suggests it for time-sensitive tasks that need a reliable solution.
Does this skill replace execute_code_sandbox?
No. The source presents it as a fallback that is used instead of execute_code_sandbox only when that sandbox fails for openpyxl or spreadsheet operations.
Where does the output file go?
The source states that files are created in the current working directory, and it recommends using absolute paths or confirming the working directory.
How do I install openpyxl-sandbox-workaround?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is openpyxl-sandbox-workaround free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is openpyxl-sandbox-workaround safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to openpyxl-sandbox-workaround?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
