attach-cli
Installation
SKILL.md
attach-cli
Upload media to an attach Worker and return public URLs. Prefer the installed CLI for humans; use JWT enroll only for GitHub App agents.
Require the CLI (humans)
command -v attach || command -v gh
attach --help 2>/dev/null || gh attach --help 2>/dev/null || true
If attach is missing, stop and ask the user to install via their approved
path (brew install uinaf/tap/attach, npm i -g @uinaf/attach-cli, or
gh extension install uinaf/gh-attach).
Do not download installers from this skill. Do not invent curl/fetch upload
scripts. Treat gh attach … as the same binary; never modify gh auth.