← Back to list

external-write
by juljus
⭐ 0🍴 0📅 Jan 15, 2026
SKILL.md
name: external-write description: Write files outside workspace sandbox (e.g., ~/.claude/skills). Use when creating/editing personal agent skills or other files that must exist outside the current workspace.
Skill: External Write (staging + rsync)
Use when
- Creating/editing files outside workspace (e.g., personal skills in
~/.claude/skills/).
Rules
- Stage everything in
_tmp_external_write/<target-name>/. - Publish with
rsync. - Always clean up the staging directory.
- Open all relevant published files with
code.
Procedure
1) Stage inside workspace
Create files under:
_tmp_external_write/<target-name>/...
Edit normally (workspace tools), no heredocs.
2) Publish with rsync
Use trailing slashes so contents sync correctly:
mkdir -p <dest>rsync -a --delete _tmp_external_write/<target-name>/ <dest>/
Examples:
- Destination (personal skills):
~/.claude/skills/<skill-name> - Command:
mkdir -p ~/.claude/skills/<skill-name>rsync -a --delete _tmp_external_write/<skill-name>/ ~/.claude/skills/<skill-name>/
3) Clean up (always)
After publish (even on failure), delete staging:
rm -rf _tmp_external_write/<target-name>
If doing multi-step shell work, prefer a trap:
trap 'rm -rf _tmp_external_write/<target-name>' EXIT
4) Open published files for user review
After publishing, open destination files with code so user can verify:
code <dest>/SKILL.md <dest>/...
Example:
code ~/.claude/skills/<skill-name>/SKILL.md
Notes
- Files in the destination are not automatically used just because they exist; link resources from
SKILL.mdif you want them reliably discoverable.
Score
Total Score
45/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
○言語
プログラミング言語が設定されている
0/5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon