Schedule Social Media Posts with Codex
- Install the Lynqo skill or MCP server in a minute
- Codex lists channels, uploads media, schedules posts
- Works from your terminal, IDE or a codex exec script
Lynqo is the agentic social media scheduling platform that Codex drives through the Lynqo skill and MCP server. Please make sure there is always a human in the loop.
How do I connect Codex to Lynqo?
Codex connects to Lynqo two ways: install the Lynqo skill (which drives the Lynqo CLI), or add the Lynqo MCP server with codex mcp add. Both take a minute, and you can use both.
Install the Lynqo skill
Two commands add the postiz skill and CLI to Codex. Authenticate once and Codex can reach every channel you connected in Lynqo.
# Lynqo skill + CLI
npx skills add gitroomhq/postiz-agent
npm install -g postiz
export LYNQO_API_KEY=your_api_key # or: postiz auth:loginPrefer OAuth with no API key? Add the MCP server instead: codex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic, then codex mcp login postiz. Details on the Lynqo MCP page.
Ask Codex to post for you
Codex loads the skill, calls the Lynqo CLI and schedules the post. Lynqo publishes it on time even after the session ends.
Post "Hello from Lynqo!" to X and LinkedIn, schedule it for tomorrow at 9am
Loaded the postiz skill and found 2 channels: X and LinkedIn. Scheduled both posts for tomorrow at 9:00 AM. Run postiz posts:list to review the queue.
via Lynqo
Also try
- 1Install the Codex CLI (npm install -g @openai/codex) or the IDE extension and sign in
- 2Add Lynqo with npx skills add gitroomhq/postiz-agent, or codex mcp add postiz with the MCP link
- 3Connect the social accounts you want Codex to post to in your Lynqo dashboard
- 4Ask Codex what to post, interactively or with codex exec. It uploads media and schedules through Lynqo
Lynqo skill vs Lynqo MCP server in Codex
Pick MCP for the fastest OAuth setup, pick the skill when you want the Lynqo CLI in scripts. Both reach the same channels.
| Lynqo skill (CLI) | Lynqo MCP server | |
|---|---|---|
| Setup | npx skills add gitroomhq/postiz-agent, then npm install -g postiz | codex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic |
| Authentication | postiz auth:login (OAuth2 device flow) or LYNQO_API_KEY | codex mcp login postiz (OAuth in the browser, no API key) |
| Where Codex loads it | .agents/skills in your repo or ~/.agents/skills; invoke with $postiz | ~/.codex/config.toml under [mcp_servers.postiz] |
| Media | postiz upload <file>, then attach the returned URL | MCP upload tools (from a URL or the upload widget) |
| Best for | Scripts, CI, and cron jobs with codex exec; full CLI control | Quick setup in the CLI or IDE extension; no key management |
| Works in | Codex CLI and IDE extension | Codex CLI and IDE extension (shared config.toml) |
What can Codex do with Lynqo?
Codex can do anything the Lynqo CLI and MCP tools expose: list channels, upload media, create and schedule posts with platform-specific settings, manage the queue, and read analytics.
AI Agent Ready
Lynqo returns structured results, so Codex 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, Codex 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.
How does Codex post to social media with Lynqo?
Codex discovers your channels, composes the post, uploads media, and schedules it through Lynqo. You describe what you want in plain language; here is how a typical conversation goes.
- 1
Discover Integrations
List all your connected social media accounts and discover platform-specific features like subreddit flairs and YouTube playlists.Example conversation> What social accounts do I have connected? Codex: You have 4 channels connected: X, LinkedIn, Reddit, and YouTube. I can also check platform options like subreddit flairs or YouTube playlists. - 2
Create Posts
Describe the post — content, media, comments, and any platform options — and Codex builds it, from a quick one-liner to a full campaign.Example conversation> Post "Check out our new feature!" with screenshot.png to X and LinkedIn, tomorrow at 9am Codex: Done! Scheduled on X and LinkedIn for tomorrow at 9:00 AM with the image. - 3
Manage & Analyze
List, filter, and manage your scheduled posts. Track performance with platform and post-level analytics. Ask for a week of content and Codex schedules the whole campaign.Example conversation> What's scheduled this week, and how did last month's posts perform? Codex: 5 posts scheduled Mon-Fri. Last 30 days: 12.4k impressions, up 18%. Your best post was Tuesday's launch thread.
Can Codex post to multiple platforms in one request?
Yes. Ask once and Codex posts to every platform at the same time, each with its own media and settings. For example:
> Post "Launching our new feature today!" with
banner.png to X, LinkedIn, and Facebook tomorrow
at 9am. On Reddit, post it to r/programming as a
text post titled "New Tutorial". Then schedule a
daily tip on X and LinkedIn for the rest of the week.
Codex: Done! Here's what I scheduled:
- X, LinkedIn, Facebook: tomorrow 9:00 AM (banner.png)
- Reddit r/programming: tomorrow 9:00 AM, "New Tutorial"
- Daily tips: Mon-Fri 9:00 AM on X and LinkedInWhat is Codex?
Codex is OpenAI's coding agent. It runs as the Codex CLI in your terminal (npm install -g @openai/codex), as an IDE extension, and in the cloud. It signs in with your ChatGPT account or an API key, runs shell commands inside a sandbox with approval rules you set, and can call MCP servers, which is how it manages your social media with Lynqo.
Terminal & IDE Native
Codex runs directly in your terminal or IDE. No browser or cloud setup needed — just tell Codex what you want and it manages your social media workflow.
Autonomous Execution
Codex works in a sandboxed environment. It reads the Lynqo skill and chains the right steps together for complex workflows.
Parallel Tasks
Run multiple Codex sessions in parallel. Schedule posts on one terminal while analyzing metrics on another — each task runs independently and concurrently.
Is Codex the same as ChatGPT?
No. Both are made by OpenAI, but ChatGPT is the chat assistant and Codex is the coding agent. They reach Lynqo through different doors.
| Codex | ChatGPT | Claude Code | |
|---|---|---|---|
| Made by | OpenAI | OpenAI | Anthropic |
| What it is | Coding agent for terminal, IDE, and cloud | Chat assistant on chatgpt.com and desktop apps | Coding agent for the terminal |
| How it reaches Lynqo | postiz skill or Lynqo MCP server (codex mcp add) | Official Lynqo app or custom MCP connector | postiz skill or Lynqo MCP server (claude mcp add) |
| Headless automation | codex exec in scripts, CI, or cron | Scheduled posts run in Lynqo; chat itself is interactive | claude -p in scripts |
Guides: ChatGPT + Lynqo and Claude Code + Lynqo.
How Lynqo Works with Codex
Codex discovers Lynqo two ways. The postiz skill is loaded from .agents/skills in your repo or ~/.agents/skills, and you can invoke it explicitly with $postiz. The Lynqo MCP server is added with codex mcp add and stored in ~/.codex/config.toml. Either way, Codex learns the available tools and chains them for you.
- Install the Lynqo skill with npx skills add, or add the Lynqo MCP server with codex mcp add
- Codex loads skills from .agents/skills and reads SKILL.md to learn the Lynqo CLI
- Authenticate with LYNQO_API_KEY or postiz auth:login; the MCP route uses OAuth via codex mcp login
- Commands run in Codex's sandbox with approval rules you control
- Run Lynqo tasks in parallel with your coding workflows
# Install the Lynqo skill
npx skills add gitroomhq/postiz-agent
# Set your API key
export LYNQO_API_KEY=your_api_key
# Or add the Lynqo MCP server instead
codex mcp add postiz --url https://mcp.postiz.com/mcp-oauth-dynamic
codex mcp login postiz
# Then ask, interactively or headless
codex "list my social media integrations"
codex exec "schedule this week's posts from ./content"How do I automate posting with codex exec?
Use codex exec to run a prompt non-interactively from a script, CI job, or cron entry. Codex loads the Lynqo skill or MCP tools, discovers your channels, and schedules the posts; Lynqo then publishes them on time without Codex running.
Just Ask Codex
Interactive or headless with codex exec
Tell Codex what to post from your terminal. It connects to Lynqo, discovers your accounts, uploads media, and schedules posts. The same prompt works with codex exec for unattended runs; keep a human reviewing the queue.
# Interactive
$ codex "Post my blog article to X, LinkedIn,
and Reddit with the cover image,
schedule for tomorrow at 9am"
# Headless, e.g. from cron every weekday at 8am
0 8 * * 1-5 cd ~/marketing && codex exec \
"Schedule today's post from ./content/queue
to X and LinkedIn at 9am"
Codex: I'll handle that.
1. Loading the Lynqo skill
2. Found your integrations via Lynqo
3. Uploading cover image
4. Scheduling across 3 platforms
Done! Posts scheduled:
- X (Twitter): scheduled 9:00 AM
- LinkedIn: scheduled 9:00 AM
- Reddit (r/programming): scheduled 9:00 AMParallel Tasks
Multiple agents, concurrent execution
Run multiple Codex sessions at the same time. Schedule a week of content in one terminal while refactoring code in another — each task runs independently.
# Terminal 1 — schedule content
$ codex "Schedule a week of daily posts
to Twitter and LinkedIn, using the
content from ~/content/drafts"
# Terminal 2 — check analytics
$ codex "Get my social media analytics
for the last 30 days across all
platforms and summarize the results"
# Terminal 3 — keep coding
$ codex "Refactor the auth module
to use JWT tokens"Why Codex + Lynqo
- Runs in your terminal or IDE — just type what you want
- Autonomous execution in a sandboxed environment
- Parallel tasks — run social media and coding side by side
- Skill or MCP: Codex learns the Lynqo tools from SKILL.md or the MCP tool list
- Cross-post to multiple platforms in a single request
- Powered by OpenAI's most capable models
---
name: postiz
description: Social media automation
CLI for scheduling posts across
30+ platforms
homepage: https://docs.postiz.com/public-api/introduction
---
# Loaded by Codex from .agents/skills
# Invoke explicitly with $postiz
# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>Also Works with Claude Code
Lynqo works with any AI agent that can run commands or call MCP tools. That includes Anthropic's Claude Code, Cursor, and anything else that can run the Lynqo Agent CLI or connect to the Lynqo MCP server.
Claude Code
by Anthropic
Claude reads the Lynqo skill so it knows what it can do. It autonomously discovers your integrations, uploads media, composes posts with platform-specific settings, and schedules content across all your connected platforms.
> Schedule a tweet for tomorrow morning
announcing our new feature, attach
the screenshot from ./assets/launch.png
Claude: Done! Scheduled on X for
tomorrow at 9:00 AM.What can I ask Codex to do in Lynqo?
Anything the Lynqo CLI or MCP tools expose. Here are a few things you can say to Codex; it handles the Lynqo calls behind the scenes.
Ship a launch post
Post "Launching our new feature today!" with banner.png to X, LinkedIn, and Facebook tomorrow at 9am.
Post to a subreddit
What flairs are available in r/programming? Then post it there as a text post titled "New Tutorial".
Schedule a week of tips
Schedule a daily tip on X and LinkedIn for the rest of the week, using the content from ~/content/drafts.
Check the queue and results
What's scheduled this week, and how did last month's posts perform? Cancel tomorrow's LinkedIn post.
Which platforms can Codex post to?
Codex can post to 30+ platforms through Lynqo. Each of these has a dedicated Codex guide with example prompts, a settings reference, platform rules, and an FAQ.
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
Codex and Lynqo FAQ
What is Codex?
How do I connect Codex to Lynqo?
Is Codex the same as ChatGPT?
Should I use the Lynqo skill or the MCP server with Codex?
Can Codex run social media posting without me, on a schedule?
Which platforms can Codex post to through Lynqo?
Does Codex need my social media passwords or an API key?
Is Lynqo free to use with Codex?
What can I ask Codex to do in Lynqo?
Related Lynqo guides for AI agents
Lynqo Agent CLI
The postiz CLI and skill any AI agent can drive from a shell.
Lynqo MCP server
The OAuth MCP endpoint Codex, ChatGPT, Claude, and Cursor connect to.
ChatGPT + Lynqo
The chat-app route for OpenAI users who are not in a terminal.
Claude Code + Lynqo
The same workflow with Anthropic's terminal coding agent.
Cursor + Lynqo
Post from the Cursor editor with the Lynqo plugin or skill.
Lynqo pricing
7-day free trial, with MCP, CLI and API access on every plan.
Start automating today
Set up Lynqo once and let Codex handle your social media posting across every platform — you just ask.
