← Learn Cactorial
Browse lessons

Working with your agent · 1:37 · Checked on 21 November

Give your agent the app's source: tutorials with the real names of your app

Start a tutorial request in the app’s project so your agent can use its real controls and labels.

Before you start

Open the project for the version of the app you want to show.

A new chat in the app's project

  1. Step 1. Start in the source folder

    In your agent app, start a chat in the folder or project for the app you want to show. Here, the selected project is Orbit.

    The new chat shows Orbit as the selected project.

    Result: The correct project is selected for the chat.

  2. Step 2. Ask for the tutorial

    Name the audience and what the tutorial should show. For example, type “Use the cactorial skill to make a short tutorial for new Orbit users about the Today page.” Send the request.

    The Orbit chat contains the request for a tutorial about the Today page.

    Result: Your agent starts working from the selected project.

The agent reads the source

  1. Step 3. See what the agent checked

    Read the progress in the conversation. The agent can inspect the implementation to find real controls and learn what they do.

    The agent activity shows it read the source file OrbitDemo.swift.

    Result: The agent can explain where the on-screen labels came from.

The plan uses those names

  1. Step 4. Open the tutorial’s plan

    In Studio, open the new tutorial and choose Plan. Check its audience, viewer goal and proposed scenes.

    Open Plan
    Open Plan.

    Result: The plan shows what the tutorial will teach.

  2. Step 5. Verify the labels against the app

    Read a scene’s steps and compare the named controls with the running app. If the build and source differ, tell the agent which version to record.

    The scene plan uses Orbit’s Today and Focus labels in its recording steps.

    Result: The steps and narration can use the labels your viewers will see.

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/give-your-agent-the-app-s-source-tutorials-with-th-tSa1XO0Ejo2B/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 5
Steps 1 to 5

A new chat in the app's project

Step 1. Start in the source folder

Do
In your agent app, start a chat in the folder or project for the app you want to show. Here, the selected project is Orbit.
Action
type
Target
AXTextArea "Do anything"
Expect
The correct project is selected for the chat.
The new chat shows Orbit as the selected project.
Screen before
  1. Confirm that your app’s project is selected in the chat.

    Confirm that your app’s project is selected in the chat.
    Screen

Step 2. Ask for the tutorial

Do
Name the audience and what the tutorial should show. For example, type “Use the cactorial skill to make a short tutorial for new Orbit users about the Today page.” Send the request.
Action
key
Target
AXTextArea "Do anything"
Expect
Your agent starts working from the selected project.
The Orbit chat contains the request for a tutorial about the Today page.
Screen before
  1. Check the opening words in the message box: “Use the cactorial skill”. — types Use the cactorial skill

    Check the opening words in the message box: “Use the cactorial skill”.
    Screen
  2. Write the request — types to make a short tutorial for new Orbit users about the Today page. — keys cmd+v — AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56)

    Write the request
    Screen · the control marked
    Close-up
  3. Send the request — keys enter — AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56)

    Send the request
    Screen · the control marked
    Close-up

The agent reads the source

Step 3. See what the agent checked

Do
Read the progress in the conversation. The agent can inspect the implementation to find real controls and learn what they do.
Action
scroll
Target
the control shown in the picture
Expect
The agent can explain where the on-screen labels came from.
The agent activity shows it read the source file OrbitDemo.swift.
Screen before
  1. Read the source filename in the agent’s activity after scrolling.

    Read the source filename in the agent’s activity after scrolling.
    Screen

The plan uses those names

Step 4. Open the tutorial’s plan

Do
In Studio, open the new tutorial and choose Plan. Check its audience, viewer goal and proposed scenes.
Action
click
Target
AXRadioButton "Plan"
Expect
The plan shows what the tutorial will teach.
Open Plan
Screen before
  1. Open Default Project — a control without a name (frame in the picture: x 14, y 374, 319 × 44)

    Open Default Project
    Screen · the control marked
    Close-up
  2. Open the new tutorial — a control without a name (frame in the picture: x 1019, y 232, 309 × 263)

    Open the new tutorial
    Screen · the control marked
    Close-up
  3. Open Plan — AXRadioButton "Plan" (frame in the picture: x 799, y 11, 99 × 50)

    Open Plan
    Screen · the control marked
    Close-up

Step 5. Verify the labels against the app

Do
Read a scene’s steps and compare the named controls with the running app. If the build and source differ, tell the agent which version to record.
Action
scroll
Target
the control shown in the picture
Expect
The steps and narration can use the labels your viewers will see.
The scene plan uses Orbit’s Today and Focus labels in its recording steps.
Screen before
  1. Scroll to the brief

    Scroll to the brief
    Screen
  2. Scroll to the scene's steps

    Scroll to the scene's steps
    Screen
