Xpersona
S

Skill

CLAWHUB · Unverified

Connect your OpenClaw instance to kemia (https://kemia.byte5.ai) for visual agent configuration management. Use when: (1) connecting to a kemia deployment fo... Skill: Skill Owner: cwendler Summary: Connect your OpenClaw instance to kemia (https://kemia.byte5.ai) for visual agent configuration management. Use when: (1) connecting to a kemia deployment fo... Tags: latest:1.1.0 Version history: v1.1.0 | 2026-04-15T11:02:22.236Z | user Machine fingerprint for Re-Auth + ack endpoint call after enrollment v1.0.3 | 2026-04-14T20:23:03.705Z | user API URL updated to kemia.byte5.ai

62
Rank
84
Safety
969
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 969 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: medium.

clawhub skill install s17epnr5ysv9kk5b9978t3mzjs84vqgj:kemia
  1. Setup complexity is MEDIUM. Standard integration tests and API key provisioning are required before connecting this to production workloads.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-cwendler-kemia/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

64,650 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: kemia
description: >
  Connect your OpenClaw instance to kemia (https://kemia.byte5.ai) for visual agent configuration management.
  Use when: (1) connecting to a kemia deployment for the first time (/connect),
  (2) importing an edited agent config from kemia (/import),
  (3) checking connection and deploy status (/kemia-status),
  (4) generating a one-time login link for the kemia web UI (/kemia-link).
  NOT for: editing agent configs directly — that happens in the kemia web UI.
---

# Kemia — Agent Configuration Manager

Manage your agent configurations through the kemia web interface.

**Architecture:** OpenClaw always initiates. Kemia never pushes. All communication is pull-based via the v1 API.

## Prerequisites

- `jq` must be installed
- `curl` must be available
- Config stored at: `~/.openclaw/workspace/skills/kemia/config.json`

## Commands

### `/connect <kemia-url>` (two-step, resumable)

Connect this OpenClaw instance to a kemia deployment. Works in two steps because the confirmation happens in a browser and can take arbitrary time — the script never runs a long polling loop that could be killed by OpenClaw/Exec.

**Step 1 — start enrollment:** `/kemia connect https://kemia.byte5.ai`
- `POST /api/v1/enroll` → enrollment URL
- Persists state to `skills/kemia/enrollment.json`
- Prints the URL. **Exits immediately.**

**Step 2 — user clicks, confirms in the browser, returns to the agent.**

**Step 3 — complete:** `/kemia connect` (no argument)
- Reads `enrollment.json`, polls `/status` **once**.
- If still pending → tells the user to wait and run `/kemia connect` again; exits.
- If completed → saves `config.json`, exports workspace `.md` files, cleans up state.
- If expired → cleans up, asks the user to re-run with a URL.

**Already connected?** A fresh `/kemia connect` without arguments is safe: the script verifies `config.json` against `/api/v1/status` first. If the key works, it reports "already connected" and exits without touching anything.

**Re-connecting from the same machine:** the script sends a stable machine fingerprint (`sha256(hostname + workspace_path)`) with the enrollment request. If kemia recognizes the machine, the confirmation page offers **Re-Authenticate** (rotate the API key on the existing instance, keep all agents) or **Set up as a new instance** (fresh start). Duplicates are no longer silently created.

**No shared secrets needed.** The enrollment URL is the authentication.

**Script:** `scripts/connect.sh [kemia-url]`

**Environment variables (optional):**
- `OPENCLAW_WORKSPACE` — workspace path (default: `~/.openclaw/workspace`)
- `OPENCLAW_INSTANCE_NAME` — instance name (default: hostname)
- `OPENCLAW_AGENT_NAME` — agent name (default: `CyberClaw`)

---

### `/kemia-link`

Generate a one-time login URL for the kemia web interface (15-minute expiry).

**Script:** `scripts/kemia-link.sh`

Use this when the user needs a fresh session — e.g. after logout or on a new device.

---

### `/import [agent-id

_meta.json

{
  "ownerId": "kn7dt1k8mzd6btb2maf0stgs9184v6rd",
  "slug": "kemia",
  "version": "1.1.0",
  "publishedAt": 1776250942236
}

references/api.md

# kemia API v1 — Reference

Base URL: `https://kemia.byte5.ai` (or your self-hosted instance)

## Authentication

### Enrollment (initial setup)

The enrollment flow creates a new kemia instance and returns an API key. No shared secrets required.

```
POST /api/v1/enroll              → { enrollUrl, pollUrl }  (no auth)
GET  /api/v1/enroll/:code/status → { status, apiKey? }     (no auth, code is auth)
POST /api/v1/enroll/:code/ack    → { status: "acked" }     (no auth, code is auth)
```

### Bearer Token (all other endpoints)

After enrollment, all API calls use the API key as a Bearer token:

```
Authorization: Bearer km_abc123...
```

The API key is returned once during enrollment polling and never stored in plaintext on the server.

---

## Enrollment Flow

### Step 1: Start enrollment

```
POST /api/v1/enroll
```

**Auth:** None (rate-limited: 5/min per IP)

**Request:**
```json
{
  "name": "My Instance",
  "orchestrator": "openclaw",
  "fingerprint": "sha256:abc123..."
}
```

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `name` | string | "My Instance" | Display name for the kemia instance |
| `orchestrator` | string | "openclaw" | Orchestrator type: `"openclaw"`, `"paperclip"`, or custom |
| `fingerprint` | string | *(none)* | Optional stable ID for this machine (e.g. `sha256(hostname + workspace_path)`). If it matches an existing instance, the confirm page offers Re-Auth instead of silently creating a duplicate. Max 200 chars. |

**Response (200):**
```json
{
  "enrollUrl": "https://kemia.byte5.ai/enroll/km_enr_abc123...",
  "pollUrl": "/api/v1/enroll/km_enr_abc123.../status",
  "expiresAt": "2026-03-28T12:15:00.000Z"
}
```

The orchestrator shows `enrollUrl` to the human operator. The code is in the URL — no manual entry needed. Expires in 15 minutes, single-use.

### Step 2: Human confirms

The human clicks `enrollUrl` → lands on a confirmation page → clicks "Connect" → instance + session created → redirected to dashboard.

### Step 3: Poll for API key

```
GET /api/v1/enroll/:code/status
```

**Auth:** None (the code IS the auth; rate-limited: 30/min per IP)

**Response (pending):**
```json
{ "status": "pending" }
```

**Response (completed — API key returned within the retention window):**
```json
{
  "status": "completed",
  "instanceId": "clxyz...",
  "apiKey": "km_abc123..."
}
```

The API key is retrievable for a short retention window (5 minutes) after
confirmation. Within that window, repeated polls return the same key — this
lets a client that crashes mid-save recover without re-enrolling. After the
window elapses, the next poll clears the stored key and returns without it:

```json
{ "status": "completed", "instanceId": "clxyz..." }
```

Clients that have persisted the key should call `POST .../ack` to clear it
server-side immediately, rather than waiting out the window.

**Response (expired):**
```json
{ "status": "expired" }
```

### Step 4 (optional): Ack the stored key

```
POST /api/v1/

skill-card.md

## Description:

Connect your OpenClaw instance to kemia for visual agent configuration management, including connection setup, deploy-ready config import, status checks, and one-time web login links.

This skill is ready for commercial/non-commercial use.

## Publisher:

[cwendler](https://clawhub.ai/user/cwendler)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and operators use this skill to connect an OpenClaw workspace to a trusted kemia deployment, export agent configuration files, import deploy-ready snapshots, and check connection or deployment status.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: A remote kemia server can influence local workspace files during import.

Mitigation: Only connect to a kemia server you control or strongly trust, and review deploy-ready snapshots before running import.

Risk: Agent configuration files and API credentials may be exposed to an arbitrary or untrusted URL.

Mitigation: Avoid plain HTTP, verify the base URL before connecting, and treat config.json and generated login links as secrets.

Risk: Imported filenames from the server may overwrite more than the intended agent markdown files.

Mitigation: Review server behavior and imported file lists before deployment; rely on the built-in backup as recovery, not as the primary control.

## Reference(s):

- [kemia API v1 Reference](artifact/references/api.md)
- [kemia service](https://kemia.byte5.ai)
- [ClawHub skill release page](https://clawhub.ai/cwendler/skills/kemia)

## Skill Output:

**Output Type(s):** [Shell commands, Configuration, Markdown, Guidance]

**Output Format:** [Markdown guidance with shell command references and generated URLs]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May create or update local workspace configuration and markdown files when the user runs the bundled scripts.]

## Skill Version(s):

1.1.0 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Skill and adjacent AI workflows.