OpenClaw CLIOpenClaw Commands Reference

OpenClaw Commands Reference

Complete reference for all SocialRails OpenClaw commands with natural language examples.

OpenClaw

Coming Soon: The openclaw-socialrails npm package is not yet published. Commands below document the planned interface.

All available commands for the SocialRails OpenClaw skill, with natural language examples.

schedule-post

Schedule a social media post to be published at a specific time.

Required scope: write

Parameters:

  • content (required), The post text
  • platform (required), Target platform: twitter, linkedin, facebook, instagram, tiktok, bluesky, pinterest, threads, youtube
  • scheduled_for (optional), ISO 8601 date/time. If omitted, post is saved as draft.

Examples:

> Schedule a tweet saying "We just hit 10,000 users!" for tomorrow at 9am
> Post on LinkedIn: "Excited to announce our Series A funding" on March 10 at 2pm UTC
> Draft a Facebook post about our upcoming webinar

show-analytics

View your posting analytics across platforms.

Required scope: read

Parameters:

  • period (optional), 7d, 30d, or 90d (default: 7d)
  • platform (optional), Filter by a specific platform

Examples:

> Show me analytics for the last 30 days
> How many posts did I publish on Twitter this week?
> Show analytics for LinkedIn over the past 90 days

generate-caption

Use AI to generate social media content.

Required scope: ai

Parameters:

  • prompt (required), Description of what to generate
  • platform (optional), Optimize for a specific platform
  • tone (optional), Tone of voice (e.g., professional, casual, excited, humorous)

Examples:

> Generate an Instagram caption for a sunset photo at our office
> Write a professional LinkedIn post about remote work best practices
> Create a funny tweet about Monday mornings
> Generate a TikTok caption for a behind-the-scenes video, keep it casual

list-posts

List your scheduled, published, or draft posts.

Required scope: read

Parameters:

  • status (optional), Filter: scheduled, published, draft, failed
  • limit (optional), Number of posts to show (default: 10)

Examples:

> Show my scheduled posts
> List the last 5 published posts
> What posts are in draft?
> Show me any failed posts

list-accounts

List all social media accounts connected to your workspace.

Required scope: read

Examples:

> What accounts do I have connected?
> List my social media accounts
> Show connected platforms

Common Workflows

Generate and schedule in one go

> Generate a motivational Monday post for Twitter, then schedule it for next Monday at 8am

Check analytics, then plan content

> Show analytics for the last 30 days
> My LinkedIn numbers are low. Generate 3 LinkedIn post ideas about our product

Quick content review

> List my scheduled posts for this week
> Show me what's coming up on Instagram