← Learn Cactorial
Browse lessons

Quick start · 1:44 · Checked on 20 November

Connect your AI agent to Cactorial: Codex or Claude Code

Connect an installed agent to Cactorial and check recording readiness from a fresh conversation.

Before you start

Install Cactorial and the agent you want to connect, then sign in to Cactorial.

Open Settings

  1. Step 1. Open Cactorial Settings

    Open Settings from the Cactorial menu, or press Command-comma.

    Cactorial’s tutorial library before opening Settings.
    With Cactorial active, press Command-comma to open Settings.

    Result: The Settings window opens.

Connect your agent

  1. Step 2. Open Agents

    Select Agents in the Settings sidebar. Find the row for Claude Code or Codex.

    Choose Agents

    Result: Each agent has its own connection status.

  2. Step 3. Connect your agent

    Click Connect… in your agent’s row. Leave Also add the MCP server off for the standard command-line setup.

    Click Connect… next to Codex

    Result: Cactorial shows what it will install.

  3. Step 4. Confirm the connection

    Review the command, permission and skills listed in the dialog. Click Connect.

    Click Connect

    Result: Your agent’s row shows Connected.

Check in a new chat

  1. Step 5. Start a fresh conversation

    In Codex, click New chat. In Claude Code, start a new session so it picks up the connection.

    New chat in the Codex toolbar.

    Result: An empty message box is ready.

  2. Step 6. Send a readiness check

    Type “Use the cactorial skill to check that Cactorial is ready.” Send the request.

    The complete readiness check, ready to send in Codex.

    Result: Your agent checks the connection, permissions and sign-in.

  3. Step 7. Read the reply

    Check what your agent reports. If a permission or the sign-in is missing, complete that step in Cactorial and ask again.

    The agent confirms the recording permissions and sign-in in its readiness reply.

    Result: The reply tells you whether you can start recording.

For AI agents

Give this link to your AI agent and ask it to follow the tutorial. Agents that open the link find a version written for them: the steps with the controls to use and what to expect, pictures with each step's control marked and close up, and the name, role and position of every control on each screen, so they don't have to guess them from the picture.

The Markdown on its own: https://cactorial.page/g/cactorial/learn/connect-your-ai-agent-to-cactorial-codex-or-claude-GSLFpKft8Xlc/agent.md

What your agent sees

The same steps, words and pictures your agent reads. Magenta marks the control each step acts on.

The overview it can look at first

Steps 1 to 6
Steps 1 to 6
Step 7
Step 7

Open Settings

Step 1. Open Cactorial Settings

Do
Open Settings from the Cactorial menu, or press Command-comma.
Action
key
Target
the control shown in the picture
Expect
The Settings window opens.
Cactorial’s tutorial library before opening Settings.
Screen before
  1. With Cactorial active, press Command-comma to open Settings.

    With Cactorial active, press Command-comma to open Settings.
    Screen

Connect your agent

Step 2. Open Agents

Do
Select Agents in the Settings sidebar. Find the row for Claude Code or Codex.
Action
click
Target
AXButton "Agents, Needs your attention" (frame in the picture: x 9, y 199, 162 × 35)
Expect
Each agent has its own connection status.
Choose Agents
Screen before · the control marked
Close-up
  1. Select Agents in the Settings sidebar. — AXButton "Agents, Needs your attention" (frame in the picture: x 18, y 397, 324 × 70)

    Select Agents in the Settings sidebar.
    Screen · the control marked
    Close-up

Step 3. Connect your agent

Do
Click Connect… in your agent’s row. Leave Also add the MCP server off for the standard command-line setup.
Action
click
Target
the control shown in the picture
Expect
Cactorial shows what it will install.
Click Connect… next to Codex
Screen before
  1. Locate the optional MCP server switch and leave it off. — AXCheckBox "Also add the MCP server" (frame in the picture: x 1744, y 637, 66 × 29)

    Locate the optional MCP server switch and leave it off.
    Screen · the control marked
    Close-up
  2. Click Connect… beside your agent. — a control without a name (frame in the picture: x 1596, y 384, 214 × 51)

    Click Connect… beside your agent.
    Screen · the control marked
    Close-up

Step 4. Confirm the connection

