OpenClaw CLIOpenClaw Commands Reference

OpenClaw Commands Reference

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

OpenClaw npm

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, 90d, or 365d (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

Multi-Step Workflow Examples

Content calendar for the week

> Generate 5 posts for this week: Monday motivation (Twitter), Tuesday tip (LinkedIn),
  Wednesday behind-the-scenes (Instagram), Thursday industry news (Twitter),
  Friday team highlight (LinkedIn). Schedule them all for 9am UTC.

Cross-platform campaign launch

> Generate an announcement post about our new feature launch.
  Make a short version for Twitter, a detailed version for LinkedIn,
  and a visual-focused caption for Instagram.
  Schedule all three for tomorrow at 2pm UTC.

Thread scheduling

> Schedule a Twitter thread about "5 tips for social media automation" with 5 tweets
  for tomorrow at 9am. Space them 2 minutes apart.

Analytics-driven content planning

> Show me analytics for the last 90 days.
  Based on the results, suggest which platforms I should focus on.
  Then generate 3 posts for my best-performing platform.

Weekly performance review and planning

> Show analytics for the last 7 days.
  Compare it with the previous 30-day trend.
  Generate a content plan for next week targeting my weakest platform.

AI Agent Prompt Patterns

These prompts work well when an AI agent (Claude, GPT, etc.) has access to the SocialRails skill:

Performance analysis and suggestions

> Analyze my last week's performance and suggest 3 posts for next week
  that are likely to perform well based on what worked before.

Content repurposing

> Take my best-performing post from the last 30 days and create variations
  for Twitter, LinkedIn, and Instagram. Schedule them for peak hours.

Engagement-optimized scheduling

> Look at my analytics, figure out when my audience is most active,
  and schedule this post for the optimal time: "We just shipped dark mode!"

Batch content creation

> I need 10 tweets about our product launch spread across the next 5 days.
  Make them varied in tone — some informational, some excited, some with questions.
  Schedule 2 per day at 10am and 4pm UTC.