postiz-cli-agents
Postiz CLI for AI agents
Overview
Use the global postiz command to drive Postiz’s public HTTP API: discover connected channels, create scheduled or draft posts, upload media, and read analytics. Output is JSON-friendly for scripting.
Documentation: Introduction · Public API · Index: llms.txt · Agent repo: gitroomhq/postiz-agent
Deeper command and provider detail: load references/cli-command-reference.md and references/environment-and-troubleshooting.md when needed.
When to use this skill
- Schedule or draft posts, threads, or multi-platform campaigns via CLI.
- List or delete posts; inspect date ranges.
- Upload images, video, or documents before referencing URLs in posts.
- Discover integration IDs, schemas, and trigger provider tools (flairs, playlists, companies, etc.).
- Read platform or post analytics; resolve
missingprovider linkage withposts:missingandposts:connect. - Point a CLI at a self-hosted instance using
POSTIZ_API_URL.
Prerequisites
- Install the CLI globally (any of):
npm install -g postiz,pnpm install -g postiz, orbun install -g postiz. - Ensure
postizis onPATH(verify withpostiz --help).
Environment (required)
The CLI reads only process environment variables, not project .env files automatically.
- Set
POSTIZ_API_KEYbefore any command. - Optionally set
POSTIZ_API_URL(default public API:https://api.postiz.com).
If the key lives in a .env file, export it for the shell session before calling postiz. See references/environment-and-troubleshooting.md for patterns (direnv, set -a / source, etc.).
Never commit API keys or paste them into logs or chat output.
Core agent workflow
Execute steps in order unless the task is read-only (e.g. list posts).
- Discover:
postiz integrations:list— note each integrationidand provider identifier. - Schema:
postiz integrations:settings <integration-id>— character limits, required settings, available tool methods. - Dynamic data (optional):
postiz integrations:trigger <id> <method> [-d '{"key":"value"}']— e.g. Reddit flairs, YouTube playlists, LinkedIn companies. - Media: For TikTok, Instagram, YouTube, and similar, run
postiz upload <file>first; use the returned URL in-m(comma-separated per content block). - Create:
postiz posts:createwith ISO 8601-sdate,-iintegration id(s), and optional-c,-m,--settings,--json. - Analytics:
postiz analytics:platform <integration-id>orpostiz analytics:post <post-id>. If post analytics indicate missing linkage, runpostiz posts:missing <post-id>thenpostiz posts:connect <post-id> --release-id "...".
Command quick reference
| Area | Commands |
|---|---|
| Integrations | integrations:list, integrations:settings <id>, integrations:trigger <id> <method> [-d json] |
| Posts | posts:create (requires -s, -i), posts:list, posts:delete <id>, posts:missing <id>, posts:connect <id> --release-id |
| Media | upload <file> |
| Analytics | analytics:platform <integration-id> [-d days], analytics:post <post-id> [-d days] |
Create post (minimal):
postiz posts:create -c "Content" -s "2025-12-31T12:00:00Z" -i "integration-id"
Create from JSON file:
postiz posts:create --json post.json
List integrations (JSON):
postiz integrations:list
Full flags, endpoints table, and platform notes: references/cli-command-reference.md.
Output and parsing
Treat CLI stdout as JSON where documented. Use jq in shell pipelines when selecting fields (e.g. integration id by provider, upload .path).
Related in-repo reference
If working inside the Postiz application monorepo (postiz-app), the canonical long-form CLI skill lives at apps/cli/SKILL.md with extended provider examples.
More from jarmen423/skills
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
15xlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
14runpod-serverless
Create serverless endpoint templates and endpoints on RunPod.io. Supports Python/Node.js runtimes, GPU selection (3090, A100, etc.), and idempotent configuration. Use this skill when a user wants to set up a new serverless endpoint or template on RunPod.
13qwen3-tts
Build text-to-speech applications using Qwen3-TTS, a powerful speech generation system supporting voice clone, voice design, and custom voice synthesis. Use when creating TTS applications, generating speech from text, cloning voices from audio samples, designing new voices via natural language descriptions, or fine-tuning TTS models. Supports 10 languages (Chinese, English, Japanese, Korean, German, French, Russian, Portuguese, Spanish, Italian).
13skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
13webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
13