Do
Review the command, permission and skills listed in the dialog. Click Connect.
Action
click
Target
AXButton "Connect" (frame in the picture: x 597, y 438, 96 × 28)
Expect
Your agent’s row shows Connected.
Click Connect
Screen before · the control marked
Close-up
  1. Click Connect to confirm the listed changes. — AXButton "Connect" (frame in the picture: x 1193, y 875, 191 × 55)

    Click Connect to confirm the listed changes.
    Screen · the control marked
    Close-up

Check in a new chat

Step 5. Start a fresh conversation

Do
In Codex, click New chat. In Claude Code, start a new session so it picks up the connection.
Action
click
Target
the control shown in the picture
Expect
An empty message box is ready.
New chat in the Codex toolbar.
Screen before
  1. Click New chat in the Codex toolbar. — a control without a name (frame in the picture: x 264, y 17, 39 × 29)

    Click New chat in the Codex toolbar.
    Screen · the control marked
    Close-up

Step 6. Send a readiness check

Do
Type “Use the cactorial skill to check that Cactorial is ready.” Send the request.
Action
key
Target
AXTextArea "Do anything"
Expect
Your agent checks the connection, permissions and sign-in.
The complete readiness check, ready to send in Codex.
Screen before
  1. Start the message with “Use the cactorial skill”. — types Use the cactorial skill — AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56)

    Start the message with “Use the cactorial skill”.
    Screen · the control marked
    Close-up
  2. Ask the agent to check that Cactorial is ready. — types to check that Cactorial is ready. — AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56)

    Ask the agent to check that Cactorial is ready.
    Screen · the control marked
    Close-up
  3. Press Return to send the request. — keys enter — AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56)

    Press Return to send the request.
    Screen · the control marked
    Close-up

Step 7. Read the reply

Do
Check what your agent reports. If a permission or the sign-in is missing, complete that step in Cactorial and ask again.
Action
key
Target
AXTextArea "Do anything"
Expect
The reply tells you whether you can start recording.
The agent confirms the recording permissions and sign-in in its readiness reply.
Screen before
  1. Read the recording permissions, library and sign-in status in the reply.

    Read the recording permissions, library and sign-in status in the reply.
    Screen
The Markdown itself
---
title: "Connect your AI agent to Cactorial: Codex or Claude Code"
checked: "2026-11-20, window 1440 × 810 points"
source: "https://cactorial.page/g/cactorial/learn/connect-your-ai-agent-to-cactorial-codex-or-claude-GSLFpKft8Xlc (version 3)"
language: "en"
---

# Connect your AI agent to Cactorial: Codex or Claude Code

Goal: Connect an installed agent to Cactorial and check recording readiness from a fresh conversation.

This is the tutorial written for AI agents. Each step gives what to do, the control to act on (its name, role and place in the screenshot), what to expect afterwards, a screenshot of the screen before it, that screenshot with the control marked in magenta, a close-up of the control and a JSON file naming every control on that screen with its role and place. Overview sheets show every step at a glance.

Before you start: Install Cactorial and the agent you want to connect, then sign in to Cactorial.

The pictures show example content; yours will differ. Find controls by their labels and roles, and use the pictures and coordinates as a guide, not as exact positions. Coordinates are pixels of each picture, from its top-left corner.

A screen whose step acts on a control also comes marked (the control boxed in magenta, or ringed where a point was acted on) and as a close-up of the control, cut from the screen (its JSON gives the part it shows).

Overview of the steps, numbered, with each step's control marked: images/overview-1.avif (steps 1 to 6), images/overview-2.avif (step 7).

## Open Settings

### Step 1. Open Cactorial Settings

- Do: Open Settings from the Cactorial menu, or press Command-comma.
- Action: key
- Expect: The Settings window opens.
- Screen before: images/step-01.avif (controls: images/step-01.json)
- In the video: 0:09 to 0:09
- Actions:
  1. With Cactorial active, press Command-comma to open Settings. — screen: images/step-01-b1.avif (controls: images/step-01-b1.json)

## Connect your agent

### Step 2. Open Agents

- Do: Select Agents in the Settings sidebar. Find the row for Claude Code or Codex.
- Action: click
- Target: AXButton "Agents, Needs your attention" (frame in the picture: x 9, y 199, 162 × 35)
- Expect: Each agent has its own connection status.
- Screen before: images/step-02.avif (marked: images/step-02-marked.avif; close-up: images/step-02-closeup.avif; controls: images/step-02.json)
- In the video: 0:16 to 0:18
- Actions:
  1. Select Agents in the Settings sidebar. — target: AXButton "Agents, Needs your attention" (frame in the picture: x 18, y 397, 324 × 70) — screen: images/step-02-b1.avif (marked: images/step-02-b1-marked.avif; close-up: images/step-02-b1-closeup.avif; controls: images/step-02-b1.json)

