files-upload
Installation
SKILL.md
Move media into Inklate once, verify it processed, and return the file ids everything else attaches.
Transports
- CLI (preferred):
inklate files upload <paths…>handles the whole handshake — presigned reservation, byte upload, and polling until each file leavesprocessing. YAML on stdout (--jsonfor JSON), progress on stderr, and typed exit codes:3no credentials,4a deliberate refusal with its machine-readable payload on stdout,6the resource changed underneath you,7rate limited but safe to re-run later. Pass--no-inputwhen running unattended, and--yesto carry an approval the user has already given in chat (deleting a file needs it). - Local MCP bridge:
inklate mcpexposesfiles_uploadtaking local file paths (same handshake, run by the bridge). - Remote MCP: cannot read local disks — pass a public
https://URL directly inposts_create'smedialist instead; the server fetches and stores it (pollfiles_getuntil ready).
Connection check
- Run
inklate auth check(MCP:organizations_list) first. - On exit 3 (no credentials): interactively run
inklate auth login; headless, the key comes fromINKLATE_API_KEY=inklate_…in the environment orinklate auth set --token inklate_…. If neither transport is available at all, tell the user to install withnpm i -g inklate(or connect athttps://inklate.com/skills/connect?ref=skills-files-upload) and STOP. - If multiple organizations exist, ask which one owns the media library (CLI:
--org <slug>).
Context
Read social-context.md (project root, then .agents/social-context.md) if present, and use it for one thing only: ## Platforms names the channels this media is headed for, which is what makes the handoff in step 5 specific ("these two are for the LinkedIn carousel") instead of generic. Uploading does not depend on it — proceed without it.