Skip to Content
CLI ToolUse with Codex CLI

Use with Codex CLI

Codex CLI is OpenAI’s open-source terminal-based AI coding agent. It can execute shell commands directly in your terminal, which means you can use natural language to have Codex invoke meowload to download resources — no need to memorize any command syntax.

Prerequisites

  1. MeowLoad Desktop  installed (v3.9.9 or later) and logged in
  2. Codex CLI installed

Run the following commands to verify both are ready:

meowload version codex --version

About Codex Sandbox Mode

Codex CLI runs in a sandboxed environment by default, which restricts network access. Since meowload needs to communicate with the desktop app, you should use Full Auto mode to ensure commands execute properly:

codex --full-auto "use meowload to download this video https://www.youtube.com/watch?v=dQw4w9WgXcQ"

Or switch to Full Auto mode within an interactive session.

Quick Start

Open your terminal and describe what you want in plain language:

codex "use meowload to download this video https://www.youtube.com/watch?v=dQw4w9WgXcQ"

Codex will automatically understand your intent and run the appropriate meowload download command.

Example Prompts

Here are some prompts you can copy and paste directly into Codex:

Download Video

Use meowload to download the video from this link: https://www.youtube.com/watch?v=xxxx

Download Audio Only

Use meowload to download only the audio from: https://www.youtube.com/watch?v=xxxx

Check Available Resources Before Downloading

Use meowload to check what resources are available from: https://www.youtube.com/watch?v=xxxx If there are videos and subtitles, download them all for me.

Batch Download Multiple URLs

Use meowload to download videos from the following URLs one by one: 1. https://www.instagram.com/reel/xxxx 2. https://www.tiktok.com/@user/video/xxxx 3. https://www.youtube.com/watch?v=xxxx

Download Live Stream

Use meowload to record this live stream: https://www.twitch.tv/xxxx

Interactive Session

You can also use meowload within an interactive Codex session. Start Codex first:

codex

Then chat naturally:

> Use meowload to check what resources are available from https://www.bilibili.com/video/BV1xxxxxxxxx > Download the video and subtitles from it > Also download this one: https://www.tiktok.com/@user/video/xxxx

Codex remembers the conversation context, so you can chain tasks seamlessly.

How It Works

  1. You describe what you want in natural language
  2. Codex translates your request into the appropriate meowload command
  3. Depending on your approval mode, Codex either executes automatically or waits for confirmation
  4. meowload communicates with the desktop app to complete the download

No extra configuration (such as MCP servers) is needed — as long as meowload is available on your system PATH, Codex can invoke it directly.

Tip

You don’t need to memorize meowload command syntax or flags. Just describe your needs in everyday language and Codex will assemble the correct command for you. For the full command reference, see the CLI documentation.