inklate-setup
Installation
SKILL.md
Verify the Inklate connection, inventory the connected channels with their real capability rules, and leave the workspace ready for every other skill.
Transports
Every Inklate skill drives the platform through whichever transport this agent has — the operations are identical:
- CLI (preferred): the
inklatecommand (npm i -g inklate). Structured YAML on stdout (--jsonfor JSON), progress and prompts 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 so a missing flag fails loudly instead of prompting, and--yesto carry an approval the user has already given in chat. - MCP (fallback): the Inklate MCP tools, when the CLI is not installed.
Steps below name the MCP operation with its CLI equivalent in parentheses; run the CLI form when available.
Connection check
- Run
inklate auth check(MCP: callorganizations_list). This is always the first step. - On exit 3 — the CLI is installed but has no credentials — pick the path that fits the session:
- Interactive:
inklate auth loginruns the device flow. It prints a short code and a browser URL; the user approves the code and picks the organization, and the key lands automatically. - Headless (CI, unattended agents): the key comes from
INKLATE_API_KEY=inklate_…in the environment, orinklate auth set --token inklate_…. No browser involved. Agents holding several workspaces keep them apart with--profile <name>. - If neither the CLI nor the Inklate tools are available at all, tell the user to install with
npm i -g inklate(or connect athttps://inklate.com/skills/connect?ref=skills-inklate-setup) and STOP. Do not attempt any workaround.
- Interactive:
- If exactly one organization comes back, name it and continue. If several come back, list them and ask which one to use — never guess. Remember the choice for the rest of the session (CLI: pass
--org <slug>).