Skip to content
Fluxcut

Connect your agent to Fluxcut plugin

Your agent films your product on your computer.Fluxcut makes the voice, the music and the final cut.You approve each step and publish.

  1. 1

    Make a key

    Open Settings → Agent keys, name the key and pick maker. It is shown once, so copy it into your terminal:

    export FLUXCUT_KEY=fcx_…
  2. 2

    Install the plugin

    Claude Code 2.1.292 or later

    claude plugin install fluxcut --marketplace Flux-AI-Agent/fluxcut-plugin
    printf '{"fluxcut_key":"%s"}' "$FLUXCUT_KEY" | claude plugin configure fluxcut@fluxcut --values-stdin

    Codex (not tested yet)

    codex plugin marketplace add Flux-AI-Agent/fluxcut-plugin
    codex plugin add fluxcut@fluxcut

    Claude Code keeps the key in your system's secure storage. Codex reads it from FLUXCUT_KEY. The plugin is open source at github.com/Flux-AI-Agent/fluxcut-plugin.

  3. 3

    Ask for a video

    Start a new session and tell your agent what to make, filling in the angle brackets:

    Use the fluxcut-maker skill. Make a 30-second promo for <product> (https://your.site):
    <who it is for>, <the pain it removes>, <one real number, e.g. "cuts a 3-hour edit to 20 minutes">.

    Give one true number you measured: the script uses only the numbers you give it. Your agent films the site itself; for a screen behind your sign-in, you sign in yourself in a window it opens. Each step then waits for you in the app.

More ways to connect

Filming signed-in screens

Your agent can film a screen behind your sign-in, signed in as you. Here is all fluxcut-capture login does:

  1. It opens a separate browser window, your Chrome or Edge with a fresh, empty profile. It never reads your everyday browser's passwords, cookies or history.
  2. You sign in there yourself, then close the window. Your agent never sees or types your password.
  3. That window's sign-in is saved on your computer only, in ~/.config/fluxcut-capture/sessions, readable by you alone. It is never uploaded, and it is deleted after a day, or at once with logout.
  4. film --session plays the scene file your agent wrote, in plain JSON, in a hidden browser with that sign-in. Only the clips are uploaded.

Use a demo account with demo data, and sign out on the site when you are done.

uvx --from ./$WHEEL fluxcut-capture login https://app.your.site     # sign in, close the window
uvx --from ./$WHEEL fluxcut-capture film scenes.json --base https://app.your.site --session app.your.site
uvx --from ./$WHEEL fluxcut-capture logout app.your.site            # then sign out on the site

An agent in the cloud has no window to open: it gives you the scene file and these commands to run yourself.

Add a reviewer agent

A second agent, ideally another model, reviews what the maker made. It approves the steps you allow and sends the rest back. It never approves its own work, and only you publish.

Make a second key with the reviewer role, set it up in its own terminal with the steps under Set up by hand, and choose Dual on the project's Mode button. By default it may approve every step except the final video.

makerCreates projects, films and uploads footage, edits the brief, timeline and lines. Cannot approve or publish.
reviewerReads each step's review packet, approves with a one-line reason or sends back. Cannot create or edit.
ownerEverything you can do in the app, except clearing an escalation, which always waits for you.
Set up by hand: Grok Build, a reviewer, or no permission prompts

Keep the key in FLUXCUT_KEY: the commands below and fluxcut-capture read it. Your terminal does not read a .env file on its own, and an empty key fails as 401 sign in required:

set -a; source .env; set +a     # only if the key is in .env
echo ${FLUXCUT_KEY:+set}        # prints set

Or let your agent do it. Start it from the terminal that has the key and ask it, with reviewer for maker if its key is a reviewer key:

Set up Fluxcut for me as my maker agent. Run:
curl -fsSLO https://www.fluxcut.dev/agents/v46/SETUP.md
curl -fsSL https://raw.githubusercontent.com/Flux-AI-Agent/fluxcut-checksums/main/SHA256SUMS \
  | awk -v h="$(shasum -a 256 SETUP.md | cut -d' ' -f1)" -v f="v46/SETUP.md" '$1==h && $2==f {ok=1} END {exit !ok}' \
  && echo checked || echo "CHECK FAILED: delete SETUP.md"
Then follow SETUP.md, the section for you.

The server is https://www.fluxcut.dev/mcp (streamable HTTP), with the key as a bearer token. The last two steps of each run the agent without a permission prompt before each tool call; the steps still wait for an approval. my-promo is your project's short name.

Claude Codetested

  1. Add the server

    claude mcp add-json -s project fluxcut '{"type": "http",
      "url": "https://www.fluxcut.dev/mcp?wait=240", "timeout": 300000,
      "headers": {"Authorization": "Bearer ${FLUXCUT_KEY}"}}'
  2. Add maker agent skill

    mkdir -p ~/.claude/skills/fluxcut-maker && cd ~/.claude/skills/fluxcut-maker
    curl -fsSLO https://www.fluxcut.dev/agents/v46/fluxcut-maker/SKILL.md
    curl -fsSL https://raw.githubusercontent.com/Flux-AI-Agent/fluxcut-checksums/main/SHA256SUMS \
      | awk -v h="$(shasum -a 256 SKILL.md | cut -d' ' -f1)" -v f="v46/fluxcut-maker/SKILL.md" '$1==h && $2==f {ok=1} END {exit !ok}' \
      && echo checked || echo "CHECK FAILED: delete SKILL.md"
  3. Add reviewer agent skill

    mkdir -p ~/.claude/skills/fluxcut-reviewer && cd ~/.claude/skills/fluxcut-reviewer
    curl -fsSLO https://www.fluxcut.dev/agents/v46/fluxcut-reviewer/SKILL.md
    curl -fsSL https://raw.githubusercontent.com/Flux-AI-Agent/fluxcut-checksums/main/SHA256SUMS \
      | awk -v h="$(shasum -a 256 SKILL.md | cut -d' ' -f1)" -v f="v46/fluxcut-reviewer/SKILL.md" '$1==h && $2==f {ok=1} END {exit !ok}' \
      && echo checked || echo "CHECK FAILED: delete SKILL.md"
  4. Check

    claude mcp get fluxcut     # Scope: Project config … Bearer ${FLUXCUT_KEY} … Timeout: 300000ms
  5. Run the maker without asking

    CLAUDE_CODE_AUTO_COMPACT_WINDOW=200000 claude -p \
      "Use the fluxcut-maker skill. Work on Fluxcut project my-promo." \
      --strict-mcp-config --mcp-config .mcp.json --allowedTools "mcp__fluxcut" "Bash"
  6. Run the reviewer without asking — in its own terminal, with a reviewer key

    CLAUDE_CODE_AUTO_COMPACT_WINDOW=200000 claude -p \
      "Use the fluxcut-reviewer skill. Review Fluxcut project my-promo." \
      --strict-mcp-config --mcp-config .mcp.json --allowedTools "mcp__fluxcut"

