Overview - CLI Examples
OpenQuok CLI workflows — copy-paste examples for scheduling, posts management, analytics, plugs, directory launch, and per-platform recipes.
Connect your agent today
Draft from chat, review in your calendar, and publish only what you approve.
What is in this section
Copy-pasteable recipes for the openquok CLI grouped by social network or directory launch platform. Social pages chain integrations:list, upload, and posts:create into the kind of scripts AI agents and CI jobs actually run. Directory pages use directory:* for product profiles, variants, and listing readiness before you submit on the launch site.
Note
OpenQuok ships first-party social providers for Meta Threads, Facebook Page, Instagram (Business and Standalone), YouTube, TikTok, X, Dev.to, and Bluesky. Additional social pages appear when new providers land in backend/integrations/providers/.
Social channels
Directory launch is not posts:create
Directory launch recipes prepare your product on My Products for PeerPush, Uneed, and Open Launch. They use directory:* commands, not posts:create. You submit on the directory site with the browser extension.
Main profile and site copy
Your main product profile is the default product record. A directory variant is an optional per-site copy (for example PeerPush or Uneed). Use directory:profiles:list --main-only when you need the main id before directory:variants:ensure.
Directory launch
Conventions used in these pages
- Where examples show $THREADS_ID, $INSTAGRAM_ID, $YT_ID, or $DEVTO_ID, populate them with an integration UUID from openquok integrations:list
THREADS_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier=="threads") | .id')
INSTAGRAM_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier | startswith("instagram")) | .id')
YT_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier=="youtube") | .id')
DEVTO_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier=="devto") | .id')
REDDIT_ID=$(openquok integrations:list | jq -r '.[] | select(.identifier=="reddit") | .id') - The
--providerSettingsByIntegrationIdpayloads shown match the JSON shapes the backend’s provider modules expect today. If a key is missing or renamed, fetch the canonical schema with integrations:settings before scripting a batch. - All examples assume you’re already authenticated — see CLI authentication for OAuth device flow or programmatic token setup.