Social Media CLI for Codex

Use Codex with the ReelsFarm CLI to inspect, prepare, and safely automate UGC content workflows from the same environment where your agent works.

Please make sure there is always a human in the loop.

Get Started in Seconds

Terminal

# Install the ReelsFarm agent CLI
npm install -g @reelsfarm/mcp-client

# Connect your ReelsFarm workspace
reelsfarm login --api-key rfmcp_xxx

# Inspect agent readiness and available commands
reelsfarm agent status
reelsfarm agent commands

# Use strict JSON envelopes for agent workflows
reelsfarm social connected --agent

# Prepare a scheduled post for human review
reelsfarm posts schedule \
  --content-type slideshow \
  --content-id sl_123 \
  --when 2026-07-01T15:00:00Z \
  --platforms tiktok:conn_123 \
  --agent

# Confirm only after approval
reelsfarm confirm conf_123 --agent

Just tell your Agent what to do

Use the CLI like a lightweight agent inbox: prepare posts, inspect accounts, and confirm actions from a simple message flow.

Create a TikTok slideshow for tomorrow about our summer serum launch and use my saved product context.09:14
🤖
Draft prepared in ReelsFarm: 6 slides, Summer Serum context, TikTok target, and a 9:00 AM schedule. It is waiting for your confirmation before anything publishes.09:14
List my connected social accounts.09:14
🤖
You have 12 connected accounts across TikTok, Instagram, YouTube, Facebook, and external schedulers. I can use any of them once you choose the publish targets.09:14
Turn this product angle into 5 UGC hooks and save the best one.09:14
🤖
Done. I created 5 hook drafts, saved the strongest one to your hooks library, and left the remaining options as editable drafts.09:14

Setup in 3 Steps

Step 1

Install the Agent CLI

Install @reelsfarm/mcp-client and add the reelsfarm command to your agent workflow.

Step 2

Turn On Agent Mode

Use --agent or REELSFARM_AGENT_MODE=1 for strict JSON output your agent can parse.

Step 3

Confirm The Work

Let your agent prepare content, inspect the summary, then run confirm after approval.

Everything you need. Zero UI.

11 tools your AI can use to manage your entire social media presence.

Automations

Post every day on autopilot.

AI Avatars

Make faces without a photoshoot.

Slideshows

Generate TikTok slideshows that convert, in a few clicks.

AI Videos

Generate UGC content with multiple AI-generated hooks.

Scheduling

Schedule your content a week or a month in advance.

Product Studio

Put your product anywhere.

Prompt Library

Pick from 3,000+ ready prompts.

Connected Accounts

Publish directly to TikTok and YouTube.

Community Images

Pull fresh images from Pinterest and Tumblr.

AI Clones

Generate AI clone videos with a face image and motion video.

Integrations

Sync connected accounts from supported publishing tools.

How it works

1

Discover commands

The agent checks readiness, available commands, required flags, and connected publishing accounts before it changes anything.

Discovery

reelsfarm agent status
reelsfarm agent commands
reelsfarm social connected --agent
reelsfarm posts optimal-times --platform tiktok --agent
2

Prepare actions

In agent mode, write workflows return strict JSON and prepared confirmations by default, giving the agent a reviewable next step.

Prepare

reelsfarm slideshows generate-text \
  --prompt "Summer serum launch" \
  --slide-count 6 \
  --agent

reelsfarm posts schedule \
  --content-type slideshow \
  --content-id sl_123 \
  --when 2026-07-01T15:00:00Z \
  --platforms tiktok:conn_123 \
  --agent
3

Confirm after approval

The agent confirms only after the user approves, then checks scheduled post status or recent events to close the loop.

Confirm

reelsfarm confirm conf_123 --agent
reelsfarm posts status --id post_123 --agent
reelsfarm events recent --limit 20 --agent

Codex

A coding agent that can also operate content workflows

Codex is especially useful when content automation is part of a broader build, data, or operations task. It treats ReelsFarm commands like any other CLI tool — pipeable, scriptable, and composable with your existing workflows. Codex can wire a product launch slideshow into a CI/CD pipeline, generate hooks from a database of customer quotes, or batch-prepare content across dozens of SKUs.

  • Ask Codex to inspect ReelsFarm commands, prepare content actions, and summarize the exact next step.
  • Use strict JSON output when Codex needs to chain ReelsFarm commands with scripts or local checks.
  • Keep ReelsFarm confirmations in the loop so code work and publishing work remain reviewable.

ReelsFarm workflow

Build, test, then publish with approval

Codex can help connect content operations to technical workflows without turning publishing into an invisible background action. Because Codex already understands your codebase, it can pull product names, pricing, and release notes directly from your repo and feed them into ReelsFarm generation commands — no copy-paste, no context switching. The confirmation gate keeps publishing manual even when the asset creation is automated.

  • Generate or update campaign assets, then ask Codex to prepare the ReelsFarm schedule.
  • Use ReelsFarm status commands to verify connected accounts and queued posts.
  • Confirm only after reviewing the proposed action, target accounts, and generated content.

Turn one idea into a week of content.

Create, schedule, and publish AI-powered posts from one workflow built for consistent social growth.

Start for free