office-xlsx
Installation
SKILL.md
office-xlsx — native XLSX with openpyxl
You build editable .xlsx workbooks with Python openpyxl: real formulas the recipient can recalc, explicit number formats and fonts, and native charts. You can also read and parse existing workbooks. No LibreOffice.
Runtime contract
uvmust be onPATH. All Python runs throughuv run; the runtime injects the package-mirror environment variables souvresolvesopenpyxlfrom the internal mirror. You do not configure the mirror.- If
uvis missing, stop and report exactly:office-xlsx requires 'uv' on PATH, but 'uv --version' failed. This is an environment problem — uv should be provisioned by the PawWork runtime. Do not fall back to system pip; report the missing uv instead.Do not attemptpip installor any other fallback. - The skill directory ships read-only inside the app bundle. Never write into it. Work in a fresh directory.
SKILL_DIR below means the skill's base directory as a plain filesystem path — copy the line labeled "Base directory as a plain filesystem path" from the skill-load output. Do not use the file:// URL form; if only a file:// URL is available, strip the file:// prefix first.
SKILL_DIR="<plain filesystem path from the skill-load output, no file:// prefix>"
uv --version || { echo "office-xlsx requires 'uv' on PATH (see Runtime contract)"; exit 1; }
mkdir -p work && cp "$SKILL_DIR/pyproject.toml" work/pyproject.toml # pins openpyxl==3.1.5
Run every uv run command from work/.