Run it in the folder you run claude from. Single quotes keep ${FLUXCUT_KEY} literal: .mcp.json holds the name, never the key, and Claude Code reads the key when it starts. claude -p connects at once; plain claude asks you once to approve the server. Added fluxcut before? Run claude mcp remove fluxcut -s local first — an older entry, with the key written into ~/.claude.json, wins over .mcp.json. Bash lets the agent download, check and run fluxcut-capture to film — leave it out if you upload the footage yourself. The reviewer never needs it. A Claude maker and a Claude reviewer each run in their own terminal, with their own key. Each turn re-reads the whole conversation, so the run commands keep it small: --strict-mcp-config loads only this folder's fluxcut server, not your others, and CLAUDE_CODE_AUTO_COMPACT_WINDOW=200000 compacts near 170k tokens instead of near 1M. Running plain claude instead? Start it with CLAUDE_CODE_MCP_AUTO_BACKGROUND_MS=0 as well, or it moves a call that runs past 2 minutes to the background. Added fluxcut before without ?wait=240 and its timeout? Run claude mcp remove fluxcut -s project and add it again: without the timeout, Claude Code stops each long wait after 60 s.

Codextested

  1. Add the server

    codex mcp add fluxcut --url https://www.fluxcut.dev/mcp --bearer-token-env-var FLUXCUT_KEY
  2. Add maker and reviewer agent skills (one AGENTS.md)

    curl -fsSLO https://www.fluxcut.dev/agents/v46/AGENTS.md     # in the folder you run codex from
    curl -fsSL https://raw.githubusercontent.com/Flux-AI-Agent/fluxcut-checksums/main/SHA256SUMS \
      | awk -v h="$(shasum -a 256 AGENTS.md | cut -d' ' -f1)" -v f="v46/AGENTS.md" '$1==h && $2==f {ok=1} END {exit !ok}' \
      && echo checked || echo "CHECK FAILED: delete AGENTS.md"
  3. Check

    codex mcp list
  4. Run the maker without asking

    codex exec -c 'mcp_servers.fluxcut.default_tools_approval_mode="approve"' \
      -c 'mcp_servers.fluxcut.url="https://www.fluxcut.dev/mcp?wait=240"' -c mcp_servers.fluxcut.tool_timeout_sec=300 \
      "Follow AGENTS.md. Work on Fluxcut project my-promo."
  5. Run the reviewer without asking — in its own terminal, with a reviewer key

    codex exec -c 'mcp_servers.fluxcut.default_tools_approval_mode="approve"' \
      -c 'mcp_servers.fluxcut.url="https://www.fluxcut.dev/mcp?wait=240"' -c mcp_servers.fluxcut.tool_timeout_sec=300 \
      "Follow AGENTS.md. Review Fluxcut project my-promo."

