Skip to main content

Supervaizer Integration skill

Source: supervaizer/skills/supervaizer-integration

This skill lets a coding agent (Claude Code, Cursor, Codex, Gemini CLI) connect your Python agent to Supervaize Studio. It does two things:

  1. It interviews you, so that you decide what a mission, a job, a case and a step are for your agent.
  2. It builds the integration from the guides of this site, one topic at a time, with tests.

The skill is released with the Supervaizer SDK, so it follows the current version.

Key Principle

The most important integration decision is semantic mapping, not syntax. If the Job/Case/Step mapping is wrong, the controller code may run but the Supervaize UI and telemetry will be misleading.

Before you start​

  • A Python agent project (Python 3.12 or later) that already works.
  • A coding agent that can load skills.
  • 30 minutes for the interview. Your answers decide what operators see in Studio.
  • No Studio account is necessary at the start. The skill runs supervaizer login when the agent is ready, and you sign in or sign up in your browser.

Install​

In Claude Code:

/plugin marketplace add supervaize/supervaizer
/plugin install supervaizer-integration@supervaizer

With Cursor, Codex, Gemini CLI or another coding agent, clone the SDK and tell the agent to read the skill:

git clone https://github.com/supervaize/supervaizer.git
Read supervaizer/skills/supervaizer-integration/SKILL.md and follow it to integrate this agent with Supervaize.

An agent that can read the web can also start from the address of SKILL.md. A local clone is better: the skill also uses the SDK docs, the examples and its helper script.

For coding agents

Load SKILL.md before you change code, and follow its order: read, interview, record, build, test and connect. The skill links to the guides of this site for each topic. Read the guide of a topic before you build it. The site index for agents is /llms.txt.

Use it​

Open your agent project and ask:

Integrate this agent with Supervaize.

To add one capability to an agent that is already connected, name it:

You wantAsk
The first integrationIntegrate this agent with Supervaize.
Workspace settings and secretsMove the API keys and settings of this agent to Supervaize parameters.
A person approves a stepAdd a human approval before the agent sends an e-mail.
Mission rules decideAdd guardrail controls to the steps that have an effect outside the agent.
Costs on the job pageAdd cost reporting to this agent.
Data that operators editMake the data that several jobs share a Supervaize resource.
Setup on the job pageAdd a Configure screen to the jobs of this agent.
DashboardsAdd an analytics dashboard to the jobs of this agent.
Production hostingDeploy this controller to the cloud.
A registration that failsStudio refuses the registration of my agent. Find out why and fix it.

What happens​

StageWhat the skill doesWhat you do
1. ReadReads your code: the entrypoint, the inputs, the loops, the outputs, the secrets, the calls with outside effectsNothing
2. InterviewAsks its questions in rounds. Each question comes with a recommended answer and the reason from your codeDecide
3. RecordWrites your decisions to integration_spec.json and shows you the summaryConfirm
4. BuildRuns supervaizer scaffold, then builds one topic at a time from its guide, each with a testReview
5. Test and connectRuns the controller without Studio. Then runs supervaizer login, starts the controller and gives you the link to your agent in StudioApprove the login in your browser, then accept the agent's workspace authorization on its Studio page

The interview​

The skill does not accept "it depends". It asks about your last real run, repeats your answer as an example, and asks again when the result would be useless to an operator. A round looks like this:

Round 2: the cases

Q1. What does the operator count when they ask "how many are done"?
Recommended: one case per lead. run_batch() loops over `leads`
and each lead ends with its own status.

Q2. Is the list of leads known when the job starts?
Recommended: yes. The CSV is read before the loop.

Q3. When one lead fails, do the others continue?
Recommended: yes. The loop catches the error and goes on.

The questions follow this order, and each answer opens the next ones:

  1. The job: what one click starts, who starts it, how long it runs.
  2. The cases: what the operator counts.
  3. The steps: what can fail, cost money, produce an output, have an outside effect or need a person.
  4. The topics that your answers opened (table below).

The interview continues during the build. When the code shows a point that nobody decided, the skill stops and asks.

What it builds​

TopicThe skill brings it upGuide
Registration, start form, job stateAlwaysBuild your controller
Field definitions of the formsAlwaysField definitions
Parameters and secretsWhen your code reads API keys or settingsAgent parameters
Cost reportingAlwaysCost reporting
Human in the loopWhen a step cannot be undone, can be unsure or needs a personHuman in the loop
Guardrail controlsFor each step with an effect outside the agentGuardrail controls
Shared resourcesWhen jobs share data or operators must edit itShared resources
Configure screenWhen a job needs setup on its pageJob Configurator
Analytics dashboardsWhen the agent has numbers to followJob and mission analytics

You can decline a topic. The skill then says in its final report which topics it skipped.

What you get​

  • supervaizer_control.py: the controller, created by supervaizer scaffold and completed.
  • Handlers in a module of your project, and tests that call them as Studio does.
  • integration_spec.json: the record of your decisions.
  • A final report: the mapping, the surfaces and actions, the tests, and what is still to write.

Tips​

  • Answer with real examples: "last Monday the job had 40 contacts and 3 failed".
  • Think like the operator. They do not know your code. They want to see what is done, what waits and what failed.
  • Start small. A good job, case and step mapping with costs is worth more than every option.

Learn the model first​