Skip to main content

Claude skill

The Convolution Labs skill lets Claude work on your account from a terminal session: create and edit agents, publish and run them, read their traces, manage tools and rules, run security scans, and compose data pipelines. It does this by calling the same public REST API documented on this site. It can't do anything you couldn't do with curl; it knows the routes, the request shapes and the platform's rules, so you don't have to look them up.

Install​

curl -sL https://<host>/api/v1/skill | tar xz -C ~/.claude/skills

Replace <host> with your Convolution Labs domain. The download needs no API key. It extracts a convolution folder into Claude's skills directory; the skill inside is named convolution-labs.

:::note The download matches your deployment The skill isn't a separately versioned package. It's packaged when the platform is built and served by the same deployment as the API it describes. After a platform update, run the install command again to get the current version. :::

Set up your API key​

  1. Create a key in Workspace → Keys (New key), or ask in chat, for example create an API key with read, write and run for the Claude skill. Give it the scopes you want the skill to use: read, write, run. See Run an agent via API.

  2. Export it in your shell:

    export CONVOLUTION_API_KEY=cl_xxxxxxxxxxxxxxxx
  3. If your deployment isn't the default host the skill is written for, point it at yours:

    export CONVOLUTION_API_URL=https://<host>/api/v1

The skill reads the key from the environment. It never asks you to paste the key into the conversation, and if you paste one anyway, it doesn't repeat it back.

What it can and can't do​

It can do anything the REST API can:

  • list, create, update, delete and publish agents;
  • run agents, poll for results and read traces;
  • manage your custom tools, attach tools to agents, and manage rules;
  • list teams and their members;
  • run static and dynamic security scans and read findings;
  • list data sources and destinations, create and update connections, and trigger syncs;
  • read your plan, credit balance and credit history.

It can't do what the API doesn't expose:

  • create data sources, data destinations or LLM keys. A source or destination needs a database connection string, and an API key must never be the way a new credential enters your account or a sync gets pointed at a database nobody reviewed. Create them in the web app first (Workspace → Connections); the skill can then list them by name and use their ids;
  • create or revoke API keys;
  • share an agent or tool with a team after creating it, invite people or change roles (it can create a resource directly in a team, with teamId);
  • delete a connection;
  • run test suites.

It asks first​

The skill asks you to confirm before it deletes an agent, publishes one, starts a run, triggers a sync, or starts a dynamic scan. It also confirms before creating anything inside a team, since everyone in the team will see it. A static scan is free and needs no confirmation.

Worked examples​

Create and run an agent:

Create an agent called "Weekly digest" that summarizes new arXiv papers,
then run it with input {"topic": "reinforcement learning"}.

The skill creates the agent with POST /api/v1/agents, confirms, runs it with POST /api/v1/agents/{id}/run, and polls GET /api/v1/runs/{runId} until it finishes, waiting 2, 4, 8 and then 30 seconds between polls.

Wire up a pipeline:

List my data sources and destinations, then create a connection from
"Production Postgres" to "Warehouse" syncing the orders table hourly.

The skill lists both with GET /api/v1/data/sources and GET /api/v1/data/destinations, resolves the names to ids, and creates the connection with POST /api/v1/data/connections. This only works once both already exist in the app. A connection created through the API is active right away; there's no dry-run step as there is in chat.

Scan an agent:

Run a static security scan on "Support Replies" and tell me what to fix.

The skill calls POST /api/v1/agents/{id}/scans with {"kind": "static"} and reads the findings back.

Limits that apply to the skill too​

The skill authenticates with your API key, so the same rules apply as in the REST API reference: the scopes your key has, the same 404 for resources that are missing or not yours, and the same rate limits (600 reads per hour and 60 writes and runs per hour combined, per key). On an error, the skill relays the action from the error response, and it doesn't retry rate_limited or insufficient_credits silently.

See also​