This is an npm workspaces monorepo with four packages:
tokenfactory-plugin— TypeScript OpenClaw provider plugin (builds withtsc)nebius-skill— Markdown-based Claude Code / OpenClaw skill (no build step)deploy-ui— Express.js web UI for deployment management (Node.js, no build step)deploy-scripts— Shell scripts, Dockerfile, and configs for Nebius infrastructure automation
npm install # Install all workspace dependencies
npm run build # Build the tokenfactory-plugin (tsc → dist/)
npm test # Run tokenfactory-plugin tests (vitest)
npm run check # Type-check tokenfactory-plugin
npm run dev:deploy # Start the deploy web UI locally (port 3000)- Published as
tokenfactoryon ClawHub - ESM module targeting ES2022
- Dev dependencies only:
openclaw,typescript,vitest - Entry:
tokenfactory-plugin/index.ts - Plugin manifest:
tokenfactory-plugin/openclaw.plugin.json - Tests:
tokenfactory-plugin/index.test.ts(uses__mocks__/plugin-sdk.ts)
- Pure markdown documentation — no dependencies, no build
SKILL.mdis the main skill definition with dual Claude Code / OpenClaw frontmatterreferences/has detailed per-service command referencesexamples/has end-to-end deployment walkthroughsscripts/check-nebius-cli.shis the pre-flight validation script
- Express server:
deploy-ui/web/server.js - Static frontend:
deploy-ui/web/public/(vanilla JS, no framework) - Deployed to Vercel (config in
deploy-ui/vercel.json) - Live at https://claw.moi
- Server reads install scripts from
deploy-scripts/at runtime via relative path
- Install scripts:
install-openclaw-serverless.sh,install-nemoclaw-serverless.sh,install-nemoclaw-vm.sh - Cloud provisioning:
deploy-cloud.sh,setup-deploy-vm.sh - Container assets:
Dockerfile,entrypoint.sh,healthcheck.sh,nginx-proxy.conf - Docs:
BUILD_PLAN.md,NEBIUS-SETUP-GUIDE.md
- Token Factory API endpoint (US):
https://api.tokenfactory.us-central1.nebius.com/v1 - Token Factory API endpoint (EU):
https://api.tokenfactory.nebius.com/v1 - Model IDs use
nebius/prefix in OpenClaw:nebius/zai-org/GLM-5 - SSH username on Nebius endpoints/VMs is always
nebius eu-west1usescpu-d3(notcpu-e2)- Disk types use underscores:
network_ssd