SkillTrust

← All skills

large-file-write-mkdir

97 / 100 · Low risk

Fine to try.

By HKUDS/AgentPilot (GitHub) · writing · 8,026 stars · scanned at commit e5a81e7

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.

Works with any agent that supports SKILL.md skills.

What this skill can do

Runs commands on your computer

This is disclosed by the author in the skill's SKILL.md or README.

Found in 3 places.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'large-file-write-mkdir' ] || [ -L ~/.agents/skills/'large-file-write-mkdir' ]; then echo 'A skill folder named large-file-write-mkdir already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/HKUDS/AgentPilot' "$d" && git -C "$d" checkout --quiet 'e5a81e7635009869d34dde8fbfd045d191296f3f' -- 'openspace/examples/my-daily-monitor/skills/large-file-write-mkdir' && mkdir -p ~/.agents/skills && cp -R "$d"/'openspace/examples/my-daily-monitor/skills/large-file-write-mkdir' ~/.agents/skills/'large-file-write-mkdir' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'large-file-write-mkdir' ~/.claude/skills/'large-file-write-mkdir' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for HKUDS/AgentPilot shows the score of its lowest-scoring skill.

SkillTrust badge for HKUDS/AgentPilot

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/HKUDS/AgentPilot.svg)](https://zalavijaysinh.github.io/skilltrust/repos/HKUDS/AgentPilot/)

Score history

DateVersionScore
2026-11-14e5a81e797
2026-11-08534ccaf97
2026-11-07534ccaf97

Also found in

Identical copies of this skill exist at: