Loading...
Loading...
Use when user wants to post to social media (Twitter, LinkedIn, Instagram, TikTok, YouTube, Bluesky, etc.), schedule posts across platforms, or manage social media content via Zernio
npx skill4agent add maxandersen/skills zernio-clinpx @zernio/cli--draft| Task | Command |
|---|---|
| Check auth | |
| Login (browser) | |
| List accounts | |
| Create draft | |
| Publish post | |
| Schedule post | Add |
| Upload media | |
| List posts | |
npx @zernio/cli auth:check# Browser login (recommended - creates API key automatically)
npx @zernio/cli auth:login
# Or manual key (get from zernio.com/dashboard/api-keys)
npx @zernio/cli auth:set --key "sk_your-api-key"~/.zernio/config.json# 1. Get account IDs
npx @zernio/cli accounts:list
# 2. Create draft first (ALWAYS start with draft)
npx @zernio/cli posts:create \
--text "Your message here" \
--accounts account-id-1,account-id-2 \
--draft
# 3. Show command to user, ASK permission, then publish
# Only run after explicit user approval:
npx @zernio/cli posts:create \
--text "Your message here" \
--accounts account-id-1,account-id-2# Scheduled posts are safer (user can cancel before publish time)
# Still ASK permission before running this command
npx @zernio/cli posts:create \
--text "Your message" \
--accounts account-id \
--scheduledAt "2025-06-01T09:00:00Z"# 1. Upload media FIRST
npx @zernio/cli media:upload ~/path/to/image.png
# Returns: {"url": "https://..."}
# 2. Create draft with media URL
npx @zernio/cli posts:create \
--text "Your message" \
--accounts account-id \
--media "https://..." \
--draft
# 3. ASK permission, show user the draft, then publish
# Only run after explicit approval (remove --draft flag):
npx @zernio/cli posts:create \
--text "Your message" \
--accounts account-id \
--media "https://..."--media "url1,url2,url3"| Mistake | Fix |
|---|---|
Command | Use |
| "Account not found" | Run |
| Media not showing | Upload media first, then use returned URL |
| Post fails on some platforms | Check platform requirements (some need media) |
| Date format wrong | Use ISO 8601: |
| Use |
| Posted without asking | STOP. Always ask permission before posting |