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
Atualizado 3/24/2026
Estrelas
4934
Forks
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.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use large-file-write-mkdir