unicode-safe-file-writing
97 / 100 · Low risk
Fine to try.
How to reliably write files containing multi-byte Unicode (emoji, special symbols) when write_file fails with 'unknown error' by falling back to run_shell with a heredoc.
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'unicode-safe-file-writing' ] || [ -L ~/.agents/skills/'unicode-safe-file-writing' ]; then echo 'A skill folder named unicode-safe-file-writing 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/unicode-safe-file-writing' && mkdir -p ~/.agents/skills && cp -R "$d"/'openspace/examples/my-daily-monitor/skills/unicode-safe-file-writing' ~/.agents/skills/'unicode-safe-file-writing' && 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/'unicode-safe-file-writing' ~/.claude/skills/'unicode-safe-file-writing' (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
[](https://zalavijaysinh.github.io/skilltrust/repos/HKUDS/AgentPilot/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-14 | e5a81e7 | 97 |
| 2026-11-08 | 534ccaf | 97 |
| 2026-11-07 | 534ccaf | 97 |
Also found in
- HKUDS/AgentPilot/openspace/legacy/v1/showcase/skills/unicode-safe-file-writing