Codex reads the key from FLUXCUT_KEY when it starts, so the key never lands in ~/.codex/config.toml. Interactive Codex asks before each tool call; codex exec refuses them unless the server's tools are approved as above. The url and tool_timeout_sec settings let each wait hold up to 4 minutes; Codex gives up on a tool call after 60 s unless told, so the address saved in config.toml keeps no ?wait=240. Codex compacts on its own.

Grok Buildtested

  1. Add the server

    grok mcp add fluxcut 'https://www.fluxcut.dev/mcp?wait=240' --transport http \
      --header 'Authorization: Bearer ${FLUXCUT_KEY}'
  2. Add maker agent skill

    mkdir -p ~/.grok/skills/fluxcut-maker && cd ~/.grok/skills/fluxcut-maker
    curl -fsSLO https://www.fluxcut.dev/agents/v46/fluxcut-maker/SKILL.md
    curl -fsSL https://raw.githubusercontent.com/Flux-AI-Agent/fluxcut-checksums/main/SHA256SUMS \
      | awk -v h="$(shasum -a 256 SKILL.md | cut -d' ' -f1)" -v f="v46/fluxcut-maker/SKILL.md" '$1==h && $2==f {ok=1} END {exit !ok}' \
      && echo checked || echo "CHECK FAILED: delete SKILL.md"
  3. Add reviewer agent skill

    mkdir -p ~/.grok/skills/fluxcut-reviewer && cd ~/.grok/skills/fluxcut-reviewer
    curl -fsSLO https://www.fluxcut.dev/agents/v46/fluxcut-reviewer/SKILL.md
    curl -fsSL https://raw.githubusercontent.com/Flux-AI-Agent/fluxcut-checksums/main/SHA256SUMS \
      | awk -v h="$(shasum -a 256 SKILL.md | cut -d' ' -f1)" -v f="v46/fluxcut-reviewer/SKILL.md" '$1==h && $2==f {ok=1} END {exit !ok}' \
      && echo checked || echo "CHECK FAILED: delete SKILL.md"
  4. Check

    grok mcp doctor     # under fluxcut: ✓ handshake OK, ✓ … tools discovered
  5. Run the maker without asking

    cat > task.md <<'EOF'
    Use the fluxcut-maker skill. Work on Fluxcut project my-promo.
    This is one long session: it ends only when the final video waits or on an escalation.
    EOF
    grok --prompt-file task.md --permission-mode dontAsk --allow 'MCPTool(fluxcut__*)'
  6. Run the reviewer without asking — in its own terminal, with a reviewer key

    cat > review.md <<'EOF'
    Use the fluxcut-reviewer skill. Review Fluxcut project my-promo.
    This is one long session: it ends only when the final video waits or on an escalation.
    EOF
    grok --prompt-file review.md --permission-mode dontAsk --allow 'MCPTool(fluxcut__*)'

