Borrowing it
Nothing to install: this file belongs to mathaix/OpenClawMachines. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mathaix/OpenClawMachines/main/.agents/skills/ocm-self-hosted/SKILL.mdgit clone --depth 1 https://github.com/mathaix/OpenClawMachinesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/mathaix/openclawmachines/ocm-self-hosted)<a href="https://agentmods.dev/skills/mathaix/openclawmachines/ocm-self-hosted"><img src="https://agentmods.dev/badge/skills/mathaix/openclawmachines/ocm-self-hosted.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00035 | $0.00623 |
| Opus 5 | $0.00017 | $0.00311 |
| Sonnet 5 | $0.00007 | $0.00125 |
| Haiku 4.5 | $0.00003 | $0.00062 |
Grade A, and why
ocm-self-hosted scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OCM Self-Hosted
Use this skill for local profile, operator profile, host enrollment, self-hosted deployment, Cloudflare Worker/KV, Firebase, Cloudflare Access, domain, cookie, and public-core portability work.
Read First
AGENT.md.docs/control-plane-profiles.md.docs/self-hosted-control-plane.md.docs/local-setup.md.docs/local-firecracker-e2e.mdfor single-box KVM flow.llms/self-hosted-setup.txtfor operator-oriented setup..agents/maintainer-notes/routing.md..agents/maintainer-notes/runtime.md.
Profile Contract
local: trusted localhost development. Dev auth may be enabled. Do not expose publicly.operator: self-hosted production-like deployment on operator-managed infrastructure. It should preserve the hosted architecture: edge protection, control plane, OCM session token, Worker/KV data plane, enrolled KVM workers, and Firecracker VMs.hosted: hosted/operator profile. Do not introduce private Mathaix defaults into public core.
Workflow
- Start with discovery. Inspect branch, dirty state, env examples, docs, and config without printing secrets.
- Identify operator inputs: domains, auth mode, Cloudflare account/zone/KV, Worker routes, control-plane URL, cookie domain, artifacts, and KVM hosts.
- Produce a redacted plan listing resources to create, update, or leave alone.
- Ask before changing live Cloudflare, DNS, Tunnel, Worker, KV, Firebase, Cloudflare Access, host enrollment, or running services.
- Implement neutral public-core primitives only. Leave private hosted policy, billing, and commercial admin behavior out of this repo.
- Validate with the smallest smoke that matches the change:
login,
/api/auth/me,ocm_token, host online, machine create/start, route resolution, terminal/gateway, optional SSH, stop/delete.
Review Checks
- Worker origin hosts must be distinct backend origins, not routed hostnames served by the same Worker.
- Cookie domains must work for operator domains and omit localhost domains.
/api/internal/resolvemust be protected by service-token or equivalent operator controls in production-like deployments.- Worker and backend config examples must not encourage routing loops.
- No-tunnel local routes still need persisted VM signing keys.
- Worker hosts are infrastructure and must use enrollment/agent tokens, not Firebase human auth.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 71 lines · 35 tokens per session scan A abbaadd51773
ocm-self-hosted is a skill published in the GitHub repository mathaix/OpenClawMachines (57 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 623 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
modal
Serverless GPU cloud for ML jobs and model APIs.
cloudflare-temporary-deploy
Deploy a Worker live, no account, via wrangler --temporary.
tensorrt-llm
High-throughput LLM inference on NVIDIA GPUs.
stripe-projects
Provision SaaS services + sync creds via Stripe Projects.
langbot-deploy
Deploy and configure a LangBot instance — Docker / Docker Compose, Kubernetes, the config.yaml model, the Box sandbox runtime, the plugin runtime, and the global API key. Use when installing, deploying, upgrading, or configuring LangBot in production or self-hosted environments. Triggers on "deploy langbot", "langbot…
dnanexus-integration
DNAnexus cloud genomics platform. Build apps/applets, manage data (upload/download), dxpy Python SDK, run workflows, FASTQ/BAM/VCF, for genomics pipeline development and execution.