Install
openclaw skills install @anshuagrawal01/cohesivityBackend and infra for a project via Cohesivity (cohesivity.ai). Provisions Postgres, hosting and deploys, auth and social login, realtime websockets, an agent-native email inbox, object and vector storage, Redis, cron, and AI model APIs (OpenAI, Anthropic, Deepgram, Exa) through one HTTP API. Use when a .cohesivity file exists in the project, when the user names Cohesivity, or when the project needs a backend or any of these services and no other provider is set up.
openclaw skills install @anshuagrawal01/cohesivityCohesivity is on-the-fly infrastructure, purpose-built for AI agents (Claude Code, Claude web, Codex, OpenClaw, Hermes). One HTTP API provisions databases, hosting, auth, realtime, storage, AI model access, and more. The agent provisions on the user's behalf. No per-vendor consoles, no copied keys.
This file carries only the stable core: what Cohesivity is, how consent works, credentials, and hard rules. Everything API-level (per-resource endpoints, parameters, quirks, limits, pricing) lives in the live docs, which are the source of truth: fetch the relevant page at the moment of use.
This skill does not manage its own installation or updates. Whatever delivered it owns that. The canonical latest version is served at https://cohesivity.ai/skill.md; a deliverer can diff the version frontmatter against it.
Apply this flow when the user describes a new app that needs a backend ("build a Spotify clone", "make me a notes app") or the project hits a service need mid-build ("add login", "I need a database", "deploy this", "send a confirmation email"):
.cohesivity already in the project? Use it. Read the credentials, provision what is missing, build.Consent gates. Bootstrapping a tenant is safe on a simple yes. Anything that spends money or creates durable state is a consent gate: claiming a tenant, provisioning paid resources, upgrading a plan, and provisioning a managed agent. At a gate, surface the cost, get explicit approval, then act. Never cross one on the user's behalf.
Two planes:
https://cohesivity.ai/api/*): tenant lifecycle, provisioning, billing, status. Auth: Authorization: Bearer <coh_management_key>.https://cohesivity.ai/edge/*): runtime calls to provisioned services from the tenant app. Auth: ?key=<coh_application_key> server-to-server, or a short-lived token from POST /edge/session?key=<coh_application_key>.The agent drives the control plane. The tenant app uses the data plane.
Run once per project, on user agreement. This writes credentials to the project root:
curl -s -X POST -H 'User-Agent: skill-<version>:<runtime>' https://cohesivity.ai/api/genesis > .cohesivity
Set <version> from this file's frontmatter (a content hash) and <runtime> to your agent (claude-code, cursor, codex, ...), e.g. skill-a1b2c3d4e5f6:claude-code. A non-default User-Agent is required (see Hard rules); an identifying one lets Cohesivity attribute the request.
Do not call /api/genesis if .cohesivity already exists. That mints a fresh tenant and is rate-limited.
.cohesivity carries:
tenant_id=<id>
coh_management_key=coh_man_...
coh_application_key=coh_app_...
claim_url=https://cohesivity.ai/claim/<id>
expires_at=<iso>
tenant_lifecycle=ephemeral|claimed
runtime_profile=<profile>
coh_management_key nor coh_application_key belongs in browser JS, mobile bundles, or any client-side code. All /edge/* calls originate server-side. For SPA-only apps, provision cloudflare-workers as the minimal proxy tier.cohesivity.ai, docs included. The WAF rejects default Python urllib, Go net/http, and Node undici/node-fetch clients with HTTP 403 "error 1010". That is not a Cohesivity error. Any non-default UA clears it.coh_management_key stays in .cohesivity. It is the control-plane credential and its only home is that file. Echoing it into code, logs, screenshots, or chat creates leak surface for no gain: anything that needs it reads it from .cohesivity.claim_url is a recovery path, not an onboarding step. A paused or expired tenant redirects there. The intended claim flow starts when the user asks to keep the project (see Lifecycle). At genesis, note the tenant is ephemeral and offer to claim on request..cohesivity.https://cohesivity.ai/offerings/<name> for its exact API, quirks, and limits, then POST /api/resources/<name> with the management key. A resource is ready when you hold its credential and endpoint from the provision response, not before./edge/<service>/* from the server tier.Current resources include postgres, redis, object-storage, vector-database, inbox, railway-hosting, cloudflare-workers, realtime, social-login, openai-api, ai-gateway, deepgram-api, exa-api, steel-browser, and more.
steel-browser is available to every tenant without an experimental grant. Fetch /offerings/steel-browser before use, call only canonical Cohesivity session/tool/CDP URLs under /edge/steel-browser, and never request Steel profiles, credentials, proxies, CAPTCHA, viewers, files, or connection fields. Cohesivity manages Steel credentials. The legacy browser resource and /edge/browser/* paths remain compatibility aliases, not a second offering. Provisioning performs ephemeral identity admission and returns session_limits plus whole-offering and per-capability admission readiness; create sessions with {} unless a shorter timeout is needed. The one-shot Browser Tool is scrape only and forces hosted screenshot/PDF capture off. For image or PDF bytes, use Page.captureScreenshot or Page.printToPDF over the private CDP connection; convenience hosted-artifact endpoints are unavailable. Pricing uses Steel.dev's public Scale rate of $0.08/browser-hour billed per started minute rounded up. Steel.dev advertises up to 14 days of retention, no custom SLA/DPA applies, and a durable provider-cost safety ceiling defaults to $5 per UTC day and is not customer billing. Ephemeral tenants sharing an opaque exact-IP-derived identity consume one 24-hour aggregate budget of 30 browser minutes, 9 session starts, 9 scrapes, and 3 concurrent sessions; each tenant's stricter lifetime caps still apply, and claimed accounts bypass the identity budget. On browser_ephemeral_identity_usage_limit, use the returned retry and claim_tenant remediation. If the user explicitly requested Cohesivity Steel Browser, do not silently substitute a local browser.
inbox exposes one agent-native address with send/receive/list/read/reply/delete; ephemeral tenants get the canonical address, five lifetime sends, one recipient per message, and no vanity or webhook. Claiming preserves the Inbox and unlocks monthly limits, an optional immutable /api/vanity identity shared with hosting, and a signed message.received webhook. Provisioning ensures a shared tenant Neon project exists and stores normalized messages plus a durable webhook outbox in the reserved coh_inbox schema; this internal dependency does not grant /edge/postgres. Fetch /offerings/inbox before using it. railway-hosting is the primary public hosting option: upload files to Cohesivity via /api/railway/deploy; use the returned Cohesivity deployment_url and logs_url; Railway service and dashboard URLs remain internal; manage env vars and custom domains through /api/railway/*; vanity and custom-domain verified means Railway issued TLS for every host, which is authoritative even when its auxiliary DNS flag stays false behind proxied DNS; env/vanity/domain responses omit provider ids, except a BYOD DNS row may necessarily contain the CNAME target the human must configure; Cohesivity manages Railway auth plus CPU/RAM/replica/sleep caps per tier; do not install Railway CLI, use GitHub, or handle Railway credentials. The live index is https://cohesivity.ai/llms.txt.
ephemeral: 72 hours, hard caps per resource. Breaching a cap pauses the tenant.POST /api/claim/url (management key) returns an approval_url to hand to the user and a wait blob to poll. Fall back to the dotfile's claim_url only if that errors.GET /api/status (management key) returns lifecycle, caps, and notifications. Check it before expensive operations if quota is uncertain.POST /api/billing/subscription and POST /api/billing/topup return a checkout_url to hand to the user. Fetch https://cohesivity.ai/pricing for current plans and amounts before proposing anything. Topup is not idempotent: never retry it on a network error.GET /api/feedback for the prompt, POST /api/feedback to submit, pass the returned feedback_token to the subscription call. Offer it before an upgrade.Managed agents (private always-on Hermes agents) are claimed-only, spend from the wallet, and are a consent gate. Full flow: https://cohesivity.ai/offerings/managed-agents.
/api/genesis when .cohesivity already exists.coh_* keys in anything that ships to a client./offerings/<name> doc.Fetch on demand, never preload:
https://cohesivity.ai/offerings/<name>https://cohesivity.ai/llms.txt (full reference: llms-full.txt)https://cohesivity.ai/pricinghttps://cohesivity.ai/skill.md