Single quotes keep ${FLUXCUT_KEY} literal; Grok expands it when it starts. Grok Build 1.0.13 or later. A server in a project's .grok/config.toml is skipped until you trust the folder. Run without asking, Grok may end its session early, so the task file says it is one long session. ?wait=240 lets each wait hold up to 4 minutes: Grok allows long tool calls, and compacts on its own.

Try it with no spend first: ask for backend "fixture" and the video gets placeholder voice, music and pictures. Made the project in the app already? Tell the agent Use the fluxcut-maker skill. Work on Fluxcut project <short name>.

Film the footage yourself

fluxcut-capture films your site as crisp 1080p clips, with a magnifier, a highlight and a camera zoom on what each line talks about. It reads your brand colours for the closing card and uploads the clips with your key. Your agent writes the scene file; the maker skill says how. It needs only uv. Check it against the checksum on GitHub before the first run:

WHEEL=fluxcut_capture-0.5.9-py3-none-any.whl
curl -fsSLO https://www.fluxcut.dev/agents/$WHEEL
curl -fsSL https://raw.githubusercontent.com/Flux-AI-Agent/fluxcut-checksums/main/SHA256SUMS \
  | awk -v h="$(shasum -a 256 $WHEEL | cut -d' ' -f1)" -v f="$WHEEL" '$1==h && $2==f {ok=1} END {exit !ok}' \
  && echo checked || echo "CHECK FAILED: delete $WHEEL"          # Linux: sha256sum for shasum -a 256
uvx --from ./$WHEEL fluxcut-capture brand https://your.site --logo logo.png   # colour line + real logo
uvx --from ./$WHEEL fluxcut-capture film scenes.json --base https://your.site --out footage
uvx --from ./$WHEEL fluxcut-capture upload --project my-promo --logo logo.png hook=footage/hook.mp4

The first film downloads a headless Chromium (about 100 MB). In a sandbox, allow cdn.playwright.dev and storage.googleapis.com.

Spend fewer tokens

Your agent's cost is mostly its turns times its conversation's length. The commands above keep both down: each wait holds up to 4 minutes, and Claude Code loads only the fluxcut server and compacts early. The reviewer mostly waits and judges by a written rubric, so a smaller model may do:

CLAUDE_CODE_AUTO_COMPACT_WINDOW=200000 claude -p \
  "Use the fluxcut-reviewer skill. Review Fluxcut project my-promo." \
  --model sonnet --strict-mcp-config --mcp-config .mcp.json --allowedTools "mcp__fluxcut"

Codex and Grok take -m <model> the same way; grok models lists Grok's.

Any other MCP client

Any MCP client that can send an Authorization header works. The server keeps no session, so a plain JSON-RPC POST is enough, which helps when an MCP library won't connect through your HTTP proxy:

curl https://www.fluxcut.dev/mcp -H "Authorization: Bearer $FLUXCUT_KEY" \
  -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_projects","arguments":{}}}'

Not tested yet: Grok through the xAI API's remote MCP tools, Muse, and chat apps.

The agent skills

The tools describe their own rules; the skills make a better video. The plugin installs the maker skill; these are the files themselves.

  • fluxcut-maker — the maker: the loop, writing the goal, filming the footage, answering send-backs
  • fluxcut-reviewer — the reviewer: what to refuse at each step, notes that work
  • AGENTS.md — both, as one file for agents that read AGENTS.md