/iblai-vibe:iblai-vibe-os-agent-coworkfrom ibl.ai vibe
Enables the ibl.ai desktop app's Cowork feature, letting the agent see your screen, click, and type for you. Handles macOS Accessibility and Screen Recording permissions. Works with Code in the same turn and in a browser-extension side panel.
Ships in ibl.ai vibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Cowork lets the agent use your computer. Turn it on under the message box and the agent can see what is on the screen, open apps, and click and type for you, including in your browser on sites you are signed in to. It asks once before it starts, walks a Mac through the two permissions macOS needs, and works next to Code in the same turn. The first half of this page is how to use it; the second half adds it to an app of your own.

Common setup (brand, conventions, env files, verification): see docs/skill-setup.md.
Click Cowork under the message box. The first time, it asks Let Cowork Use Your Computer? and says what that means: it sees your screen, clicks and types for you, can act as you on sites you are signed in to, and sends what it sees to ibl.ai to work out the next step. Nothing is asked of macOS yet.

On a Mac the dialog becomes Finish Setting Up Cowork: a two-step list, Accessibility (so Cowork can click and type) and then Screen Recording (so it can see the screen). Only the current step has a button, so two macOS alerts never pile up, and the list updates by itself every second.


A setup resumes after a restart only within ten minutes of your last step there. Leave it longer, or press Not Now, and Cowork stays off; it never reopens the dialog later or turns itself on. Not Now keeps your consent, so the next try starts at the list.
Once both are allowed, Cowork turns on with Cowork is on. and the pill turns blue. Click the pill again to turn it off; that also stops the driver.

