Krex AI's content loop — research, write, score, render, schedule — can run three ways: interactively in the app, hands-off on a cadence, or driven from Claude with our Skills pack. All three share one API.
The Automation hub
In the app, open Tools → Automation. It has four tabs:
- Coach — write → grade → improve one post, then optionally render and schedule it. You approve each step.
- Autopilot — standing programs that render and post on a cadence, unattended.
- Skills — download the Claude Skills bundle.
- API & Connections — create an API key and connect your social accounts.
Claude Skills
Five composable skills compose into one workflow:
- content-coach — the front door; orchestrates the rest.
- brand-brief — captures your voice, products, and CTA once.
- post-writer — drafts a platform-aware post.
- post-grader — scores it 0–10 and lists the top 3 fixes, looping to 8+.
- post-scheduler — publishes to your connected accounts.
Plus render-media for the video/image. Install: download the bundle from the Automation page, unzip into ~/.claude/skills/, set AIB_API_KEY and AIB_BASE_URL, then ask Claude to "use content-coach."
The JSON API
Every endpoint takes Authorization: Bearer <key> (a personal key starts sk_aib_). The essentials:
| Endpoint | Purpose | Cost |
|---|---|---|
POST /automation/posts/write | draft one post | 0 |
POST /automation/posts/grade | score a draft | 0 |
POST /automation/posts/compose | write → grade → fix loop to 8+/10 | 1 |
POST /automation/render | render a video/image (poll GET /jobs/:id) | per-model |
POST /schedule/posts | publish/schedule | 0 |
Errors worth handling: 402 (out of credits or a model needs a higher tier) and 412 (a platform isn't connected). The in-app API reference has the full request/response shapes.
Which mode should I use?
- Coach when you want to review every post.
- Autopilot when you want it fully hands-off.
- Skills / API when you live in Claude or want to wire Krex AI into your own tooling.
