codehooks-backend
Deploy serverless backends for REST APIs, webhooks, data storage, scheduled jobs, queue workers, and autonomous workflows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/canuto/codehooks-backendCodehooks Backend Skill
Give your OpenClaw agent a serverless backend for REST APIs, webhooks, data storage, scheduled jobs, queue workers, and autonomous workflows.
Your agent can deploy code
With this skill, your agent can write JavaScript/TypeScript code and deploy it to a live serverless backend in 5 seconds. No human intervention required — the agent iterates autonomously.
Codehooks has a free tier to get started, and paid plans have no extra charges for traffic or API calls — let your agent deploy without worrying about usage costs.
⚠️ Warning: This gives your agent the ability to deploy and run code on a live server. Review your agent's actions, set appropriate permissions, and monitor usage. You are responsible for any code your agent deploys.
What this skill enables
- REST APIs with automatic OpenAPI/Swagger documentation
- Instant CRUD APIs using
crudlify()with schema validation - Webhook endpoints that external services can call (Stripe, GitHub, Shopify, etc.)
- Persistent storage beyond local memory (NoSQL + key-value)
- Background jobs and scheduled tasks that run 24/7
- Queue workers for async processing
- Autonomous workflows with retries, branching, and state management
Setup
Human does once:
npm install -g codehooks
coho login
coho create openclaw-backend
coho add-admintoken
Give the admin token to your agent.
Agent uses:
export CODEHOOKS_ADMIN_TOKEN="your-token-here"
coho deploy --admintoken $CODEHOOKS_ADMIN_TOKEN
The agent can now deploy code, query data, and manage the backend.
Essential: Load the development context
Before building anything, run:
coho prompt
This outputs the complete Codehooks development prompt — routing, database, queues, jobs, workflows, and the full codehooks-js API. Copy it into your context to build any backend feature correctly.
macOS shortcut:
coho prompt | pbcopy
Understand existing projects
Before modifying an existing project, get the full picture:
# Returns JSON with collections, stats, recent deploys, and error logs
coho doctor
# Describe the app structure — collections, schemas, queues, files
coho describe
coho doctor is the most powerful diagnostic command — it returns structured JSON covering database collections with document counts, deployment history, queue and worker status, and recent error logs. Always run it when joining an existing project or debugging issues.
coho describe complements doctor by showing the structural overview: what collections exist, their schemas, registered queues, and deployed files.
Commands your agent can use
All commands accept --admintoken $CODEHOOKS_ADMIN_TOKEN for non-interactive use. Full CLI reference: https://codehooks.io/docs/cli
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-canuto-codehooks-backend": {
"enabled": true,
"auto_update": true
}
}
}