Schedule Social Media Posts with Grok Build
- Install the Postiz plugin from the marketplace
- Sign in once with OAuth, no API key to paste
- Draft, schedule and publish to 30+ platforms
Postiz is the agentic social media scheduling platform that Grok Build drives through the Postiz plugin and MCP server. Please make sure there is always a human in the loop. Last updated: September 2026. Part of the Postiz AI agents guide.
How do I install Postiz in Grok Build?
Two commands install Postiz in Grok Build: add the Postiz marketplace source, then install the plugin. The plugin bundles the Postiz skill and the hosted Postiz MCP server, so you sign in once and start asking. It takes under a minute.
Run this in your terminal
Two commands add the Postiz marketplace and install the plugin. Grok Build opens a Postiz OAuth sign-in on first use.
grok plugin marketplace add gitroomhq/postiz-agent
grok plugin install postiz --trustOnce the marketplace source is added, you can also type /marketplace inside Grok Build, find postiz, and press i. Prefer the MCP link only? Add it to ~/.grok/config.toml as shown below, or read the Postiz MCP page.
Ask Grok Build to post for you
Once installed, Grok Build calls the Postiz tools. Posts publish at the scheduled time even after you close the session.
Post my blog article to X, LinkedIn, and Reddit with the cover image, schedule for tomorrow at 9am
Signed in to Postiz. Uploaded cover.png and scheduled 3 posts for tomorrow at 9:00 AM: X, LinkedIn, and Reddit (r/programming). Want me to save them as drafts instead?
via Postiz
Also try
- 1Don't have Grok Build yet? Run curl -fsSL https://x.ai/cli/install.sh | bash
- 2Add the Postiz marketplace: grok plugin marketplace add gitroomhq/postiz-agent
- 3Install the plugin: grok plugin install postiz --trust
- 4Start grok and ask which accounts you have connected. Sign in to Postiz with OAuth on first use.
Plugin or MCP link only? Which should you add to Grok Build?
Use the plugin. It includes everything the MCP link does plus the Postiz skill, which teaches Grok Build how Postiz works. Add only the MCP link if you manage MCP servers by hand in ~/.grok/config.toml.
| Option | What Grok Build gets | Sign-in | Best for |
|---|---|---|---|
| Postiz plugin (recommended) | Postiz skill plus the hosted Postiz MCP server, installed with two commands | OAuth in your browser on first use | Everyone; Grok Build learns Postiz workflows from the skill |
| MCP link only | The Postiz MCP tools, with no bundled skill | OAuth in your browser on first use | People who already manage MCP servers in ~/.grok/config.toml |
[[mcp.servers]]
name = "postiz"
type = "http"
url = "https://mcp.postiz.com/mcp-oauth-dynamic"Uploading local images or videos? Posting works through the bundled MCP server with no API key. To let Grok Build upload files from your machine through the Postiz CLI, also set POSTIZ_API_KEY from your Postiz settings.
What can Grok Build do with Postiz?
Grok Build can draft, schedule, and publish posts, upload media, build threads, apply platform-specific settings, and pull analytics through Postiz. Every Postiz call returns structured results, so Grok Build can verify its own work.
AI Agent Ready
Postiz returns structured results, so Grok Build can plan, run, and verify multi-step social media workflows on its own.
30+ Platforms
Post to Twitter/X, LinkedIn, Reddit, Instagram, YouTube, TikTok, and 22 more platforms. One request from you, Grok Build handles every platform.
Threads & Comments
Create threaded posts with multiple comments, each with their own media. Automatic conversion to platform-native threads.
Rich Media Support
Upload and attach images, videos, audio, and documents. Supports PNG, JPG, MP4, MOV, PDF, and many more formats.
Scheduled Posting
Schedule posts with precise timestamps, create drafts for review, and batch schedule entire content campaigns.
Platform-Specific Settings
Dynamic discovery of platform features like Reddit flairs, YouTube playlists, Pinterest boards, and LinkedIn company pages.
What is Grok Build?
Grok Build is xAI's coding agent and CLI. It runs in your terminal, plans and executes multi-step work on its own, and delegates larger tasks to subagents that run in parallel, including managing your social media with Postiz. It is not the Grok chatbot, and it is different from Grok Bot, xAI's always-on cloud agents.
Terminal Native
Talk to Grok Build right in your terminal. No browser or extra app: type what you want and manage your socials next to your code.
Plugins & MCP
Grok Build extends itself with plugins that bundle skills and MCP servers. The Postiz plugin ships both, so you install once and go.
Parallel Subagents
Grok Build hands larger tasks to subagents that run in parallel. Schedule a week of content in one while another refactors your code.
How does Postiz work with Grok Build?
The Postiz plugin gives Grok Build the Postiz skill and a connection to the hosted Postiz MCP server. Grok Build reads the skill to learn what Postiz can do, then calls the MCP tools whenever you ask for something social-media related.
- Install from the marketplace with two commands
- Sign in to Postiz once with OAuth, no token to paste
- Grok Build reads the Postiz skill and knows what it can do
- Ask in plain English; Grok Build does the rest
- Works with any Grok model available in Grok Build
# Add the Postiz marketplace
grok plugin marketplace add gitroomhq/postiz-agent
# Install the plugin
grok plugin install postiz --trust
# Start Grok Build and ask
grok
> Which social accounts do I have connected?
# Grok Build signs you in to Postiz and
# lists your channels. You are ready to post.Is Grok Build the same as Grok Bot or Grok?
No. Grok, Grok Bot, and Grok Build are three different xAI products, and Postiz connects to them differently. This page covers Grok Build, the terminal coding agent. If you use xAI's always-on cloud agents, see the Postiz plugin for Grok Bot instead.
| Product | What it is | Where it runs | How Postiz connects |
|---|---|---|---|
| Grok | xAI's conversational AI assistant | Chat interface | Not covered by a Postiz plugin |
| Grok Bot | xAI's always-on cloud agents that run routines for you | xAI cloud, no terminal needed | Postiz plugin from the Grok Bot marketplace, see /grok-bot |
| Grok Build | xAI's coding agent and CLI, with plugins, skills, and MCP | Your terminal (TUI or headless) | Postiz plugin installed with the grok CLI (this page) |
How do you post from the Grok Build terminal?
You type a request in the Grok Build session and it does the rest: it finds your accounts through Postiz, uploads media, and handles the entire posting workflow while you keep coding.
Just Ask Grok Build
One prompt, full automation
Type a request in the Grok Build session. It finds your accounts through Postiz, uploads the media, and schedules the posts, then confirms what it did.
> Post my blog article to X, LinkedIn,
and Reddit with the cover image,
schedule for tomorrow at 9am
Grok Build: Done! Posts scheduled:
- X (Twitter): tomorrow 9:00 AM
- LinkedIn: tomorrow 9:00 AM
- Reddit (r/programming): tomorrow 9:00 AMParallel Subagents
Social media and code, side by side
Grok Build delegates larger tasks to subagents that run in parallel. Hand one the week's content and let the others keep working on your codebase.
# Agent 1: schedule content
> Schedule a week of daily posts
to X and LinkedIn, using the
drafts in ~/content/drafts
# Agent 2: check analytics
> Summarize my social media analytics
for the last 30 days
# Agent 3: keep coding
> Refactor the auth module
to use JWT tokensCan Grok Build automate social media posting with cron?
Yes. Grok Build's headless mode (the -p flag) runs a single prompt from a script, so a cron job or CI step can ask it to schedule posts through Postiz. Postiz publishes at the scheduled time on its own servers, so nothing has to stay running on your machine.
# One prompt, no TUI
grok -p "Schedule the post in ~/content/today.md
to X and LinkedIn for 9am via Postiz"
# Weekdays at 8am, from a cron job
0 8 * * 1-5 cd ~/content && grok -p \
"Schedule today's draft to X and LinkedIn for 9am"What to know before you automate
- Complete the OAuth sign-in once in an interactive session before running headless jobs.
- Ask Grok Build to create drafts if you want to review posts before they go live.
- Postiz handles publishing at the scheduled time; Grok Build only needs to run when you create or change posts.
- Set POSTIZ_API_KEY in the job's environment if the prompt uploads local media through the Postiz CLI.
- Keep a human in the loop: review the schedule in Postiz before high-stakes launches.
What can you ask Grok Build?
You can ask Grok Build to list channels, check platform settings, schedule or cancel posts, upload media, and pull analytics. It handles the Postiz calls behind the scenes.
Schedule a cross-post
Post this to X and LinkedIn tomorrow at 9am
Turn a changelog into a thread
Turn this changelog into a 5-tweet thread and save it as a draft
Check the subreddit first
What flairs are available in r/programming?
Pull last month's numbers
How did my X account do last month?
Which platforms can Grok Build post to?
Grok Build can post to any of the 30+ platforms you connect in Postiz. Connect once, post everywhere. The 25 channel pages below cover the settings Grok Build can control on each platform.
X (Twitter)
Tweets, threads, and reply controls
Professional posts and image carousels
Feed posts, stories, and reels
Text posts, links, and media
Subreddits, flairs, and post types
YouTube
Video uploads, thumbnails, and tags
TikTok
Videos, privacy, duets, and stitches
Pins, boards, and link pins
Discord
Channel messaging and media
Slack
Channel messaging and team updates
Telegram
Bot-powered channel messaging
Twitch
Chat messages and announcements
Kick
Chat messages and notifications
Medium
Articles, publications, and tags
Dev.to
Developer articles and organizations
Hashnode
Blog posts and publications
WordPress
Posts, pages, and featured images
Dribbble
Design shots and team portfolios
Warpcast
Farcaster casts and channels
Lemmy
Federated community posts
Moltbook
AI agent social network
Google My Business
Business posts, events, and offers
Listmonk
Email campaigns and newsletters
Skool
Community posts and groups
Whop
Company forums and experiences
Grok Build and Postiz FAQ
What is Grok Build?
Is Grok Build the same as Grok Bot or the Grok chatbot?
How do I install Postiz in Grok Build?
Do I need a Postiz API key to post from Grok Build?
What can Grok Build do with Postiz?
Can Grok Build post to social media from a script or cron job?
Which social media platforms does Grok Build support through Postiz?
Is Postiz free to use with Grok Build?
Grok Build does not see the Postiz plugin. What should I check?
More ways to run Postiz from an AI agent
Start automating today
Install the Postiz plugin and let Grok Build handle your social media posting across every platform. You just ask.