Windows and Linux ask for no permissions: after the consent, Cowork turns straight on.
/iblai-vibe-local-llm). The first
reply in a chat can take a few minutes, and the line under the reply
says so (Thinking on this computer…). Small models still make mistakes
on long tasks.Turn on both Code and Cowork and Code keeps the turn: its agent gets the screen tools too, so one message can edit files and click around the screen. Code's Approvals covers both:
Turning Cowork on or off mid-chat keeps the chat. See
/iblai-vibe-os-agent-code-mode.
In a side panel (the ibl.ai Chrome extension's), Cowork drives the tab you are looking at instead of the computer, so there is no driver and no macOS setup. The pill opens a small panel: the on/off switch, a note on what it reads (never password or payment fields), Approvals, and Record a skill when the extension offers it.

| You see | What to do |
|---|---|
| The pill is grey; hovering it says Cowork isn’t available in the App Store version of the app. | The Mac App Store build cannot run the driver. Use the build from ibl.ai |
| Cowork isn’t supported on KDE Plasma yet. / … on this operating system. | Linux: KDE Plasma is not supported yet. Use another session |
| Cowork isn’t supported on this desktop session. | An unsupported Linux session, or (in your own app) a desktop build without Cowork's Rust: see Step 1 below, or hide the pill with features: { cowork: false } |
| Cowork on GNOME needs the WinRects helper installed, then a session restart. | Install the helper, sign out and back in |
| Turn on “Local Models” first / Your local model is too small for Cowork | Step 4 |
| Screen Recording stays unticked after you switched ibl.ai on | Restart ibl.ai; the grant counts only after a relaunch |
| No Cowork pill on a phone | Cowork drives a computer; phones have none |
How it works, in one paragraph: the SDK <Chat> owns everything people
see and the turn itself: the pill, the consent, the macOS steps, the side
panel, and the loop that sends a Cowork message to the model with the
screen tools and runs each tool call. Your Tauri app provides the driver
those tools come from: it downloads and verifies cua-driver, runs it as a
child of the app (so it inherits the app's macOS grants), passes JSON-RPC
lines to and from it, and answers the grant, relaunch and on-device-model
commands. The copies in assets/tauri/src-tauri/
are the OS app's own files; the mechanics, every command and event, and the
wiring are in references/.
/iblai-vibe-ops-build./iblai-vibe-os-agent-code-mode
(Step 1 there). Cowork's modules call into it, and it calls into
Cowork's; the Code pill itself is optional./iblai-vibe-auth:
Cowork on the organization's models needs the session token and the org.@iblai/iblai-js@^3.6.0 (resolves @iblai/web-containers 2.6.0).
The guided macOS setup and Code with Cowork are not in releases before
2.81.0, and the side panel's Record a skill row not before 2.83.0..dmg
from /iblai-vibe-ops-build: the App Sandbox must be off, so the Mac App
Store build shows the pill disabled. No Info.plist key or entitlement is
needed; both grants are asked at run time
(references/macos.md).mkdir -p src-tauri/permissions
cp <skill>/assets/tauri/src-tauri/src/* src-tauri/src/
cp <skill>/assets/tauri/src-tauri/permissions/cowork.toml src-tauri/permissions/
cp <skill>/assets/tauri/src-tauri/capabilities/macos-permissions.json src-tauri/capabilities/
| File | What it is |
|---|---|
cua_driver_installer.rs | Downloads the pinned driver (0.17.0, from the trycua/cua GitHub releases), checks its SHA-256 against the release's checksums.txt, installs it under ~/.local/share/iblai/bin/ (on macOS: quarantine flag removed, signed ad hoc). A cua-driver already on PATH wins. Installed the first time Cowork is switched on, not at launch |
cua_driver_mcp.rs | Runs the one driver child, forwards its JSON-RPC lines (cua_driver_send, the cua-driver:message / cua-driver:closed events), and holds the macOS commands: request_cowork_permission, open_privacy_settings, relaunch_app, bring_app_to_front. Also the daemon Code's agent reaches when Cowork is on |
local_llm_openai.rs | local_llm_openai_stream / _cancel: a Cowork turn on Local Models, streamed from the model on this computer over a Tauri channel, on a copy sized to 32,768 tokens |
permissions/cowork.toml | One allow-* per command, as the cowork set |
capabilities/macos-permissions.json | The tauri-plugin-macos-permissions checks and requests, macOS only |
Then wire them: the module, the tauri-plugin-macos-permissions plugin
(macOS only), the commands and the hooks, exactly as in
references/lib-rs-wiring.md; add the
Cargo entries from references/cargo-deps.toml
and reference the cowork set per
references/capabilities.md. Every command
and event: references/tauri-commands.md.
The shell's own commands (open_external_url, allow_in_app_purchase,
get_locked_tenant) must stay allowed. Tauri refuses any app command no
capability allows once src-tauri/permissions/ holds a file, and the SDK
falls back quietly. A shell from /iblai-vibe-ops-build has
permissions/shell.toml and lists them. If yours doesn't, copy
shell.toml
in and add its three allow-* entries to default.json.
cd src-tauri && cargo check # must compile before touching the frontend
The SDK <Chat> shows the pill on a Tauri desktop that answers
check_cua_driver_status, and the starter's chat page needs no other
change. config.features.cowork (default true) is the only switch.
The setup's strings name the ibl.ai app (Switch on ibl.ai in the list,
Restart ibl.ai). In System Settings macOS lists your app under its own
name, the productName in tauri.conf.json. Override those five strings
through <Chat>'s labels, keyed as in the SDK's chat catalog:
import type { ChatLabels } from "@iblai/iblai-js/web-containers/next";
const APP = "My App"; // productName in src-tauri/tauri.conf.json
// <Chat labels={coworkLabels} … />
export const coworkLabels: ChatLabels = {
chatInputFormInsideButtons: {
coworkStepAskedAccessibility: `Switch on ${APP} in the list. macOS may ask for your password or Touch ID.`,
coworkStepAskedScreenRecording: `Switch on ${APP} in the list. When macOS offers to quit and reopen ${APP}, choose Quit & Reopen. Setup finishes by itself.`,
coworkRelaunchHint: `Switched it on but it isn’t ticked yet? Restart ${APP} to finish.`,
coworkRelaunch: `Restart ${APP}`,
coworkOpenSettingsManually: `Open System Settings › Privacy & Security › {pane}, then switch on ${APP}.`,
},
};
Keep {pane}: the SDK fills it with Accessibility or Screen
Recording. Two more strings, coworkConsentBody and coworkTabNote, name
ibl.ai as the place what Cowork sees is sent (the platform, not the app).
Override them the same way if your app words that differently.
A desktop build without Step 1 shows a disabled pill (Cowork isn’t
supported on this desktop session.), because the status call fails. In a
Tauri app that does not ship Cowork, pass features: { cowork: false } in
the chat's config.
In a side panel the same pill drives the open tab through your extension's
own worker. Pass config.browse: run gets the person's message while
Cowork is on, stop ends the run, and recording adds Record a skill.
// lib/panel-browse.ts — the side panel's config.browse
import type { ChatBrowseBridge } from "@iblai/iblai-js/web-containers/next";
type PanelMessage =
| { type: "run"; goal: string }
| { type: "stop" }
| { type: "record"; on: boolean };
export function panelBrowse(opts: {
isRunning: boolean;
send: (message: PanelMessage) => void;
recording?: { isRecording: boolean; count: number };
}): ChatBrowseBridge {
return {
inExtensionPanel: true,
isRunning: opts.isRunning,
run: (goal) => opts.send({ type: "run", goal }),
stop: () => opts.send({ type: "stop" }),
recording: opts.recording && {
...opts.recording,
start: () => opts.send({ type: "record", on: true }),
stop: () => opts.send({ type: "record", on: false }),
},
};
}
The panel's Approvals choice is saved as ibl_cowork_approvals (manual
or auto; anything else reads as auto) in the panel page's
localStorage. Read it when you start a run, and ask before a form is
submitted when it is manual.
From @iblai/iblai-js/web-containers:
useCuaDriver — the hook behind the pill: status, isSupported,
unsupportedReason, install, stop, refreshPermissions,
requestPermission(kind, openSettings), openPrivacySettings,
bringToFront, relaunch. Outside the desktop app every call does
nothing.CUA_DRIVER_TAURI_COMMANDS, CUA_DRIVER_TAURI_EVENTS — the command
names the hook invokes and the install events your Rust emits;
MACOS_PERMISSIONS_COMMANDS — the plugin's grant checks.requestPermission takes "accessibility" or "screen_recording" and
resolves "granted", "not_granted" or "unsupported";
unsupportedReason is "unsupported_os", "kde_unproven",
"gnome_helper_missing", "unknown_session" or "sandboxed". The SDK
exports no types or constant for these, so compare the strings.isCoworkEnabled, setCoworkEnabled — the on/off preference
(ibl_cowork_enabled); modelSupportsCowork — the 12 GB local-model
check.From @iblai/iblai-js/web-containers/next: the types ChatFeatures
(cowork) and ChatBrowseBridge. Its recording shape has no exported
name; use NonNullable<ChatBrowseBridge["recording"]>.
What the SDK keeps in localStorage: ibl_cowork_enabled,
ibl_cowork_consent, ibl_cowork_setup_pending and
ibl_cowork_setup_pending_at (the ten-minute resume), and the side
panel's ibl_cowork_approvals; the panel's on/off is in session storage
(ibl_cowork_panel).
| Call | Purpose |
|---|---|
POST {chat host}/api/ai-mentor/orgs/{org}/v1/chat/completions (openai/gpt-5, streamed, the user's session token) | A Cowork turn on the organization's models; {chat host} is the origin of config.baseWsUrl |
https://github.com/trycua/cua/releases | The pinned cua-driver and its checksums.txt |
| The model on this computer (Ollama) | A Cowork turn on Local Models, through local_llm_openai_stream |
ibl_cowork_enabled on for the user.cd src-tauri && cargo check — zero errors.pnpm build — zero errors; pnpm test passes.pnpm exec tauri dev on a Mac, signed in: open a chat, click Cowork,
Turn On, allow Accessibility, allow Screen Recording, Restart
ibl.ai; after the relaunch the setup finishes with Cowork is on.
Ask it to "open Calculator and add 2 and 2"./ in the browser as /iblai-vibe-ops-test says: in a plain
browser there is no Cowork pill (no desktop to drive)./iblai-vibe-os-agent-code-mode — Code; with both on, Code keeps the turn and gets the screen./iblai-vibe-ops-build — the Tauri shell this drops into./iblai-vibe-local-llm — the on-device models Cowork can run on./iblai-vibe-agent-chat — the SDK chat that renders the pill (config.features.cowork)./iblai-vibe-agent-skills — where a recorded skill lands.assets/iblai-vibe-os-agent-cowork-1-pill.png (opens in a new tab)assets/iblai-vibe-os-agent-cowork-2-consent.png (opens in a new tab)assets/iblai-vibe-os-agent-cowork-3-accessibility.png (opens in a new tab)assets/iblai-vibe-os-agent-cowork-4-screen-recording.png (opens in a new tab)assets/iblai-vibe-os-agent-cowork-5-on.png (opens in a new tab)assets/iblai-vibe-os-agent-cowork-6-panel.png (opens in a new tab)assets/tauri/src-tauri/capabilities/macos-permissions.json (opens in a new tab)assets/tauri/src-tauri/permissions/cowork.toml (opens in a new tab)assets/tauri/src-tauri/src/cua_driver_installer.rs (opens in a new tab)assets/tauri/src-tauri/src/cua_driver_mcp.rs (opens in a new tab)assets/tauri/src-tauri/src/local_llm_openai.rs (opens in a new tab)references/capabilities.md (opens in a new tab)references/cargo-deps.toml (opens in a new tab)references/lib-rs-wiring.md (opens in a new tab)references/macos.md (opens in a new tab)references/tauri-commands.md (opens in a new tab)test.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
computer-use, screen-sharing, desktop-automation, cowork, iblai
166 skills in this plugin
/iblai-api-agent-accessManage role-based access to an ibl.ai agent via the platform API — list role policies, search users/groups, and grant/revoke editor, chat, or analytics_viewer roles for users, groups, and emails. Use when controlling who can edit, chat with, or view analytics for an agent./iblai-api-agent-auditRead an ibl.ai agent's audit log via the platform API — a who-changed-what trail filterable by action, actor email, and date range. Read-only. Use when investigating configuration changes to an agent./iblai-api-agent-chatSet up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools.npx claudepluginhub iblai/base --plugin iblai-vibeOther plugins' skills for the same job