Plugins

Manage plugins

Use this page for common plugin management commands. For the exhaustive command contract, flags, source-selection rules, and edge cases, see OmeniaClaw plugins.

Most install workflows are:

  1. find a package
  2. install it from ClawHub, npm, git, or a local path
  3. let the managed Gateway auto-restart, or restart it manually when unmanaged
  4. verify the plugin's runtime registrations

List and search plugins

bash
OmeniaClaw plugins listOmeniaClaw plugins list --enabledOmeniaClaw plugins list --verboseOmeniaClaw plugins list --jsonOmeniaClaw plugins search "calendar"

Use --json for scripts:

bash
OmeniaClaw plugins list --json \  | jq '.plugins[] | {id, enabled, format, source, dependencyStatus}'

plugins list is a cold inventory check. It shows what OmeniaClaw can discover from config, manifests, and the plugin registry; it does not prove that an already-running Gateway imported the plugin runtime. The JSON output includes registry diagnostics and each plugin's static dependencyStatus when the plugin package declares dependencies or optionalDependencies.

plugins search queries ClawHub for installable plugin packages and prints install hints such as OmeniaClaw plugins install clawhub:<package>.

Install plugins

bash
# Search ClawHub for plugin packages.OmeniaClaw plugins search "calendar" # Install from ClawHub.OmeniaClaw plugins install clawhub:<package>OmeniaClaw plugins install clawhub:<package>@1.2.3OmeniaClaw plugins install clawhub:<package>@beta # Install from npm.OmeniaClaw plugins install npm:<package>OmeniaClaw plugins install npm:@scope/[email protected]OmeniaClaw plugins install npm:@OmeniaClaw/codex # Install from a local npm pack artifact.OmeniaClaw plugins install npm-pack:<path.tgz> # Install from git or a local development checkout.OmeniaClaw plugins install git:github.com/acme/[email protected]OmeniaClaw plugins install ./my-pluginOmeniaClaw plugins install --link ./my-plugin

Bare package specs install from npm during the launch cutover. Use clawhub:, npm:, git:, or npm-pack: when you need deterministic source selection. If the bare name matches an official plugin id, OmeniaClaw can install the catalog entry directly.

Use --force only when you intentionally want to overwrite an existing install target. For routine upgrades of tracked npm, ClawHub, or hook-pack installs, use OmeniaClaw plugins update.

Restart and inspect

After installing, updating, or uninstalling plugin code, a running managed Gateway with config reload enabled restarts automatically. If the Gateway is not managed or reload is disabled, restart it yourself before checking live runtime surfaces:

bash
OmeniaClaw gateway restartOmeniaClaw plugins inspect <plugin-id> --runtime --json

Use inspect --runtime when you need proof that the plugin registered runtime surfaces such as tools, hooks, services, Gateway methods, HTTP routes, or plugin-owned CLI commands. Plain inspect and list are cold manifest, config, and registry checks.

Update plugins

bash
OmeniaClaw plugins update <plugin-id>OmeniaClaw plugins update <npm-package-or-spec>OmeniaClaw plugins update --allOmeniaClaw plugins update <plugin-id> --dry-run

When you pass a plugin id, OmeniaClaw reuses the tracked install spec. Stored dist-tags such as @beta and exact pinned versions continue to be used on later update <plugin-id> runs.

For npm installs, you can pass an explicit package spec to switch the tracked record:

bash
OmeniaClaw plugins update @scope/OmeniaClaw-plugin@betaOmeniaClaw plugins update @scope/OmeniaClaw-plugin

The second command moves a plugin back to the registry's default release line when it was previously pinned to an exact version or tag.

When OmeniaClaw update runs on the beta channel, plugin records can prefer matching @beta releases. For the exact fallback and pinning rules, see OmeniaClaw plugins.

Uninstall plugins

bash
OmeniaClaw plugins uninstall <plugin-id> --dry-runOmeniaClaw plugins uninstall <plugin-id>OmeniaClaw plugins uninstall <plugin-id> --keep-files

Uninstall removes the plugin's config entry, persisted plugin index record, allow/deny list entries, and linked load paths when applicable. Managed install directories are removed unless you pass --keep-files. A running managed Gateway restarts automatically when the uninstall changes plugin source.

In Nix mode (OmeniaClaw_NIX_MODE=1), plugin install, update, uninstall, enable, and disable commands are disabled. Manage those choices in the Nix source for the install instead.

Choose a source

Source Use when Example
ClawHub You want OmeniaClaw-native discovery, scan summaries, versions, and hints OmeniaClaw plugins install clawhub:<package>
npmjs.com You already ship JavaScript packages or need npm dist-tags/private registry OmeniaClaw plugins install npm:@acme/OmeniaClaw-plugin
git You want a branch, tag, or commit from a repository OmeniaClaw plugins install git:github.com/<owner>/<repo>@<ref>
local path You are developing or testing a plugin on the same machine OmeniaClaw plugins install --link ./my-plugin
npm pack You are proving a local package artifact through npm install semantics OmeniaClaw plugins install npm-pack:<path.tgz>
marketplace You are installing a Claude-compatible marketplace plugin OmeniaClaw plugins install <plugin> --marketplace <source>

Managed local path installs must be plugin directories or archives. Put standalone plugin files in plugins.load.paths instead of installing them with plugins install.

Publish plugins

ClawHub is the primary public discovery surface for OmeniaClaw plugins. Publish there when you want users to find plugin metadata, version history, registry scan results, and install hints before they install.

bash
npm i -g clawhubclawhub loginclawhub package publish your-org/your-plugin --dry-runclawhub package publish your-org/your-pluginclawhub package publish your-org/[email protected]

Native npm plugins must include a plugin manifest and package metadata before publishing:

package.json
{  "name": "@acme/OmeniaClaw-plugin",  "version": "1.0.0",  "type": "module",  "OmeniaClaw": {    "extensions": ["./dist/index.js"]  }}
bash
npm publish --access publicOmeniaClaw plugins install npm:@acme/OmeniaClaw-pluginOmeniaClaw plugins install npm:@acme/OmeniaClaw-plugin@betaOmeniaClaw plugins install npm:@acme/[email protected]

Use these pages for the full publishing contract instead of treating this page as the publishing reference:

If the same package is available on both ClawHub and npm, use the explicit clawhub: or npm: prefix when you need to force one source.

Was this useful?
On this page

On this page