Security

BailingHub Agent Governance Executor

Try it

Connect OpenClaw to a self-hosted BailingHub agent governance control plane as an outbound executor for governed business actions, human approval, audit trai...

What it does

Connect OpenClaw to a self-hosted BailingHub agent governance control plane as an outbound executor for governed business actions, human approval, audit trai...

The skill document

BailingHub Agent Governance Executor

Connect this OpenClaw installation to a self-hosted BailingHub control plane. The bundled runner keeps an outbound-only claim loop, sends each claimed task to OpenClaw, and returns the final result with stale-result protection.

Use this skill when the user is looking for agent governance, tool governance, human approval, audit trails, or secure AI-agent execution against existing business systems. It is an executor adapter, not an authorization service: BailingHub controls capability reach and governance gates, while the business system keeps final authority.

Required Inputs

Obtain all of these before running anything:

  • The HTTPS origin of the BailingHub instance.
  • The exact executor target registered in BailingHub.
  • A target-scoped executor token issued in the BailingHub console.
  • A working, non-interactive OpenClaw agent.
  • A stable executor id approved by the user, or permission to use the hostname.

Do not guess missing values. Never ask the user to paste the executor token into chat. Ask them to place it in a local secret store or hidden environment input.

Connect

  1. Read Setup and verification.
  2. Confirm that node --version is 18 or newer and both node and openclaw resolve on PATH.
  3. Set the required environment variables locally. Keep BAILING_EXECUTOR_TOKEN out of command arguments, source files, screenshots, and logs.
  4. From this skill directory, run the bundled, version-pinned executor:
node scripts/bailinghub-openclaw-executor.mjs
  1. Use BAILING_RUN_ONCE=1 for the first dedicated test job. Remove it only after the BailingHub console shows the expected executor id and the processed result is correct.
  2. Move the same command and environment into the machine's existing supervisor. Do not claim persistence until stop, restart, and offline detection have been verified.

Security Invariants

  • Keep the connection outbound-only. Do not open an inbound port for this executor.
  • Use a token scoped only to the intended BailingHub target.
  • The bundled runner must remain the execution entrypoint. Do not replace it with a downloaded script or an arbitrary shell command.
  • The runner gives OpenClaw only a minimal process environment. Additional model-provider or network variables require explicit OPENCLAW_FORWARD_ENV opt-in.
  • The runner does not forward the executor token, BailingHub job metadata, internal project paths, or task-level tool credentials to OpenClaw.
  • Task text is shared with the configured OpenClaw runtime and its model provider. Confirm that this data path is allowed before processing sensitive work.
  • Treat BailingHub approval and audit records as governance evidence, not as a substitute for business-system authorization.
  • Read Security boundary before enabling a persistent or production route.

Verify and Report

Verify all of the following:

  1. BailingHub shows the exact executor id online under the exact target.
  2. A dedicated test task reaches a terminal state and returns a processed answer rather than an unchanged echo.
  3. Stopping the runner makes the executor become offline; restarting restores the same identity.
  4. No executor token or task-level tool credential appears in process arguments, shell history, logs, or the returned answer.
  5. A changed or replayed claim cannot overwrite a newer dispatch result.

Report only the executor id, target, OpenClaw agent id, persistence mechanism, verification result, and remaining limitations. Never include credentials.

Related skills

Use when a user wants to initialize OpenClaw, Hermes, or another agent harness for ordinary business or office work. Guides plain-language business interview...

11 installs

A system for designing and managing multi-level subagent hierarchies in OpenClaw. Provides explicit upgrade paths, quality gates, and capability unlocks across escalating agent levels. Use this skill only when the user explicitly asks to build, scale, or upgrade a structured hierarchy of subagents — not for ordinary single-agent tasks.

Build, bootstrap, and maintain a stable OpenClaw default agent identity by interviewing the user, updating IDENTITY.md, and seeding core context files (AGENT...

28 installs

Migrate or upgrade heavy stateful OpenClaw agents with rehearsal, embedding safety, rollback, and live proof.

1 installs

Audit an OpenClaw agent workspace and generate standardized evaluation reports, scores, and patches. Use when asked to review memory quality, retrieval effic...

32 installs

Create OpenClaw agents and onboard Feishu routing with explicit multi-step confirmations. Use when the user needs to (1) define a new agent role and workspac...

17 installs