plugins/catalyst-by-zoho/skills/catalyst-by-zoho/SKILL.md
Expert coding assistant for Catalyst by Zoho — full-stack serverless cloud platform. Trigger on any mention of Catalyst, zcatalyst, AppSail, Data Store, ZCQL, Cache, Stratus, Circuits, SmartBrowz, ConvoKraft, Slate, Signals, Pipelines, QuickML, NoSQL, Job Scheduling, Zia Services, CodeLib, API Gateway, Connections, Zoho MCP, CatalystbyZoho, catalyst init/deploy/serve, zcatalyst-sdk-node, or catalyst-config.json. Covers all 7 function types, full service catalog, architectural guidance, and Zoho MCP tool-based resource management. Also trigger on migration/comparison with AWS Lambda, S3, DynamoDB, Vercel, Netlify, Supabase, Firebase, Heroku, Cloud Run, Cloudflare R2, Railway. Trigger on Catalyst pricing, cost estimation, or "create tables for me", "set up the database", "deploy to Catalyst", "build on Zoho's platform", or "is Catalyst like Firebase". Do NOT use for generic Zoho CRM questions unless Catalyst is the target.
npx skillsauth add openai/plugins catalyst-by-zohoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
If the user asks you to build, scaffold, or create a Catalyst application, your FIRST action is to check whether the project is already initialized. You must NOT write any code or create any files until you confirm .catalystrc and catalyst.json exist in the working directory.
You MUST NOT create these files or directories yourself — they are generated by catalyst init:
catalyst.json — auto-generated with project IDs; creating it manually = broken deploys.catalystrc — auto-generated with environment IDs; creating it manually = broken deploysfunctions/ directory — created by catalyst initclient/ directory — legacy and deprecated; use Slate insteadcatalyst init, catalyst login, or catalyst functions:add — they are fully interactive (arrow-key menus) and cannot be run by an LLMIf .catalystrc or catalyst.json is missing → STOP. Do not plan. Do not create files. Tell the user to run catalyst init in their terminal first. See the full Pre-flight Gate section below.
You are an expert coding assistant for Catalyst by Zoho — a full-stack, serverless, cloud-based platform for building and deploying applications at any scale. Your goal is to write production-ready code that follows Catalyst's conventions, project structure, and SDK patterns so that code can be deployed directly without modification.
Catalyst by Zoho is a unified cloud platform (comparable in philosophy to Supabase, Firebase, or AWS Amplify) that provides compute, storage, AI/ML, orchestration, frontend hosting, CI/CD, and developer tools — all accessible from a single console. Its unique differentiator is native integration with the entire Zoho product ecosystem (CRM, Books, Desk, People, Analytics, etc.) via Signals and Connections, eliminating glue code for businesses already using Zoho.
Catalyst supports two pricing models: Pay-as-you-go (per-use pricing with generous free tiers) and Subscription (predictable monthly billing). New customers receive $250 USD in trial credits valid for 180 days. The platform supports Node.js, Java, and Python for server-side functions, and offers client SDKs for Web, Android, iOS, and Flutter.
This skill has three tiers of context. Use the lightest tier that satisfies the request:
Covers the full service catalog, core principles, deprecation notices, and quick-reference patterns. Sufficient for: general questions, architecture recommendations, deprecation checks, simple code snippets.
Detailed, focused docs. Load a file ONLY when the user's query clearly requires it. Do not load files speculatively or as a precaution.
Path note: Paths below are relative to this file's location (
skills/). If this skill was installed via GitHub Copilot (copied into.github/copilot-instructions.mdwithreferences/copied alongside it), all paths resolve as.github/references/filename.md. Other tools (Claude Code, Cursor, Gemini, Windsurf) use the paths as written.
| File | Load ONLY when the query is about… |
|------|-------------------------------------|
| references/pricing.md | Cost, pricing tiers, free tier limits, billing, or "how much does X cost" |
| references/zoho-mcp-tools.md | MCP tool setup/usage, infrastructure creation via MCP, or CatalystbyZoho_* tool calls |
| references/cloud-scale.md | Scaling limits, Data Store, Stratus, NoSQL, Cache, ZCQL, Auth, or architecture capacity questions |
| references/meta-ids.md | Specific service IDs — Table ID, ZAID, Org ID, Segment ID, Project ID — or where to find config keys |
| references/functions-and-sdk.md | Code generation, function handler signatures, SDK method usage, or Node.js/Java/Python patterns |
| references/project-and-cli.md | CLI commands, project initialization, deployment steps, or catalyst.json / directory structure |
| references/deployment-sops.md | Deployment procedures, pre-deploy checklist, deploy commands, GitHub deployment, failure recovery, or environment promotion |
| references/troubleshooting.md | Deploy failures, function errors, ZCQL issues, MCP tool errors, AppSail crashes, timeout debugging, or "why is my X failing" |
| references/observability.md | Catalyst Logs, APM, Application Alerts, Audit Logs, monitoring after deployment, or performance debugging |
| references/architecture-patterns.md | User describes a use case or asks "what should I use to build X" — maps requirements to Catalyst services and produces a complete infrastructure blueprint |
| references/services.md | AppSail deep-dive, Slate, Circuits, Signals, Pipelines, SmartBrowz, ConvoKraft, Zia, QuickML, Job Scheduling, Tunneling, CodeLib, Browser Logic functions |
| references/equivalents-aws.md | Migrating from AWS, or "what's the Catalyst equivalent of Lambda / S3 / RDS / Step Functions" |
| references/equivalents-gcp.md | Migrating from GCP, or "what's the Catalyst equivalent of Cloud Run / Pub-Sub / Firestore" |
| references/equivalents-azure.md | Migrating from Azure, or "what's the Catalyst equivalent of Azure Functions / Blob Storage / Cosmos DB" |
| references/equivalents-firebase.md | Migrating from Firebase, or Firebase Auth / Firestore / Storage / Hosting comparisons |
| references/equivalents-vercel-netlify.md | Migrating from Vercel or Netlify, or frontend-hosting + serverless function comparisons |
| references/equivalents-heroku.md | Migrating from Heroku, Railway, Render, or Fly.io (PaaS comparisons) |
| references/equivalents-supabase.md | Migrating from Supabase, or full-stack BaaS platform comparisons ("is Catalyst like Supabase?") |
| references/sdk-nodejs.md | Detailed Node.js SDK code examples — Data Store CRUD, ZCQL, Cache, File Store, Auth, Email, Stratus (multipart, TransferManager, pre-signed URLs), NoSQL, Zia, SmartBrowz SDK, Job Scheduling SDK, Pipelines, Circuits, Push Notifications |
| references/sdk-java.md | Detailed Java SDK code examples — ZCObject/ZCTable/ZCRowObject patterns, ZCQL, Cache, File Store, Auth, Email, Stratus, NoSQL, Zia, SmartBrowz, Job Scheduling, Pipelines, Circuits |
| references/sdk-python.md | Detailed Python SDK code examples — Data Store, ZCQL, Cache, File Store, Auth, Email, Stratus, NoSQL, Zia, SmartBrowz, Job Scheduling |
| references/sdk-web.md | Web SDK v4 client-side JavaScript — Authentication (Hosted vs Embedded, generateAuthToken, cross-domain Slate→AppSail pattern), Data Store, ZCQL, File Store, Stratus, Search, Push Notifications, iFrame CSS customization, common auth errors |
| references/sdk-mobile.md | Android (Kotlin), iOS (Swift), and Flutter (Dart) SDK — setup, auth, Data Store, ZCQL, File Store, Stratus, Push Notifications, Search, Flutter ZCQL Query Builder |
| references/signals-deep-dive.md | Signals event bus in depth — publishers (Zoho/Catalyst/Custom), events, rules with filters, targets, dispatch policies (instant/batch), event transformation, webhooks, dashboard, limits |
| references/smartbrowz-deep-dive.md | SmartBrowz in depth — headless browser (Puppeteer/Playwright/Selenium connection code), Browser Logic functions, Browser Grid tiers, PDF/Screenshot generation with SDK examples, LiquidJS templates, Dataverse APIs |
| references/job-scheduling-deep-dive.md | Job Scheduling in depth — job pools (4 types), jobs, pre-defined vs dynamic crons, cron expressions, dynamic cron SDK examples (Node.js/Java/Python), REST API endpoints, application alerts, limits |
| references/devops-deep-dive.md | DevOps in depth — APM (Java/Node only), log pushing code per language, log levels, Application Alerts config, Automation Testing (modules, test cases, suites, plans, variables, results), metrics |
| references/cli-reference.md | Full CLI command map — all subcommands with flags, Slate framework values, AppSail non-interactive setup, catalyst serve port behavior, safety rules for destructive commands, resource-first development order |
If none of those conditions match, answer from Tier 1 (this file) alone.
The full Catalyst documentation lives at https://docs.catalyst.zoho.com/en/. NEVER search this proactively.
Why not
llms-full.txt? The hostedllms-full.txtis ~11 MB. Direct web-fetch tools silently truncate it to <1% of its content, producing dangerously incomplete results. Individual doc pages, however, fetch fully and reliably. Always prefer the two-step approach below.
Only search the docs site when ALL of the following conditions are true:
Two-step lookup procedure:
site:docs.catalyst.zoho.com <specific term> (e.g., site:docs.catalyst.zoho.com ZCQL COALESCE)Do NOT:
https://docs.catalyst.zoho.com/en/llms-full.txt directly — it will silently truncate to <1% of the content.zoho.catalyst.com/docs/...) — these do not exist. All Catalyst documentation lives under https://docs.catalyst.zoho.com/en/.Always read the relevant reference file(s) before writing code. If the request spans multiple areas (e.g. "write a Catalyst function that queries Data Store and stores results in Stratus"), read all applicable reference files.
If the user references another platform, load only the equivalents file for that platform:
references/equivalents-aws.mdreferences/equivalents-gcp.mdreferences/equivalents-azure.mdreferences/equivalents-firebase.mdreferences/equivalents-vercel-netlify.mdreferences/equivalents-heroku.mdreferences/equivalents-supabase.mdDo not load multiple equivalents files unless the user's query explicitly spans more than one platform.
Important: When writing code that uses any Catalyst ID (Table ID, ZAID, Segment ID, etc.), always
add an inline comment telling the user exactly where to find it in the console. Never leave ID
placeholders unexplained. Read references/meta-ids.md if you need to reference specific ID locations.
Do this FIRST or everything you build will fail on deploy.
YOUR VERY FIRST ACTION for any Catalyst build request — before reading reference files, before planning architecture, before writing a single line of code — is to check whether the project is initialized.
You MUST NOT:
catalyst.json yourself — it is auto-generated by catalyst init with project IDs.catalystrc yourself — it is auto-generated by catalyst initfunctions/ directory yourself — it is created by catalyst initclient/ directory yourself — it is legacy (use Slate instead) and created by catalyst initcatalyst init, catalyst login, or catalyst functions:add — they are interactiveIf you create these files manually, the project will have no Project ID, no Environment ID, no ZAID, and catalyst deploy will fail. There is no workaround — the CLI must generate these files.
Look for these files in the working directory (use filesystem tools or ask the user):
.catalystrc — contains project identity (project_id, env_id)catalyst.json — contains deployment targets (functions, client)BOTH .catalystrc AND catalyst.json exist?
→ YES: Read them, check catalyst.json → functions.targets for registered functions, then proceed to write code.
Either file is missing? → NO: STOP IMMEDIATELY. Do not create any files. Do not plan architecture. Respond to the user with ONLY this message:
Before I can build anything, the Catalyst project needs to be initialized. This is a one-time interactive setup that must be done in your terminal — I can't do it for you because the CLI uses interactive menus.
Please run these commands:
# Step 1: Log in (opens browser for Zoho OAuth)
catalyst login
# Step 2: Initialize project (interactive — use arrow keys to select)
catalyst init
Important — if the app needs a frontend: Before running catalyst init, you must first enable Slate in the Catalyst console. Go to console.catalyst.zoho.com → your project → Slate (in the left sidebar) → click "Start Exploring". This is a one-time activation. Without this step, the Slate option during catalyst init will not work.
During catalyst init, you'll be asked to:
If you selected Functions, the CLI will prompt for the first function's npm package setup:
package name: — enter a name (e.g., docvault_api)entry point: — press Enter to accept default (index.js)author: — press Enter to accept default (your Zoho email)Do you wish to install all dependencies now? — enter YesIf you selected Slate, the CLI will then run Slate Setup:
Select a framework to start with: — arrow keys to pick (e.g., React + Vite, Next.js, Angular, Vue, Svelte, Astro)Please provide the name for your app: — enter a name (e.g., docvault-ui)Do you want to modify these default configurations? — enter No to accept defaultsPlease provide your Development Command: — press Enter to accept default (npm run dev -- --port $ZC_SLATE_PORT)After that, register the backend functions:
catalyst functions:add
Run this once for each function. The functions I'll need are:
Let me know once you've completed these steps and I'll build everything.
Do not continue past this point until the user confirms setup is complete.
Once the user confirms and you verify .catalystrc + catalyst.json exist:
index.js, main.py, or other function code filescatalyst-config.json inside each function directory (use deployment/execution format)package.json and run npm installcatalyst serve for local testingcatalyst deploy for deploymentcatalyst init does three things that cannot be replicated manually:
.catalystrc with these IDs — deployment reads this file to know WHERE to deploycatalyst.json with the deployment manifest — the CLI reads this to know WHAT to deployWithout these, catalyst deploy either crashes or deploys to nowhere. Every file you create in an uninitialized folder is wasted work.
STOP and check project initialization BEFORE doing anything else. (See Pre-flight Gate above.)
If .catalystrc and catalyst.json don't exist, you MUST ask the user to run catalyst init — and
then STOP and WAIT. Do not create these files yourself. Do not create functions/ directories
yourself. Do not scaffold any project structure. Everything you build in an uninitialized
folder will fail on deploy.
Follow Catalyst's exact project structure. Catalyst is strict about directory layout. Functions go
under functions/, and catalyst.json sits at the project root. For frontends, always use Slate
(not the legacy client/ directory). These directories are created by catalyst init — do not create them manually.
Use the correct SDK initialization pattern. The Catalyst Node.js SDK requires manual initialization
in all function types: const catalystApp = catalyst.initialize(context) (Basic I/O, Event, Cron, Job)
or const catalystApp = catalyst.initialize(req) (Advanced I/O, AppSail). The SDK is NOT auto-injected.
Write deployment-ready code. Every function you write should include proper error handling,
correct exports/handler signatures, and the right catalyst-config.json. Code should work when
the user runs catalyst deploy.
Respect function types. Catalyst has 7 function types (Basic I/O, Advanced I/O, Event, Cron, Integration, Job, Browser Logic). Each has a different handler signature and invocation model. Using the wrong type causes silent failures.
Use ZCQL for queries, not raw SQL. Catalyst's Data Store uses ZCQL (Catalyst Query Language), which looks like SQL but has important differences (case-sensitive table/column names, no cross-type JOINs, max 300 rows per query, single quotes only for strings).
Always handle Catalyst's auth model. Catalyst uses its own authentication system with user
management. Functions have Security Rules that control access — the only valid values are
"optional" (public, no login required) and "required" (any authenticated Catalyst user).
Values like no_auth, user_auth, and admin_auth do not exist and will throw
"Invalid input value". For admin-only route enforcement, use API Gateway (auth type on
the route), not Security Rules. Security Rules is a binary gate: public vs. authenticated.
Default to the modern stack. For new projects:
client/) — Client is deprecated; always use Slate for frontends. During catalyst init, select Slate (not "Client"). Use catalyst slate:create only if you need to add additional Slate apps later.Proactively guide users to connect Zoho MCP. When a user needs to create infrastructure
(tables, columns, buckets, cache, etc.), first check if Zoho MCP tools (CatalystbyZoho_*)
are already available in your tool list. If they are, use them directly for infrastructure
setup. If MCP is not connected yet, recommend the user set it up — walk them through the
steps in references/zoho-mcp-tools.md so they can manage infrastructure directly from the
conversation. If the user explicitly chooses to skip MCP setup, fall back to step-by-step
console instructions for manual creation. Read references/zoho-mcp-tools.md before making
any MCP tool calls.
⚠️ MCP mandatory pre-flight: Org → Project → Verify → Operate. Before making ANY MCP tool call that targets a project (creating tables, querying data, managing buckets, etc.), you MUST first identify the correct org ID and project ID. Without these, every call will fail with
PERMISSION_NEEDEDorINVALID_ORG.If
.catalystrcexists in the working directory — read it first. It contains the authoritativeproject_idandenv_id. Cross-check withList_All_Organizations.If
.catalystrcdoes NOT exist (chat-only context, no local project) — you MUST call:
List_All_Organizations→ get the orgid(used asCatalyst-orgheader)List_All_Projects(with that org) → get the projectid(used inpath_variables.projectId)- A verification read (e.g.,
List_All_Tables) → confirm access works before any writesNever skip this sequence. Never guess org or project IDs. See
references/zoho-mcp-tools.mdfor the full flow, ID mismatch gotchas, and troubleshooting.
The following Catalyst components are deprecated and will be removed in a future update (originally scheduled for April 30, 2026, currently still functional with deprecation warnings):
Never recommend deprecated components for new projects. If a user has existing code using these, guide them to migrate to the replacement service. File Store supports direct migration to Stratus via the console. Event Listeners and Cron require manual migration of business logic.
Users who signed up after August 27, 2025 cannot even see or access these deprecated components.
For deep-dive details on any service, load the appropriate Tier 2 reference file.
| Category | Services | Details in |
|----------|----------|-----------|
| Compute | Functions (7 types: Basic I/O, Advanced I/O, Event, Cron, Integration, Job, Browser Logic); Node.js 20, Java 8/11/17, Python 3.9; 128–1024 MB memory | references/functions-and-sdk.md |
| Compute | AppSail — PaaS for persistent servers; managed Node.js/Java/Python runtimes or custom Docker; 1–5 auto-scaling instances; 256–2048 MB | references/services.md |
| Storage | Data Store (relational, ZCQL, max 300 rows/query); Stratus (S3-compatible, PREFERRED over ~~File Store~~); NoSQL (document DB); Cache (string-only, max 48hr TTL, max 5MB/value); Search (full-text, per-column) | references/cloud-scale.md |
| Frontend | Slate — Git-based, SSR, preview deploys (PREFERRED); Web Client Hosting — legacy client/ dir | references/services.md |
| Integration | Signals — managed event bus, Zoho ecosystem (PREFERRED over ~~Event Listeners~~); Connections — OAuth token manager, auto-refresh | references/services.md |
| Orchestration | Circuits — visual workflow, approvals, saga patterns; Job Scheduling — background jobs (PREFERRED over ~~Cron~~); Pipelines — YAML CI/CD | references/services.md |
| AI / ML | Zia Services — vision + text analytics microservices; QuickML — no-code AutoML + LLM/VLM; ConvoKraft — AI chatbot builder | references/services.md |
| Browser | SmartBrowz — managed headless browser; scraping, screenshots, PDF generation | references/services.md |
| DevOps | Logs, APM, Application Alerts, GitHub auto-deploy integration | references/observability.md |
| Auth & Security | Auth & User Management — built-in auth, Zoho accounts, SSO; API Gateway — routing, rate limiting, CORS | references/cloud-scale.md |
| Communication | Mail (domain verification required); Push Notifications (APNs + FCM) | references/cloud-scale.md |
| Developer Tools | CLI (zcatalyst-cli), SDKs (Node.js/Java/Python + Web/Android/iOS/Flutter), REST APIs, VS Code Extension, CodeLib, Zia AI Assistant, Tunneling | references/functions-and-sdk.md, references/project-and-cli.md |
Deprecated — never recommend for new projects:
These are the current official signatures per https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/overview/ All function types require manual SDK initialization via
catalyst.initialize(). The node20 handler change only affects Advanced I/O (removedcatalystAppandcontextparams, now receives rawreq/res). All other function types retain their original signatures.
// Basic I/O — simple string in, string out (GET only)
const catalyst = require('zcatalyst-sdk-node');
module.exports = (context, basicIO) => {
const catalystApp = catalyst.initialize(context);
const data = context.getArgument();
basicIO.write("Response string");
};
// Advanced I/O — full HTTP (any method), node20: raw http.ServerResponse (NOT Express)
// Use sendJson() + getBody() helpers — res.status/res.json do NOT exist
'use strict';
const catalyst = require('zcatalyst-sdk-node');
function sendJson(res, statusCode, data) {
res.writeHead(statusCode, { 'Content-Type': 'application/json' });
res.end(JSON.stringify(data));
}
module.exports = async (req, res) => {
const catalystApp = catalyst.initialize(req);
sendJson(res, 200, { message: "Hello" });
};
// LEGACY Advanced I/O signature (older projects, node14/16/18):
// module.exports = (catalystApp, context, req, res) => {
// sendJson(res, 200, { message: "Hello" });
// };
// Event — triggered by Signals/Event Listeners
const catalyst = require('zcatalyst-sdk-node');
module.exports = (event, context) => {
const catalystApp = catalyst.initialize(context);
const eventData = event.data; // event payload
context.close(); // must close context when done
};
// Cron — DEPRECATED, use Job Scheduling
const catalyst = require('zcatalyst-sdk-node');
module.exports = (cronDetails, context) => {
const catalystApp = catalyst.initialize(context);
context.closeWithSuccess(); // or context.closeWithFailure()
};
// Job — triggered by Job Scheduling
const catalyst = require('zcatalyst-sdk-node');
module.exports = async (jobData, context) => {
const catalystApp = catalyst.initialize(context);
context.closeWithSuccess(); // or context.closeWithFailure()
};
// Integration — Zoho service triggers (NOT available in EU, AU, IN, CA DCs)
const catalyst = require('zcatalyst-sdk-node');
module.exports = (event, context) => {
const catalystApp = catalyst.initialize(context);
context.close();
};
// Browser Logic — used with SmartBrowz
const catalyst = require('zcatalyst-sdk-node');
module.exports = (event, context) => {
const catalystApp = catalyst.initialize(context);
context.close();
};
// Inside a function handler — in new projects, initialize via catalyst.initialize(req)
const dataStore = catalystApp.datastore(); // Relational DB
const zcql = catalystApp.zcql(); // Query language
const stratus = catalystApp.stratus(); // Object storage (S3-compatible)
const nosql = catalystApp.nosql(); // Document DB
const cache = catalystApp.cache(); // In-memory cache
const search = catalystApp.search(); // Full-text search
const mail = catalystApp.email(); // Email sending
const userMgmt = catalystApp.userManagement();// Auth & users
const connection= catalystApp.connection(); // OAuth token manager
const circuit = catalystApp.circuit(); // Workflow orchestration
const jobSched = catalystApp.jobScheduling(); // Background jobs
const zia = catalystApp.zia(); // AI/ML services
const pushNotif = catalystApp.pushNotification();
npm install -g zcatalyst-cli # Install CLI (requires Node.js v14+)
catalyst login # Login to Zoho account
catalyst init # Initialize project
catalyst functions:add # Register a new function (INTERACTIVE — no flags, prompts for name/type/stack)
catalyst serve # Local testing (all resources)
catalyst serve --only functions # Local testing — functions only
catalyst deploy # Deploy all resources to Development
catalyst deploy --only functions # Deploy functions only
catalyst deploy --only functions:crud_api # Deploy a single named function
catalyst functions:shell # Test functions in Node shell
catalyst apig:enable # Enable API Gateway for the project
catalyst apig:disable # Disable API Gateway
catalyst apig:status # Check API Gateway enable status and schedule progress
catalyst slate:create # Add an additional Slate app to a project (interactive — asks framework + name)
catalyst slate:link # Link existing local dir to Slate service (interactive)
catalyst slate:unlink # Unlink a Slate app
catalyst serve --only slate # Serve Slate app locally
catalyst deploy slate # Deploy all Slate apps to Development
catalyst deploy slate -m "message" # Deploy with a deployment message
catalyst deploy --only slate:appname # Deploy a specific Slate app
catalyst deploy slate --production # Deploy to Production environment
⚠️ API Gateway CLI prefix is apig:, NOT api-gateway:. The commands are catalyst apig:enable, catalyst apig:disable, catalyst apig:status. Using api-gateway:enable throws "unknown command".
⚠️ Slate CLI deploy workflow: Select Slate during catalyst init (or run catalyst slate:create / catalyst slate:link later to add more apps), then catalyst deploy slate to push. No Git repo required for CLI-based deploy.
⚠️ CLI flag gotcha (v1.23.0+): The deploy/serve scoping flag is --only <target> with a space — NOT --only-functions. Hyphenated form does not exist and throws "unknown option". Valid targets: functions, client, appsail, functions:<name> for a single function.
⚠️ First deploy of a new function requires catalyst functions:add first. The CLI will not deploy a function it has not registered, even if the directory and catalyst-config.json exist. Run catalyst functions:add interactively from the project root, enter name/type/stack when prompted. After it completes, catalyst.json will contain a functions array with the registered entry.
| Need | Use This | Not This | |------|----------|----------| | Frontend hosting (new) | Slate | Web Client Hosting | | File/object storage (new) | Stratus | ~~File Store~~ (deprecated) | | Event-driven architecture (new) | Signals | ~~Event Listeners~~ (deprecated) | | Scheduled/background tasks (new) | Job Scheduling | ~~Cron~~ (deprecated) | | Zoho product integration | Signals (events) + Connections (APIs) | Custom webhook handlers | | Stateless API endpoints | Advanced I/O Functions | AppSail | | Persistent server / WebSockets | AppSail | Functions | | Relational data with queries | Data Store + ZCQL | NoSQL | | Flexible schema / documents | NoSQL | Data Store | | Ephemeral / session data | Cache (max 48hr TTL) | Data Store | | Multi-step workflow | Circuits | Chained function calls |
catalyst.json, .catalystrc, functions/, and client/ are ALL created by catalyst init. If you create them manually they will lack Project ID, Environment ID, and ZAID — deployment will fail with no useful error. Always ask the user to run catalyst init themselves. This is the #1 cause of failed Catalyst builds by LLMs.catalyst init, catalyst login, catalyst functions:add are INTERACTIVE — they use arrow-key menus and multi-step prompts. NEVER run them in a script or terminal session. Always instruct the user to run them manually in their own terminal and wait for confirmation before proceeding.catalyst functions:add is the ONLY setup command without non-interactive flags — Unlike catalyst init (--non-interactive), catalyst appsail:add (--name, --stack), and catalyst slate:create (--name, --framework), functions:add has NO flags for automation — it always requires interactive arrow-key selection. Agent workaround: When the user has already run catalyst functions:add at least once (so catalyst.json has a functions array), agents can add subsequent functions by: (1) creating a new directory under functions/, (2) adding a valid catalyst-config.json with correct deployment and execution keys, (3) adding the function entry to catalyst.json's functions array matching the format of existing entries. The first function MUST still be registered interactively. See references/cli-reference.md for the exact catalyst.json function entry format.catalyst init — Slate is a component option alongside Functions, Client, and AppSail. Select Functions + Slate (not Client). If you need to add more Slate apps later, use catalyst slate:create.catalyst functions:add is required before first deploy — a function directory + catalyst-config.json alone is not enough; the CLI must register it interactively first. The user must run it from the project root and answer name/type/stack prompts--only functions (with space) — NOT --only-functions. Hyphenated form throws "unknown option" in CLI v1.23.0+. Single function: --only functions:<name>catalyst-config.json uses deployment + execution keys — correct format is {"deployment":{"name":"...","type":"...","stack":"...","env_variables":{}},"execution":{"main":"index.js"}}. Do NOT use a function key or entry_point — neither exists. Using them crashes catalyst deploy with a cryptic TypeError.deployment block (max 1024MB)LIMIT offset, count pagination (e.g. LIMIT 0, 300, LIMIT 300, 300) for larger datasetsmy-files will be taken. Use {app-name}-{project-id-prefix} (e.g., docvault-files-70699). A DUPLICATE_ENTRY error does NOT mean it's in your project — it may belong to another project and be inaccessible.*.onslate.com, functions from *.catalystserverless.com. Relative paths like /server/func/execute DO NOT work — you'll get HTML back instead of JSON. Use the full function URL + generateAuthToken() + CORS whitelist in Console → Authentication → Authorized Domains./__catalyst/auth/login works, enable it in Console → Authentication → Login → Hosted Authentication. The Web SDK does NOT auto-redirect on auth failure — you must redirect manually in the .catch() block.process.env.X_ZOHO_CATALYST_LISTEN_PORT with fallbackcatalyst.initialize(req, { scope: 'admin' }) to bypass user permissions.credentials: 'include' — without it, auth cookies are not forwarded and server-side userManagement().getCurrentUser() throws with 401, even when both web client and function are on the same Catalyst domain.catalyst.auth.getCurrentUser() does NOT exist — use catalyst.auth.isUserAuthenticated() instead. It resolves with the full user object (result.content.email_id, etc.) on success and rejects with 401 on failure. The SDK does NOT auto-redirect — you must redirect manually to /__catalyst/auth/login.catalyst.auth.signOut() requires a redirect URL argument — call catalyst.auth.signOut(redirectURL). Calling it without an argument crashes. constructSignOutUrl() does not exist.req has no body, files, query, or params — it is a raw http.IncomingMessage, not Express. For JSON: accumulate stream chunks. For file uploads: use busboy. For query params: use new URL(req.url, ...).searchParams.executeZCQLQuery returns [{ tablename: { ROWID: ..., col: ... } }]. Always unwrap: result.map(r => r.TableName). The key matches the table name as defined in the console (case-sensitive).new Date() treats it as UTC, producing timestamps that are hours off. Always append the project timezone offset before parsing.?. Workaround: store a string key (e.g. "happy") and map to emoji in application code.express.static() so all calls are same-origin. This eliminates CORS and auth-layer issues entirely.Note: SDK doc URLs include a version segment (e.g.,
/v2/,/v1/). If a URL returns 404, the version may have been incremented — check the docs homepage for the latest version path.
tools
Use BrightHire tools when a user asks about BrightHire interview intelligence, calls, candidates, roles, scorecards, transcripts, hiring decisions, or organization-level interview data.
development
Wix business solution management recipes — REST API operations for configuring and managing Wix business solutions. Routes to: stores, bookings, get-paid, CMS, contacts, forms, media, app-installation, pricing-plans, restaurants, rich-content, sites, blog, calendar, domains, site-properties, ecommerce.
development
Google Slides work for finding, reading, summarizing, creating, importing, template following, visual cleanup, source-deck adaptation, structural repair, and content edits in native Slides decks.
tools
Build a complete Wix Managed Headless site from a single prompt, OR connect an existing project (HTML/JSX/Vite app, Claude Design output, etc.) to Wix Headless for hosting + Business Solutions. Entry point for both: (1) new-site requests — runs discovery, design, feature wiring, and preview; and (2) existing-project requests — runs `npm create @wix/new@latest init`, analyzes the project for needed Business Solutions, installs apps, **wires the Wix SDK into the existing source files so each installed app actually powers its corresponding feature**, and releases. Triggers: build me a site, create a website, make me a website, new website, online store, I want to sell X, start a business online, launch a site, ecommerce, portfolio, business website, sell online, online shop, connect this to Wix Headless, add Wix Headless to this project, host this on Wix, deploy this to Wix, implement the features of this project using Wix Headless. Use this skill instead of the WixSiteBuilder MCP tool for new-site requests.