> ## Documentation Index
> Fetch the complete documentation index at: https://vida.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Reusable helpers and browser automation

> Turn a stable software operation into a tested function a Vida Agent can call.

A reusable helper gives a Computer Agent one exact operation with defined inputs and a structured
result. Helpers are the operation layer of **Task → Skill → Helpers**. The owning skill defines
their sequence, decisions, recovery rules, and outcome checks.

Helpers can be:

* **Browser-backed:** Use the Computer Agent's signed-in browser to navigate a website or call an application endpoint that depends on the browser session.
* **Browser-independent:** Work directly with an API, file, or data source without opening the browser.

## Choose a helper or delegated work

| Need | Best choice |
| - | - |
| One stable operation with known inputs and results | Reusable helper |
| A prepared workflow in a signed-in website | Browser-backed helper |
| API, file, or data work with no browser dependency | Browser-independent helper |
| A prepared workflow spanning several operations | An owning skill that composes registered helpers |
| Exploration needed to learn an operation | Bounded Computer or Browser work during construction |
| Interactive collaboration and clarification | Direct Computer Agent chat |

Use exploration to establish the operation, then implement and verify its helper before delivery.
Do not leave a delivered workflow dependent on free-form Browser work or the builder's prior chat.

## Keep files with the owning skill

Keep the procedure, helper source, required resources, and generated results together:

```text theme={null}
skills/{skillSlug}/
  SKILL.md
  helpers/
  references/       # Optional detailed rules and recovery guidance
  assets/           # Optional templates and required static files
  outputs/{runId}/   # Retained reports, CSVs, PDFs, and other results
  tmp/{runId}/       # Optional disposable work
```

Create only what the workflow needs. This layout is an authoring convention, not a new API schema.
Declare required resources and derive paths from the skill instead of an operator's local paths.
Separate run directories prevent later runs from overwriting earlier outputs.

Preserve outputs under the workflow's retention policy and deliver their references through the
intended channel. Temporary work can be cleaned without deleting results. A workflow that consumes
an earlier output declares that input explicitly; it does not search old runs to infer its state.
Exclude customer outputs and temporary files from reusable source packages and capability clones.
Vida-managed recordings retain their returned evidence locations; Canvas source stays under `app/`.

A request to package the capability can stop at reviewed source, dependencies, named target inputs,
and setup/test instructions. Provisioning, authentication, and deployment belong to a requested
target installation; a prepared package alone does not prove it is ready in another account.

## Generate a helper from a browser workflow

Use the Browser workflow recorder when a process must be learned from a website:

1. Make sure the Computer Agent's browser is signed in to the intended account.
2. Record one complete, representative workflow and explain the intended business outcome.
3. Stop the recording, then generate helpers or author reviewed helpers from its evidence.
4. Use a neutral skill name when the website address contains a customer name or another detail that should not become the reusable skill identity.
5. Review the generation conversation and test every generated operation with safe data.

A recording is evidence, not proof that every variation works. Confirm the helper's inputs, result, failure behavior, and effect in the destination system.

Generation freezes the finalized recording IDs selected when it starts. If you capture better
evidence afterward, start a new generation. Follow the generation conversation and activity status
rather than treating a long-running phase as a failure.

## Build a Browser-independent helper

An API developer or an authorized setup Agent can add a focused helper to the skill that owns its instructions. Keep the implementation and usage guidance together so the capability can be installed, updated, and removed as one unit.

Declare only the managed credentials the helper needs. The helper receives those values at execution time; callers supply business inputs, never secret values.

The complete API walkthrough—including the helper source, managed-secret setup, registration,
execution, and conversational test—is in
[Workspaces, helpers, and browser automation](https://vida.io/docs/api-reference/agent-guides/computer-agent-workspaces-and-helpers.md#example-call-an-api-without-opening-the-browser).

## Test before exposing it to conversations

Confirm the owning skill is discoverable separately from helper registration. A successful helper
refresh does not prove the skill loaded. Check each helper's exact name, inputs, Browser requirement,
owning skill, and required credential IDs. Run a safe representative request and inspect both the
structured result and the destination system.

Then test the intended Task or request in a fresh execution. The Task names the skill and supplies
business inputs; it does not duplicate the procedure. Direct callers that already know the exact
operation can execute its registered helper without creating a schedule.

The runtime result and the registered result description must agree, including filters, durable IDs,
and normalized business fields callers rely on. Preserve opaque IDs exactly as returned.

For a conversational Agent:

* **Computer** can invoke an exact registered helper or delegate broader multi-step work.
* **Browser** is for ad hoc work in the live Browser, not registered helpers.

Add the Computer function and write instructions that map conversation values to the helper's exact
input names. A Computer Agent uses its own Computer automatically; select another Computer Agent only
when the work must be delegated across Agents. Test the staged conversational Agent before
publishing it.

Re-test Browser-backed helpers after the website changes. Re-test every helper after changing its owning skill or credentials.

> [!NOTE]
>
> Creating and operating helpers through the API? See [Workspaces, helpers, and browser automation](https://vida.io/docs/api-reference/agent-guides/computer-agent-workspaces-and-helpers.md).
