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