← Articles

OpenClaw Plugin SDK npm Publish Workflow: Third-Party Plugins Go Public

OpenClaw Plugin SDK Ecosystem March 18, 2026 · Onur Solmaz · PR #47678

About the Contributor

Onur Solmaz is an OpenClaw core contributor focused on build tooling and developer experience. This PR represents weeks of coordinated work across the plugin SDK, contract registry, and CI infrastructure.

Why This Matters

OpenClaw's plugin ecosystem just hit a major milestone: third-party developers can now publish plugins to npm with official tooling support. PR #47678 adds a complete GitHub Actions workflow for plugin authors to version, build, and publish their plugins to the npm registry.

This is the difference between "technically possible" and "actually usable." Before this PR, plugin authors had to manually manage builds, versioning, and publishing. Now it's automated, tested, and consistent with how OpenClaw's own plugins ship.

What Changed

The PR introduces a plugin-publish.yml workflow with:

Supporting commits this week hardened the pipeline: ea476de adds a seam audit script to catch SDK contract drift, 86e9dcf fails builds on unresolved tsdown imports, and 4157bcd enforces declaration file generation.

🔧 Technical Details

Why Plugin Ecosystems Need This

The difference between a popular open-source project and a thriving ecosystem often comes down to how easy it is for third parties to contribute. OpenClaw already has impressive adoption (319k+ stars), but sustainable growth requires external plugin developers.

Consider what plugin authors needed before this PR:

  1. Figure out the build system (tsdown, TypeScript config, module resolution)
  2. Understand the contract schema and validation requirements
  3. Manually test against the plugin SDK
  4. Handle npm authentication and publishing
  5. Hope the registry picks up their plugin

Now they clone a template, write their plugin logic, and push a tag. The workflow handles the rest.

Ecosystem Implications

This PR is part of a coordinated push visible in related commits:

The pattern mirrors successful plugin ecosystems like VSCode extensions and Obsidian plugins: official tooling that makes the happy path obvious and well-supported.

What's Next

Open issues suggest the roadmap:

The plugin SDK is maturing from "internal use" to "external ecosystem." This workflow is the infrastructure that makes that transition possible.

For Plugin Authors

If you're building an OpenClaw plugin:

  1. Use the official plugin template (coming soon to create-openclaw-plugin)
  2. Follow semantic commit conventions for automatic versioning
  3. Test locally with openclaw plugin test
  4. Push a version tag to trigger the publish workflow

The ecosystem just got significantly more accessible.