### Step 3. Connect your agent

- Do: Click Connect… in your agent’s row. Leave Also add the MCP server off for the standard command-line setup.
- Action: click
- Expect: Cactorial shows what it will install.
- Screen before: images/step-03.avif (controls: images/step-03.json)
- In the video: 0:33 to 0:35
- Actions:
  1. Locate the optional MCP server switch and leave it off. — target: AXCheckBox "Also add the MCP server" (frame in the picture: x 1744, y 637, 66 × 29) — screen: images/step-03-b1.avif (marked: images/step-03-b1-marked.avif; close-up: images/step-03-b1-closeup.avif; controls: images/step-03-b1.json)
  2. Click Connect… beside your agent. — target: a control without a name (frame in the picture: x 1596, y 384, 214 × 51) — screen: images/step-03-b2.avif (marked: images/step-03-b2-marked.avif; close-up: images/step-03-b2-closeup.avif; controls: images/step-03-b2.json)

### Step 4. Confirm the connection

- Do: Review the command, permission and skills listed in the dialog. Click Connect.
- Action: click
- Target: AXButton "Connect" (frame in the picture: x 597, y 438, 96 × 28)
- Expect: Your agent’s row shows Connected.
- Screen before: images/step-04.avif (marked: images/step-04-marked.avif; close-up: images/step-04-closeup.avif; controls: images/step-04.json)
- In the video: 0:39 to 0:51
- Actions:
  1. Click Connect to confirm the listed changes. — target: AXButton "Connect" (frame in the picture: x 1193, y 875, 191 × 55) — screen: images/step-04-b1.avif (marked: images/step-04-b1-marked.avif; close-up: images/step-04-b1-closeup.avif; controls: images/step-04-b1.json)

## Check in a new chat

### Step 5. Start a fresh conversation

- Do: In Codex, click New chat. In Claude Code, start a new session so it picks up the connection.
- Action: click
- Expect: An empty message box is ready.
- Screen before: images/step-05.avif (controls: images/step-05.json)
- In the video: 0:58 to 1:01
- Actions:
  1. Click New chat in the Codex toolbar. — target: a control without a name (frame in the picture: x 264, y 17, 39 × 29) — screen: images/step-05-b1.avif (marked: images/step-05-b1-marked.avif; close-up: images/step-05-b1-closeup.avif; controls: images/step-05-b1.json)

### Step 6. Send a readiness check

- Do: Type “Use the cactorial skill to check that Cactorial is ready.” Send the request.
- Action: key
- Target: AXTextArea "Do anything"
- Expect: Your agent checks the connection, permissions and sign-in.
- Screen before: images/step-06.avif (controls: images/step-06.json)
- In the video: 1:13 to 1:14
- Actions:
  1. Start the message with “Use the cactorial skill”. — text: "Use the cactorial skill" — target: AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56) — screen: images/step-06-b1.avif (marked: images/step-06-b1-marked.avif; close-up: images/step-06-b1-closeup.avif; controls: images/step-06-b1.json)
  2. Ask the agent to check that Cactorial is ready. — text: " to check that Cactorial is ready." — target: AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56) — screen: images/step-06-b2.avif (marked: images/step-06-b2-marked.avif; close-up: images/step-06-b2-closeup.avif; controls: images/step-06-b2.json)
  3. Press Return to send the request. — keys: enter — target: AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56) — screen: images/step-06-b3.avif (marked: images/step-06-b3-marked.avif; close-up: images/step-06-b3-closeup.avif; controls: images/step-06-b3.json)

### Step 7. Read the reply

- Do: Check what your agent reports. If a permission or the sign-in is missing, complete that step in Cactorial and ask again.
- Action: key
- Target: AXTextArea "Do anything"
- Expect: The reply tells you whether you can start recording.
- Screen before: images/step-07.avif (controls: images/step-07.json)
- In the video: 1:13 to 1:14
- Actions:
  1. Read the recording permissions, library and sign-in status in the reply. — screen: images/step-07-b1.avif (controls: images/step-07-b1.json)

Checked on 20 November 2026.