home/categories/scripting/hkuds-openspace-showcase-skills-large-file-write-mkdir-skill-md
scriptingdevelopment

large-file-write-mkdir

Reliable fallback technique for writing large file contents when write_file and shell_agent both fail with 'unknown error' due to payload size limits — uses run_shell with a Python heredoc to bypass tool constraints, with an explicit mkdir -p step to ensure the target directory exists before writing.

HKUDS
maintainer
HKUDS
更新於 3/24/2026
星標
4934
分支
588
quick start

Installation and usage

Reliable fallback technique for writing large file contents when write_file and shell_agent both fail with 'unknown error' due to payload size limits — uses run_shell with a Python heredoc to bypass tool constraints, with an explicit mkdir -p step to ensure the target directory exists before writing.

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use large-file-write-mkdir