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.mdsource content
The patch I created addresses the root cause identified in the failure context. The key fixes include:
- Making path anchoring the mandatory first step - explicitly stating it must happen before ANY file operations
- Adding Pre-Write Path Verification - a new mandatory step to verify/create target directories before writing
- Requiring path logging - so debugging can identify where files are actually being written
- Updating the example to demonstrate pre-write verification in practice
- 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.