gitroomhq/postiz-agent
Postiz Agents CLI - connect it to Claude / OpenClaw / etc, to schedule social media posts 🤖
What it solves
Postiz CLI provides a programmatic way to automate social media management across 28+ platforms. It eliminates the need for manual posting by allowing developers and AI agents to schedule content, manage media uploads, and track analytics through a command-line interface.
How it works
The tool acts as a CLI wrapper for the Postiz API. It supports two authentication methods: an OAuth2 device flow or a static API key. Once authenticated, users can:
- Discover Capabilities: Query available integrations, retrieve platform-specific character limits, and fetch dynamic data (like Reddit flairs or YouTube playlists) using integration tools.
- Create and Schedule: Generate posts or drafts with content, media, and platform-specific settings. It supports multi-platform campaigns and threading (converting comments into threads on X/Twitter or replies on Reddit).
- Manage Media: Upload files to Postiz servers first to ensure they are hosted on trusted domains, which is a requirement for platforms like TikTok and Instagram.
- Analyze: Retrieve engagement metrics for both overall platforms and individual posts.
Who it’s for
Developers and AI agent creators who want to build automated social media workflows without hardcoding platform-specific logic for every single social network.
Highlights
- Broad Platform Support: Works with 28+ platforms including X, LinkedIn, Reddit, TikTok, Instagram, and YouTube.
- AI-Agent Ready: All output is returned in JSON format, and it includes a discovery workflow that allows agents to learn platform constraints dynamically.
- Flexible Posting: Supports complex JSON-based post structures, multi-platform distribution, and automated threading.
- Integrated Media Handling: Built-in upload utility to satisfy strict platform requirements for verified media URLs.
Related
- Project
- Project
- Project
- Project
- Project