posts-create
Installation
SKILL.md
Create a draft on real channels in one call and hand back the server's own verdict — the safe half of the loop, ending exactly where a human (or the posts-publish skill) takes over.
Transports
- CLI (preferred):
inklate(npm i -g inklate) — structured YAML on stdout (--jsonfor JSON), progress on stderr, and typed exit codes:3no credentials,4a deliberate refusal — arming a not-ready post, or a plan limit — with its machine-readable payload on stdout,5not found,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. This skill never passes--scheduled-atonposts create— that turns the call into an arming attempt, which isposts-publish's job. - MCP (fallback): the Inklate MCP tools when the CLI is not installed.
Steps below name the MCP operation with the CLI form in parentheses; the fields are the same on both.
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-posts-create) and STOP. - If multiple organizations exist, ask which one (CLI:
--org <slug>).
Craft boundary
This skill owns create → read the verdict → fix judgment calls. The WRITING belongs to the paired craft skills: when social-post, social-thread, or social-crosspost is installed, get the draft from them first and feed their output in. Without them, use the user's text as given and make only the edits the server's response demands.