Tools
Iblai Openclaw Extensions
OpenClaw gateway plugin that adds custom RPCs for the ibl.ai platform
Install
npm install
pnpm
Configuration Example
// openclaw.json
"plugins": { "entries": { "iblai-openclaw-extensions": { "enabled": true } } }
README
# iblai-openclaw-extensions-plugin
An OpenClaw gateway plugin that adds custom RPCs for the IBL platform.
> Status: v0.2.0. Per-agent skill install via a chunked upload, plus a skill uninstall RPC.
## RPCs
`iblai.skills.upload.begin` / `.chunk` / `.commit` (scope `operator.admin`). The platform uploads a skill archive in chunks and, on commit (after size + sha256 verification), the plugin safely extracts it into a specific agent's workspace at `skills/<slug>/`.
The platform capability-probes `iblai.skills.upload.begin`; an `unknown method` reply means the plugin is absent, and the platform falls back to the worker-wide install path.
`iblai.skills.delete` (scope `operator.admin`): given `{ agentId, slug }`, removes the agent's installed skill content and clears the upload-store record, returning `{ agentId, slug, removedContent, removedRecord }`. Idempotent: deleting an absent skill is a success no-op.
## Install
On the worker, install the plugin from a pinned git tag (or a local `pnpm pack` tarball):
```
openclaw plugins install git:https://github.com/iblai/[email protected]
# or a local build: openclaw plugins install ./iblai-openclaw-extensions-0.2.0.tgz
```
The bundled `dist/index.mjs` is self-contained and resolves the host's `openclaw` SDK at runtime, so the installed plugin contains no `node_modules` and no symlink (which keeps it compatible with NemoClaw state snapshots). If a strict worker's dangerous-code blocker refuses the install (this plugin extracts archives and writes files), re-run with `--dangerously-force-unsafe-install`.
### Activate
Enable the plugin in the gateway config and restart the gateway:
```jsonc
// openclaw.json
"plugins": { "entries": { "iblai-openclaw-extensions": { "enabled": true } } }
```
```
systemctl --user restart openclaw-gateway
```
Verify the RPCs are live; this should return `invalid kind` (an `INVALID_REQUEST`), not `unknown method`:
```
openclaw gateway call iblai.skills.upload.begin --params '{}'
```
(`gateway call` against the local gateway uses the worker's gateway token, read from the gateway's environment on the worker.)
## Compatibility
| Plugin version | OpenClaw gateway | NemoClaw |
| -------------- | ------------------------------------------------------------------ | -------------------------------- |
| 0.1.0 | >= 2026.5.0 (see `package.json#openclaw.compat.minGatewayVersion`) | supported via Dockerfile install |
| >= 0.2.0 | >= 2026.5.0 (see `package.json#openclaw.compat.minGatewayVersion`) | supported (no symlink; native) |
## Development
Requires Node >= 22.19 and pnpm. Common commands:
```
pnpm install
pnpm lint # oxlint
pnpm format # oxfmt (format:check in CI)
pnpm tsgo # typecheck source
pnpm check:test-types # typecheck tests
pnpm test # vitest
pnpm build # tsdown, emits dist/index.mjs
pnpm check # lint + format check + typecheck + tests
```
See `CONTRIBUTING.md` for branch model, release process, and contributor conventions.
tools
Comments
Sign in to leave a comment