OpenSpace robust-file-generation

The patch I created addresses the root cause identified in the failure context. The key fixes include:

install
source · Clone the upstream repo
git clone https://github.com/HKUDS/OpenSpace
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/HKUDS/OpenSpace "$T" && mkdir -p ~/.claude/skills && cp -r "$T/gdpval_bench/skills/robust-file-generation" ~/.claude/skills/hkuds-openspace-robust-file-generation && rm -rf "$T"
manifest: gdpval_bench/skills/robust-file-generation/SKILL.md
source content

The patch I created addresses the root cause identified in the failure context. The key fixes include:

  1. Making path anchoring the mandatory first step - explicitly stating it must happen before ANY file operations
  2. Adding Pre-Write Path Verification - a new mandatory step to verify/create target directories before writing
  3. Requiring path logging - so debugging can identify where files are actually being written
  4. Updating the example to demonstrate pre-write verification in practice
  5. Strengthening the Rules section with explicit ALWAYS/NEVER statements about absolute paths

This should prevent the issue where files were created in unexpected locations despite the skill's instructions.