The Markdown itself
---
title: "Give your agent the app's source: tutorials with the real names of your app"
checked: "2026-11-21, window 855 × 215 points"
source: "https://cactorial.page/g/cactorial/learn/give-your-agent-the-app-s-source-tutorials-with-th-tSa1XO0Ejo2B (version 3)"
language: "en"
---

# Give your agent the app's source: tutorials with the real names of your app

Goal: Start a tutorial request in the app’s project so your agent can use its real controls and labels.

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: Open the project for the version of the app you want to show.

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 5).

## A new chat in the app's project

### Step 1. Start in the source folder

- Do: In your agent app, start a chat in the folder or project for the app you want to show. Here, the selected project is Orbit.
- Action: type
- Target: AXTextArea "Do anything"
- Expect: The correct project is selected for the chat.
- Screen before: images/step-01.avif (controls: images/step-01.json)
- In the video: 0:11 to 0:16
- Actions:
  1. Confirm that your app’s project is selected in the chat. — screen: images/step-01-b1.avif (controls: images/step-01-b1.json)

### Step 2. Ask for the tutorial

- Do: Name the audience and what the tutorial should show. For example, type “Use the cactorial skill to make a short tutorial for new Orbit users about the Today page.” Send the request.
- Action: key
- Target: AXTextArea "Do anything"
- Expect: Your agent starts working from the selected project.
- Screen before: images/step-02.avif (controls: images/step-02.json)
- In the video: 0:16 to 0:17
- Actions:
  1. Check the opening words in the message box: “Use the cactorial skill”. — text: "Use the cactorial skill" — screen: images/step-02-b1.avif (controls: images/step-02-b1.json)
  2. Write the request — text: " to make a short tutorial for new Orbit users about the Today page." — keys: cmd+v — target: AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56) — screen: images/step-02-b2.avif (marked: images/step-02-b2-marked.avif; close-up: images/step-02-b2-closeup.avif; controls: images/step-02-b2.json)
  3. Send the request — keys: enter — target: AXTextArea "Do anything" (frame in the picture: x 539, y 981, 989 × 56) — screen: images/step-02-b3.avif (marked: images/step-02-b3-marked.avif; close-up: images/step-02-b3-closeup.avif; controls: images/step-02-b3.json)

## The agent reads the source

### Step 3. See what the agent checked

- Do: Read the progress in the conversation. The agent can inspect the implementation to find real controls and learn what they do.
- Action: scroll
- Expect: The agent can explain where the on-screen labels came from.
- Screen before: images/step-03.avif (controls: images/step-03.json)
- In the video: 0:22 to 0:24
- Actions:
  1. Read the source filename in the agent’s activity after scrolling. — screen: images/step-03-b1.avif (controls: images/step-03-b1.json)

## The plan uses those names

### Step 4. Open the tutorial’s plan

- Do: In Studio, open the new tutorial and choose Plan. Check its audience, viewer goal and proposed scenes.
- Action: click
- Target: AXRadioButton "Plan"
- Expect: The plan shows what the tutorial will teach.
- Screen before: images/step-04.avif (controls: images/step-04.json)
- In the video: 1:01 to 1:02
- Actions:
  1. Open Default Project — target: a control without a name (frame in the picture: x 14, y 374, 319 × 44) — 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)
  2. Open the new tutorial — target: a control without a name (frame in the picture: x 1019, y 232, 309 × 263) — screen: images/step-04-b2.avif (marked: images/step-04-b2-marked.avif; close-up: images/step-04-b2-closeup.avif; controls: images/step-04-b2.json)
  3. Open Plan — target: AXRadioButton "Plan" (frame in the picture: x 799, y 11, 99 × 50) — screen: images/step-04-b3.avif (marked: images/step-04-b3-marked.avif; close-up: images/step-04-b3-closeup.avif; controls: images/step-04-b3.json)

### Step 5. Verify the labels against the app

- Do: Read a scene’s steps and compare the named controls with the running app. If the build and source differ, tell the agent which version to record.
- Action: scroll
- Expect: The steps and narration can use the labels your viewers will see.
- Screen before: images/step-05.avif (controls: images/step-05.json)
- In the video: 1:10 to 1:13
- Actions:
  1. Scroll to the brief — screen: images/step-05-b1.avif (controls: images/step-05-b1.json)
  2. Scroll to the scene's steps — screen: images/step-05-b2.avif (controls: images/step-05-b2.json)

## Notes

Use the currently selected project and the source tree for the build being recorded. Read the implementation to identify the controls and navigation, then verify them in the running app. Treat source files as read-only unless the user asks for code changes.

Checked on 21 November 2026.