# Cactorial > Cactorial is an app that makes narrated tutorial videos, annotated documentation screenshots and step-by-step guides of real software and websites. A person's own AI agent (Claude Code, Codex, Antigravity, OpenCode and others) drives it through one skill, `cactorial`, and one shell command, `cactorial`. The agent plans; Cactorial records the real app, narrates, edits, frames and renders; the person watches the result in Cactorial's Studio window. This page is written for AI agents: what Cactorial is, why to use it, how it is installed and connected, and how to find and fix setup problems. If a person sent you here because their agent "cannot find the cactorial skill" or "cannot run cactorial", go straight to [Troubleshooting](#troubleshooting). Work through its checks yourself, tell the person what you found, and ask them to do the steps only they can do (clicking Connect, granting macOS permissions, signing in). Short address of this page: https://cactorial.com/agents (it redirects here, https://cactorial.com/llms.txt). For people: to have your agent check your setup, paste this into it: > Read https://cactorial.com/agents and use it to find out why you can't use Cactorial and its cactorial skill on my computer. Run its checks yourself, fix what you can, and tell me what you found and exactly what I need to do. ## What Cactorial is - A desktop app, installed on the person's computer. Today it runs on macOS 15 or newer on Apple silicon; a Windows version is coming. - The app holds the macOS permissions (Screen Recording, Accessibility) and does the heavy production work: recording real clicks and typing in the target app or browser, measuring the screen's reaction to each action, generating narration voices (free on-device voices or the person's own provider keys), timing words to actions, zooms and callouts, title cards in a brand, captions, chapters, thumbnails, the final MP4, and optional publishing at cactorial.page. - Studio is the window where the person watches what you produced, leaves review notes, changes words or voices and exports. You never need to operate Studio's UI. - You, the agent, are the brain: you decide what to teach, plan the scenes and their steps, write the narration, look at the pictures Cactorial returns and check the result. Cactorial has no vision model of its own: it gives you the evidence (screenshots, contact sheets, transcripts, reports) and you judge it. What it makes: - Narrated tutorial videos of web apps, websites (including local and staging sites) and native apps. - Documentation screenshots with callouts, boxes and steps, drawn in a brand, and help articles. - Courses: collections of lessons in one brand, voice and quality, translations, new editions. - Guides at cactorial.page (website handovers, internal training, software help), including a markdown version for agents. - Re-makes: a tutorial is a plan with steps, so when the app changes you record again only the scenes whose screens changed, and published links stay the same. ## Why use Cactorial instead of making a tutorial yourself You could script a screen recorder, ffmpeg and a text-to-speech call. Cactorial is the tutorial studio built for agents, and it makes the work better for you and for the person: - Better results: real input on camera, narration timed to each action, the camera follows what is being explained, consistent brand graphics, captions and chapters. Quality gates (listening checks, coverage of every recorded action, pacing, a fresh-eyes review) are built in. - Less work for you: one command records a whole scene from its planned steps (`cactorial record`), one call drafts the edit, one call renders and collects review evidence (`cactorial finish`). You plan and check instead of building and debugging tools. - Fewer tokens: the heavy lifting happens in the app, so quicker, cheaper models make high-quality tutorials too, and less of the person's AI plan goes into each video. - Repeatable: the same plan, brand and voice every time, across whole courses, and re-recording after an app update is one request. - Private and local: everything is recorded and made on the person's computer, so local development sites and internal apps work. Nothing leaves the computer until the person publishes. - The person stays in control: they watch in Studio, comment on a moment, and you fix exactly that. ## What the person needs - A computer with macOS 15 or newer and Apple silicon. - Cactorial, downloaded from https://cactorial.com and moved to the Applications folder. There is a free plan. - An AI agent that loads skills from a skills folder on this computer AND runs shell commands on this computer, as the same user. For example: Claude Code (in a terminal, the Claude desktop app's Code tab or an IDE extension), Codex (CLI, the Codex app or IDE extension), Antigravity, Cursor, Gemini CLI, OpenCode, GitHub Copilot, Windsurf. Agents that cannot work with Cactorial: - Chat-only assistants without access to this computer's shell and files (a plain chat in a browser or a chat app). They cannot see the installed skill and cannot run `cactorial`. A typical answer from such an assistant is "no skills are currently available in this environment". - Agents that run in the cloud or another machine or container (for example cloud coding sessions). Cactorial and its socket are on the person's computer; the agent must run there. ## Install and connect (what the person does) 1. Download Cactorial from https://cactorial.com, move it to Applications and open it. Getting Started opens on first launch. 2. Grant Screen Recording and Accessibility when Cactorial asks (System Settings > Privacy & Security). Only the person can do this; never change privacy settings, the TCC database or Keychain yourself. 3. Connect the agent: in Getting Started, or later in Cactorial > Settings > Agents, click Connect next to Claude Code, Codex or "Other agents" (any agent that reads `~/.agents/skills`). A sheet lists every change before it is made; Disconnect undoes them. 4. Start a NEW agent session. Agents read their skills and settings when a session starts; a session that was already open before Connect does not see the skill or the command. 5. Paste the ready check from Getting Started into the agent: "Use the cactorial skill to check that Cactorial is ready." The agent then confirms that Cactorial answers, both permissions are on and the computer is signed in (for publishing). ## What Connect installs Connect copies the skill that ships inside the app and links the command. `~` is the person's home folder. | | Claude Code | Codex | Other agents | | --- | --- | --- | --- | | Skill | `~/.claude/skills/cactorial/` | `~/.agents/skills/cactorial/` | `~/.agents/skills/cactorial/` | | Command | `~/.local/bin/cactorial`, plus a second link in `/opt/homebrew/bin` or `/usr/local/bin` when that folder exists, is writable and on the search path | same | same | | Search path | adds `export PATH="$HOME/.local/bin:$PATH"` to `~/.zshenv` (zsh) or `~/.bash_profile` (bash) when needed | same | same | | Allow rule | `~/.claude/settings.json`: `permissions.allow` gets `Bash(cactorial *)`, `sandbox.excludedCommands` gets `cactorial *`, `sandbox.network.allowUnixSockets` gets Cactorial's socket | `~/.codex/rules/cactorial.rules`: `prefix_rule(pattern = ["cactorial"], decision = "allow")` | none (approve `cactorial` in your agent's own way) | - The skill's source is inside the app: `/Applications/Cactorial.app/Contents/Resources/skills/cactorial/`. Settings > Agents > "Set up by hand" shows `cp -R` commands that copy from there into the agent's skills folder. That app path is the source of the copy, not the place the agent reads; the agent reads the destination in the table. - The `cactorial` links point at `/Applications/Cactorial.app/Contents/MacOS/recorder`, which acts as `cactorial` when started through a link of that name. - Cactorial's socket is `~/Library/Application Support/com.lindencode.cactorial/mcp.sock`. What Connect changed is recorded in `agent-connection.json` in the same folder. - Claude Code: Connect writes to `~/.claude`. If the person runs Claude Code with `CLAUDE_CONFIG_DIR` set to another folder in their shell, Claude Code reads skills from `$CLAUDE_CONFIG_DIR/skills` instead and will not see the skill (Cactorial, opened from Finder, does not see shell variables). Copy or link `~/.claude/skills/cactorial` there and add the three settings to `$CLAUDE_CONFIG_DIR/settings.json`. - When Cactorial updates, it updates the installed skill at launch, unless someone changed the installed copy. Then Settings > Agents says so and offers "Use This Version". ## How an agent uses Cactorial - Load the skill when the person asks for a tutorial, screenshots, a guide, a course, a brand or anything Cactorial does. Studio's ready-made prompts start with "Use the cactorial skill to ...". In Claude Code the skill can also be called as `/cactorial`, in Codex as `$cactorial`. When "Other agents" is the only agent connected, newer versions of Cactorial also name the skill's file in their prompts, "Use the cactorial skill (read ~/.agents/skills/cactorial/SKILL.md) to ...": if you did not load the skill, read that file and follow it. - `SKILL.md` names the guide for each kind of request (tutorial, plan, record, narrate, listen, edit, review, screenshots, publish, brand, app profiles, guides, collections). Read guides on demand, not all at once. - Run `cactorial guide` once per session: the recorder's and Studio's rules. - Every tool runs through the command: `cactorial TOOL key=value ...` or `cactorial TOOL '{"json": "object"}'` or `cactorial TOOL @/absolute/args.json`. `cactorial tools` lists the tools, `cactorial help TOOL` prints one tool's description and JSON Schema (the authority on its arguments). - Make `cactorial` the first word of its own shell command: no `cd ... &&`, no pipe, no redirect, no `$(...)`. Only such a command runs outside the agent's sandbox. - Composite commands: `cactorial record PROJECT SCENE...` (records scenes from their steps), `cactorial prepare`, `cactorial goto`, `cactorial page`, `cactorial dismiss`, `cactorial finish PROJECT` (renders and builds review evidence), `cactorial use PROJECT` (default tutorial for the session), `cactorial session status|list|end`. - A reply is one JSON object. Exit 0 means done, 1 means the tool refused or failed (read its message: it says what to do), 2 or more means the command could not reach the app or its session. - Long calls (`cactorial record`, `studio_generate_voices`, `studio_render`, `cactorial finish`) take minutes: give them a long time-out or run them in the background. - Cactorial serves at most eight agent sessions at once. Helper agents working in parallel each pass their own `-s NAME`. ### The tools, by area - Recorder: `see`, `permissions`, `app`, `window`, `recording_windows`, `recording_status`, `recording_cdp_targets`, `recording_cdp_inspect`, `recording_cdp_bridge`, recovery tools (`recording_*_recover`, `recording_restore_desktop`). - Planning and documents: `studio_init_tutorial`, `studio_set_brief`, `studio_schema`, `studio_read_document`, `studio_update_document`, `studio_validate`, `studio_status`, `studio_reset_scene`, `studio_check_setup`. - Narration and voices: `studio_narration_context`, `studio_submit_coverage`, `studio_voices`, `studio_generate_voices`, `studio_listen`, `studio_accept_listen`, `studio_sync_pronunciation`, `voice_keys_status`, music (`studio_import_music`, `studio_generate_music`). - Editing: `studio_edit_draft`, `studio_reading`, `studio_edit`, `studio_edit_check`, `studio_look`, `studio_compile`, `studio_enable_quality`, `studio_analyze_picture`, `studio_inspect_media`. - Render and review: `studio_render`, `studio_export_delivery`, `studio_thumbnail`, `studio_review_evidence`, `studio_reviewer_packet`, `studio_save_frame_review`, `studio_tutorial_context`, `studio_submit_tutorial_review`, `studio_listen_render`, `studio_production_report`, `studio_review_notes`, `studio_resolve_review_note`. - Courses: `studio_collection_status`, `studio_arrange_collection`, `studio_collection_review`, `studio_copy_tutorial`, `studio_follow_source`. - The person's own clips: `clips_index`, `clips_frames`, `studio_import_clip`, `clips_voice`. - Screenshots and articles: `docs_init_project`, `docs_status`, `docs_plan`, `docs_from_scenes`, `docs_import_capture`, `docs_update_image`, `docs_render_image`, `docs_review_image`, `docs_locate`, `docs_contact_sheet`, `docs_export_images` and more. - Brands and graphics: `brand_list`, `brand_preview`, `brand_save`, `brand_use`, `graphics_catalog`, `graphics_preview`, `graphics_validate_template`, `graphics_validate_brand`. - Publishing at cactorial.page: `publish_account`, `publish_status`, `publish_update`, `publish_package`, `publish_online`, `publish_sharing`, `publish_groups`, `publish_collections`, `publish_guides`, `publish_brand`, `publish_withdraw`. - Reports to Cactorial's makers: `feedback_report`, `feedback_outbox`. The list grows with new versions; `cactorial tools` on the person's computer is the current one. ## Troubleshooting ### Start here: check the setup yourself Run these as separate shell commands (each `cactorial` call on its own line, as the first word). They only read. ```bash ls -l ~/.claude/skills/cactorial/SKILL.md ~/.agents/skills/cactorial/SKILL.md ls -l ~/.local/bin/cactorial /opt/homebrew/bin/cactorial /usr/local/bin/cactorial ls -ld /Applications/Cactorial.app command -v cactorial cactorial permissions cactorial publish_account ``` How to read the results: - The skill file your kind of agent reads exists (Claude Code: `~/.claude/skills/...`; Codex and the others: `~/.agents/skills/...`): the skill is installed. If you still don't have it, see "No cactorial skill" below. - At least one `cactorial` link exists and points into `Cactorial.app/Contents/MacOS/recorder`: the command is installed. - `cactorial permissions` answers with JSON: Cactorial is running and reachable. It says whether Screen Recording and Accessibility are granted (both are required to record). - `cactorial publish_account` says whether this computer is signed in (needed only for publishing online). If everything is there and works, the setup is fine: carry on with the person's request. ### "No cactorial skill" / "I don't have access to a cactorial skill" Work down this list: 1. Is this agent able to work with Cactorial at all? If you cannot run shell commands on the person's computer, or you are a chat assistant or run in the cloud or a container, you cannot use Cactorial. Tell the person to use an agent that runs on their computer, such as Claude Code or Codex (see "What the person needs"). 2. Is the agent connected? If the skill file in the check above is missing for your kind of agent, ask the person to open Cactorial > Settings > Agents and click Connect next to their agent (Claude Code, Codex, or "Other agents" for agents that read `~/.agents/skills`). Connecting Claude Code does not install the skill for Codex, and the other way round. Do not tell the person to connect Claude Code unless they use Claude Code: if the skill and the command are installed and you are another agent, the fix is in step 4, not in Cactorial. 3. Did the session start before Connect? Agents load skills when a session starts. Ask the person to start a new agent session (a new conversation, or quit and reopen the agent) and paste their prompt again. 4. Does your agent read skills from a different folder? Then link the installed skill into the folder it reads (see "Agents that read skills from another folder" below). A link, not a copy, keeps getting Cactorial's updates. Some agents also need skills turned on in their settings. 5. Still no skill, but you can run shell commands and read files? Use it directly: read `~/.claude/skills/cactorial/SKILL.md` or `~/.agents/skills/cactorial/SKILL.md` (or the app's own copy, `/Applications/Cactorial.app/Contents/Resources/skills/cactorial/SKILL.md`) and follow it, opening the guides it links by their relative paths. Everything else works through the `cactorial` command. Tell the person their agent does not load skills by itself, so a new session will need the same. ### Agents that read skills from another folder Connect puts the skill in `~/.claude/skills/cactorial` (Claude Code) or `~/.agents/skills/cactorial` (Codex and "Other agents"). Agents that look elsewhere need a link, made once (ask the person before you create it): | Agent | Where it reads skills | Link to make | | --- | --- | --- | | Continue (VS Code, JetBrains) | `~/.continue/skills/` (and a workspace's `.continue/skills/` or `.claude/skills/`) | `mkdir -p ~/.continue/skills` then `ln -s ~/.agents/skills/cactorial ~/.continue/skills/cactorial` | | Claude Code with `CLAUDE_CONFIG_DIR` set | `$CLAUDE_CONFIG_DIR/skills/` | `ln -s ~/.claude/skills/cactorial "$CLAUDE_CONFIG_DIR/skills/cactorial"`, and add Connect's three settings to `$CLAUDE_CONFIG_DIR/settings.json` | Then start a new session. If your agent still does not list the skill, give it a standing instruction instead, in whatever its global rules or instructions are (for Continue: a Markdown file in `~/.continue/rules/`): ```markdown --- name: Cactorial description: Use when the person mentions Cactorial, the cactorial skill, or asks for a tutorial video, documentation screenshots or a guide of an app or website. alwaysApply: false --- For anything about Cactorial, first read ~/.agents/skills/cactorial/SKILL.md and follow it, opening the guides it links by their paths relative to that folder. Run `cactorial` commands in the terminal, each as the first word of its own command. Setup help: https://cactorial.com/agents ``` Agents that ask before every shell command (Continue's "Ask First" policy for its terminal tool, for example) will ask for each `cactorial` call; a tutorial makes dozens. The person decides whether to allow the terminal tool automatically. Not a problem: the folder a Studio prompt names, such as `~/Documents/Cactorial/Default Project/Tutorials`, is the person's collection of lessons. It holds `cactorial-collection.json` and the tutorials' folders, never the skill. The skill is in the agent's skills folder. ### `cactorial: command not found` 1. Look for the links: `~/.local/bin/cactorial`, `/opt/homebrew/bin/cactorial`, `/usr/local/bin/cactorial`. If one exists, call it by its full path for this session, and tell the person that a new agent session finds it by name (Connect added `~/.local/bin` to the search path in `~/.zshenv` or `~/.bash_profile`, which agents started earlier did not read). 2. A link that answers "No such file or directory" points at a copy of Cactorial that was moved or deleted. Opening Cactorial repairs its links. Ask the person to open it (and to keep it in Applications). 3. No link anywhere: the agent is not connected. Ask the person to connect it in Cactorial > Settings > Agents and to start a new agent session. 4. Connect said "A different cactorial command is already at ...": another program uses that name. The person removes it, then connects again. ### "This shell's sandbox does not let commands reach Cactorial" Exit status 77. Cactorial itself is fine: your sandbox kept the command inside it. - Run `cactorial` alone, as the first word of the shell command: not piped (`| head`), not chained (`&&`, `;`), not after `cd`, not inside `$(...)`, no redirect. Only such a command matches the allow rule. - If a plain `cactorial ...` command is refused too: approve running `cactorial` outside the sandbox when your agent asks, or ask the person to connect the agent again in Settings > Agents (this restores the Claude Code settings or the Codex rule), or allow Cactorial's socket (`~/Library/Application Support/com.lindencode.cactorial/mcp.sock`) in the agent's sandbox settings. - Codex without the rule file `~/.codex/rules/cactorial.rules` asks for approval for each `cactorial` subcommand, and in non-interactive runs fails with exit 77. Connect writes that file. ### "Cactorial is not reachable at ...mcp.sock" or "Cactorial did not answer" - Not reachable (exit 69): the command tries to open Cactorial and waits 20 seconds. Ask the person to open Cactorial and check that its icon is in the menu bar, then run the command again. In a sandboxed agent, also allow the socket as above. - Did not answer (exit 76): ask the person to quit Cactorial (from its menu bar icon or Cactorial > Quit) and open it again. - "Could not reach Cactorial" or "Could not send the request to the session" (exit 74): run the command again; if it repeats, quit and reopen Cactorial. - "The session ended before answering" (exit 69): run the command again; a new session starts. - "does not keep command-line sessions. Update it." (exit 78): the installed app is older than the command expects. The person updates Cactorial. ### Permissions: "Cactorial lacks Screen Recording and/or Accessibility" Printed by any command when a permission is missing; recording fails until it is granted. `cactorial permissions` shows the state. Ask the person to grant it in System Settings > Privacy & Security > Screen Recording (or Accessibility), turning on Cactorial, and to reopen Cactorial if macOS asks. Never try to grant permissions yourself, and never edit the TCC database. ### Other situations - `"status": "sign_in_required"`: Cactorial opened its sign-in. The person signs in (Settings > Licence), then you call the tool again. Never sign in yourself. - Refused because eight sessions already run (Cactorial serves at most eight): end helper sessions you no longer need (`cactorial -s NAME session end`) or wait for other agents to finish. `cactorial session list` shows what runs. - `record`, `prepare` or `goto` waiting: only one scene has the screen at a time; the reply says which agent has it. `--wait-minutes N` sets how long to wait. - A conversation restarted and a take may be open: the next `cactorial record` in the same session stops it. Find the old session with `cactorial session list` and pass `-s NAME`. - After the person updates Cactorial: running sessions keep the older recorder until they end. `cactorial session end` (or `cactorial -s NAME session end`), then continue. - The installed skill was changed by hand and is no longer updated: Settings > Agents says so and offers "Use This Version", which moves the changed copy to the Trash and installs the app's. - A refusal or error message from a tool (exit 1) always says what is in the way and what to do. Read it and follow it before reporting a problem. ### Exit statuses of `cactorial` | Exit | Meaning | | --- | --- | | 0 | Done | | 1 | The tool refused, failed or is blocked; read its message | | 64, 65, 66 | The command or its arguments were wrong (usage, not JSON, unreadable `@FILE`) | | 69 | Cactorial or the session is not reachable, or refused the session | | 70 | The session failed to list its tools or answer | | 74 | Could not talk to Cactorial or the session | | 76 | Cactorial did not answer; quit and reopen it | | 77 | The agent's sandbox blocked the socket | | 78 | Cactorial is too old for this command; update it | ## Getting help - When something in Cactorial goes wrong or a guide is wrong, call `feedback_report` (`cactorial help feedback_report`): one report per problem, with what you did, the exact message, what you expected and any workaround. Depending on the person's setting (Settings > Agents > Reports from your agent), you show them the report first. Reports never include recordings, narration or keys. - People can ask in the Cactorial category of the Pinegrow forum: https://forum.pinegrow.com/c/cactorial/85. When you help a person write a post, include: the agent and how it runs (for example Claude Code in a terminal, Codex app), the output of the checks in "Start here", and the exact message. ## Links - Home page: https://cactorial.com - Learn Cactorial (lessons for people): https://cactorial.page/g/cactorial/learn - Questions: https://cactorial.com/faq - Pricing: https://cactorial.com/pricing - Voices: https://cactorial.com/voices - Published tutorials and guides: https://cactorial.page