with one click
studio
Claude World Studio CLI - full command reference for all CLI operations
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Claude World Studio CLI - full command reference for all CLI operations
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | studio |
| description | Claude World Studio CLI - full command reference for all CLI operations |
| user_invocable | false |
Full CLI for Claude World Studio. Maps 1:1 to the REST API + WebSocket.
# Option A: npm global (recommended)
npm install -g @claude-world/studio
studio <command>
# Option B: From source
git clone https://github.com/claude-world/claude-world-studio.git
cd claude-world-studio && npm install
node bin/cli.js <command>
# or: npm link && studio <command>
# Option C: Electron Desktop App
npm run electron:dev # development
npm run electron:build # production (.app + .dmg)
# One-command setup (uvx preferred, auto-cached)
npx @claude-world/studio setup-mcp
# Or legacy venv mode
npx @claude-world/studio setup-mcp --venv
# Update installed servers
npx @claude-world/studio setup-mcp --update
# Server
studio serve # Start web UI
studio status # Check if running
# Sessions
studio session list
studio session create --title "Research" --workspace /path
studio session get <ID>
studio session rename <ID> --title "New Title"
studio session delete <ID>
studio session messages <ID> --limit 20
# Chat (WebSocket streaming)
studio chat --message "Find trends" --json
studio chat --session <ID> --message "Publish the best"
echo "What's trending?" | studio chat --json
studio interrupt <ID>
# Accounts
studio account list
studio account create --name "Main" --handle "@me" --platform threads --token TOKEN
studio account update <ID> --token NEW_TOKEN
studio account delete <ID>
# Settings
studio settings get
studio settings detect # Scan system for MCP tools
studio settings apply # Apply detected values
studio settings set --language en --default-workspace /path
# Publishing (supports all Threads post types)
studio publish --account <ID> --text "Hello!" --score 85
studio publish --account <ID> --text "Vote!" --poll "Option A|Option B"
studio publish --account <ID> --text "Look!" --image "https://url/img.png"
studio publish --account <ID> --text "Watch" --video "https://url/vid.mp4"
studio publish --account <ID> --text "Slides" --carousel URL1 URL2 URL3
studio publish --account <ID> --text "Mood" --gif-id "GIPHY_ID"
studio publish --account <ID> --text "Read" --link-attachment "https://url"
studio publish --account <ID> --text "TL;DR" --text-attachment article.txt
studio publish --account <ID> --text "Spoiler!" --image URL --spoiler-media
studio publish --account <ID> --text "Secret text" --spoiler-text "7:4"
studio publish --account <ID> --text "24hr only" --ghost
studio publish --account <ID> --text "My take" --quote-post-id "12345"
studio publish --account <ID> --text "Post" --reply-control mentioned_only
studio publish --account <ID> --text "Post" --topic-tag "AI" --alt-text "desc"
studio publish --account <ID> --text "Post" --link-comment "https://url"
studio history --limit 10
# Files
studio file list <SESSION_ID> --depth 2
studio file read <SESSION_ID> src/index.ts
| Flag | Env Var | Default | Description |
|---|---|---|---|
--json | — | false | JSON output for all commands |
--port N | STUDIO_PORT | 3001 | Server port |
--host H | STUDIO_HOST | 127.0.0.1 | Server host |
The chat command connects via WebSocket for real-time streaming.
Auto-create session: Omit --session to auto-create. Session ID is printed to stderr.
Input sources (priority order):
--message "text" flagecho "text" | studio chatOutput modes:
--verbose)--json: NDJSON — one JSON object per event lineNDJSON event types:
{"type":"assistant_message","content":"Here are the trends..."}
{"type":"tool_use","toolName":"get_trending","toolId":"..."}
{"type":"tool_result","content":"..."}
{"type":"result","success":true,"cost_usd":0.03}
Ctrl+C sends an interrupt to the session and exits with code 130.
SESSION=$(studio session create --title "Auto Pipeline" --json | jq -r '.id')
studio chat --session $SESSION --message "Find top 3 trending AI topics in Taiwan" --json > trends.jsonl
RESPONSE=$(grep '"type":"assistant_message"' trends.jsonl | tail -1 | jq -r '.content')
studio publish --account acc123 --text "$RESPONSE" --score 80 --json
studio chat --message "Freestyle: find trending topics, research the best, \
write a Threads post, score it, and publish to @mybrand" --json
# System cron (daily 9 AM)
0 9 * * * studio chat --message "Freestyle pipeline for @mybrand" --json >> ~/studio.log 2>&1
Or use Studio's built-in scheduler: Settings > Scheduled Tasks with per-account targeting and quality gates.
studio publish --account brand-tech --text "Technical deep-dive..." --score 85
studio publish --account brand-casual --text "Hey did you hear..." --score 75
| CLI Flag | API Key | Description |
|---|---|---|
--language | language | UI language (en, zh-TW, ja) |
--theme | theme | UI theme (light, dark, system) |
--trend-pulse-python | trendPulseVenvPython | trend-pulse venv python path |
--cf-browser-python | cfBrowserVenvPython | cf-browser venv python path |
--notebooklm-path | notebooklmServerPath | NotebookLM server.py path |
--cf-browser-url | cfBrowserUrl | CF Browser worker URL |
--cf-browser-key | cfBrowserApiKey | CF Browser API key |
--cf-account-id | cfAccountId | Cloudflare account ID (cf-api mode) |
--cf-api-token | cfApiToken | Cloudflare API token (cf-api mode) |
--default-workspace | defaultWorkspace | Default workspace path |
When operating Studio via CLI:
--json for programmatic accessstudio status --json before other commandsstudio interrupt <ID>Full-autopilot trend discovery, deep research, and social publishing pipeline. Uses trend-pulse (20 sources), cf-browser (headless Chrome), and notebooklm (research + artifacts) MCP servers. Generates algorithm-optimized content based on Meta's 7 patent-based ranking algorithms. Use when user mentions trending topics, content creation, social media publishing, trend analysis, research pipeline, viral content, content scoring, or Threads posting.
Full-autopilot AI agent for Meta 3-platform viral content (Threads + Instagram + Facebook). Searches real-time trending topics, analyzes them against Meta's 7 patent-based ranking algorithms (EdgeRank, Andromeda, Dear Algo, Conversation Durability), generates optimized text/image/video content, adapts for each platform, and publishes automatically with scheduling support. Use this skill whenever the user mentions: Threads posting, Instagram content, Facebook page management, cross-platform social media, viral posts, social media automation, content scheduling, Threads marketing, Meta algorithm optimization, growing on Threads/IG/FB, or automating their social media workflow. Also trigger for: quote cards, carousel generation, Reels scripts, social media images, or any Meta platform content creation task.