PluginWorks in Claude CodeCurrent
Catalyst by zoho
Official Claude Code plugin for Catalyst by Zoho — full-stack serverless cloud platform. With Skills that covers all services, SDKs, CLI, architecture patterns, pricing, migration guides, and Zoho MCP tool-based resource management.
0
Try it
See what this would do for you. No sign-up needed.
Runs shell commands (hooks)
This plugin runs commands on your computer when Claude Code reaches certain events. Read its hooks before you install it.
Install in Claude Code
Run these in Claude Code, in order. The first adds the marketplace, the second installs the plugin.
Step 1
/plugin marketplace add anthropics/claude-plugins-official
Step 2
/plugin install catalyst-by-zoho@claude-plugins-official
Review commands before running them. Promptu never runs code on your machine or pushes changes to your repo.
What's inside
16 skills
- catalyst-appsail
- catalyst-authentication
- catalyst-basics
- catalyst-by-zoho
- catalyst-cache
- catalyst-datastore
- catalyst-functions
- catalyst-nosql
- catalyst-pricing
- catalyst-sdk
- catalyst-signals
- catalyst-slate
- catalyst-smartbrowz
- catalyst-stratus
Details
# Catalyst Claude Code Plugin
The official Claude Code plugin for [Catalyst by Zoho](https://catalyst.zoho.com) — the full-stack serverless cloud platform.
The plugin bundles two things:
- **Modular skills** — a set of focused, service-specific skills that give Claude Code (and Cowork) deep knowledge of Catalyst's platform, services, SDK patterns, and best practices, so it can write deployment-ready Catalyst code and recommend the right architecture.
- **A pre-configured MCP connector** — the Catalyst MCP server ships wired into `.mcp.json`, letting Claude manage your Catalyst infrastructure directly (create tables, query data, manage cache/buckets) straight from the conversation.
## What's included
### Skills
The skills are modularised — instead of one monolithic skill, each Catalyst service or concern is its own focused skill, loaded on demand only when relevant. `catalyst-by-zoho` is the top-level entry point that routes to the specialised skills below.
| Skill | Description |
|-------|-------------|
| `catalyst-by-zoho` | Top-level entry point — expert Catalyst assistant that routes to the specialised skills below |
| `catalyst-basics` | Project setup, directory structure, environments, CLI commands, and all Catalyst IDs (Project ID, ZAID, Table ID, Segment ID, Org ID) |
| `catalyst-functions` | Serverless functions — all 7 types, handler signatures, `catalyst-config.json`, Security Rules, API Gateway routing, file uploads, middleware, and testing |
| `catalyst-appsail` | AppSail — persistent backend PaaS with managed runtimes (Node.js, Java, Python) and custom Docker containers |
| `catalyst-datastore` | Data Store — relational cloud database with ZCQL, CRUD, table permissions, and pagination |
| `catalyst-nosql` | NoSQL — non-relational document database for unstructured/JSON-heavy data with flexible per-item schema |
| `catalyst-cache` | Cache — in-memory key-value store with TTL for ephemeral session and temporary data |
| `catalyst-stratus` | Stratus — S3-compatible object storage with upload/download, signed URLs, and multipart upload |
| `catalyst-slate` | Slate — Git-based frontend hosting for React, Next.js, Vue, Angular, Svelte, Astro, and more |
| `catalyst-authentication` | Authentication — login/signup, ZAID, Web SDK auth flows, Security Rules, and OAuth via Connections |
| `catalyst-sdk` | SDKs — initialization and method reference for Node.js, Web, Python, Java, Android, iOS, and Flutter |
| `catalyst-zia` | Zia Services and QuickML — OCR, Face Analytics, Text Analytics, Object Detection, Barcode Reader, Content Moderation, and AutoML |
| `catalyst-pricing` | Pricing — free tier limits, pay-as-you-go rates, GB-seconds calculation, and cost estimation |
| `catalyst-zoho-mcp` | Zoho MCP — manage Catalyst infrastructure (tables, buckets, cache) via `CatalystbyZoho_*` MCP tools using natural language |
> **Note:** For edge-case lookups not covered by a skill's bundled reference files, skills instruct agents to search the official Catalyst docs site (`docs.catalyst.zoho.com`) and fetch individual pages — rather than bundling the full documentation dump locally. This keeps the repo lean while ensuring accurate, up-to-date answers.
## Installation
### Claude Code / Cowork (Plugin)
> **Prerequisites:** You must have the [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code/overview) installed. Open your **system terminal** (not the Claude Code desktop app or web interface) and start a session with `claude` before running the commands below.
**Steps:**
1. Register this repository as a plugin marketplace source:
```
/plugin marketplace add catalystbyzoho/claude-plugin
```
2. Install the Catalyst skill plugin:
```
/plugin install catalyst-by-zoho@catalyst-by-zoho
```
3. The plugin ships with the Catalyst MCP server **pre-configured** in `.mcp.json`, so Claude can manage Catalyst infrastructure (create tables, query data, manage cache/buckets) directly from the conversation — no manual MCP setup or URL generation required.
> **Region note:** `.mcp.json` defaults to the **US** data center endpoint (`https://catalystbyzoho.zohomcp.com/mcp/message`). If your Catalyst account is on a different DC (EU, IN, AU, JP, SA, CA, UAE), see the [Catalyst MCP server section](#catalyst-mcp-server) below.
### Catalyst MCP server
The plugin includes a dedicated **Catalyst MCP server** that lets Claude manage your Catalyst infrastructure (create tables, query data, manage cache/buckets) directly.
It comes pre-wired in `.mcp.json`:
```json
{
"mcpServers": {
"catalyst-by-zoho": {
"type": "streamable-http",
"url": "https://catalystbyzoho.zohomcp.com/mcp/message"
}
}
}
```
The default URL points to the **US** data center. If your Catalyst account lives in another region (EU, IN, AU, JP, SA, CA, UAE), update the `url` to the matching DC endpoint — or just ask Claude to switch it for you. The first time Claude invokes a Catalyst tool, you'll be prompted to authorize the connection.
See `skills/catalyst-zoho-mcp/references/zoho-mcp.md` for the full list of available tools and verification steps.
## What the plugin enables
- **Architecture recommendations** — get Catalyst-specific service picks for your use case
- **Production-ready code generation** — correct handler signatures, SDK patterns, `catalyst-config.json`, and project structure that works with `catalyst deploy`
- **Platform migration guidance** — maps AWS, GCP, Azure, Vercel, Firebase, Supabase, and Heroku services to Catalyst equivalents
- **Infrastructure management via Zoho MCP** — create tables, insert data, run ZCQL queries, manage cache/buckets directly from the AI conversation
- **Pricing estimation** — detailed cost breakdowns with unit prices and free tier offsets
## About CATALYST.md
`CATALYST.md` at the repo root is a **lightweight MCP routing stub** — it contains only
the minimal context needed for MCP-enabled tools (e.g. Claude Code with Zoho MCP connected)
to discover and invoke `CatalystbyZoho_*` tools correctly.
**It is not a replacement for the skills.** If you are building a Catalyst application,
always use the skills under `skills/` (each with its own `references/` folder), which
together cover the complete service catalog, SDK patterns, handler signatures, architecture
guidance, and all reference docs. `CATALYST.md` alone is insufficient for app development.
## License
This project is licensed under the Apache 2.0 License — see the [LICENSE](LICENSE) file for details.
## Resources
- [Catalyst Documentation](https://docs.catalyst.zoho.com/en/)
- [Catalyst Pricing](https://catalyst.zoho.com/pricing.html)
- [Catalyst GitHub](https://github.com/catalystbyzoho)
- [Zoho MCP](https://mcp.zoho.com/)
## skills/catalyst-appsail/SKILL.md
---
name: catalyst-appsail
description: "Catalyst AppSail — persistent backend PaaS with managed runtimes (Node.js, Java, Python) and custom Docker containers. Trigger on 'AppSail', 'persistent server', 'Docker on Catalyst', 'X_ZOHO_CATALYST_LISTEN_PORT', or 'long-running process on Catalyst'. Do NOT use for stateless request/response handlers, event-driven functions, or scheduled jobs — use catalyst-functions instead."
compatibility: "Requires Catalyst CLI (`npm install -g zcatalyst-cli`). Custom Docker deployments additionally require Docker Desktop."
metadata:
version: "2.1.0"
---
## How It Works
1. **Identify the runtime** — Managed runtime (Node.js, Java, Python) or custom Docker container.
2. **Load `references/appsail-basics.md`** — for PORT config, environment variables, Dockerfile requirements, and deploy commands.
3. **PORT rule** — Always use `process.env.X_ZOHO_CATALYST_LISTEN_PORT`, never hardcode `PORT` or `3000`.
4. **Serve & test locally, THEN deploy (local-first).** Before `catalyst deploy appsail`, run `catalyst serve` and exercise the app's routes on Local (managed-service calls proxy to the Development environment), and run the project's test suite. Iterate locally until it passes; only then deploy to Development (`catalyst deploy appsail --name <name> -ni`), verify on the Development URL, and promote to Production only after that. Full loop: `../catalyst-basics/references/project-basics.md` → **Environments**.
5. **AppSail vs Functions decision** — If the user is unsure which to use, apply this matrix:
| | Catalyst Functions | AppSail |
|---|---|---|
| Code structure | Catalyst-specific templates required | Any framework, any format, fully independent |
| Use case | HTTP handlers, events, cron, Zoho integrations | Persistent servers, long-running processes, Docker |
| Billing | Per API call | Per instance uptime |
| Dependency management | Handled by Catalyst | You manage all libraries and frameworks |
## Triggers
Use this skill for: "AppSail", "persistent server", "Docker on Catalyst", "backend hosting", `X_ZOHO_CATALYST_LISTEN_PORT`, `appsail:add`, "catalyst managed runtime", "deploy Express app", "AppSail vs Functions", "long-running process on Catalyst", or "containerized app on Catalyst".
## References
| Reference | Load when the query is about… |
|-----------|-------------------------------|
| `references/appsail-basics.md` | Runtimes, Docker setup, PORT env var, env variables, deploy commands, AppSail vs Functions decision table |
## skills/catalyst-authentication/SKILL.md
---
name: catalyst-authentication
description: "Catalyst Authentication — user login/signup, ZAID, Web SDK auth flows, and OAuth token management via Connections. Trigger on 'authentication', 'login', 'signup', 'getCurrentUser', 'ZAID', 'isUserAuthenticated', 'signOut', 'Connections', or 'getAccessToken'. You MUST load this skill whenever implementing user login or protecting data — ZAID differs between Development and Production and is the #1 cause of auth failures after environment promotion. For Security Rules (function invocation control), route to catalyst-functions."
metadata:
version: "2.1.0"
---
> ## 🚦 Local auth requires plain `catalyst serve`
>
> Auth works locally **only** when the frontend is served through `catalyst serve`; prefer plain `catalyst serve` so Functions/AppSail run alongside Slate. **NEVER** use the native dev server (`npm run dev`, `vite`, `next dev`, `ng serve`, …) — it lacks the `/__catalyst/sdk/init.js` endpoint, session cookie, ZAID, and managed-service proxy, so login/signup, `getCurrentUser`, and `isUserAuthenticated` fail (401) though the page renders. If auth "doesn't work locally," check this first. See `../catalyst-slate/`.
## How It Works
1. **Identify flow type** — Hosted login (redirect to Catalyst login page), embedded login (custom UI), or backend `getCurrentUser` check.
2. **Load `references/auth-basics.md`** — for signup/login flows, ZAID gotcha, hosted vs embedded login, and common auth errors.
3. **ZAID warning** — ZAID differs between Development and Production. This is the #1 auth issue in production. Always verify the environment.
4. **Security Rules** — If the query involves controlling who can invoke a function, route to `catalyst-functions` skill and its `../catalyst-functions/references/functions-basics.md` Security Rules section. Security Rules has two parameters: (a) **`methods`** — which HTTP methods (GET/POST/PUT/DELETE/PATCH) are enabled for the function (removing a method blocks that verb entirely), and (b) **`authentication`** — a single binary flag (`optional` = public, `required` = authenticated users only) applied **function-wide, not per-method**. For role-based data access control, route to DataStore Scopes and Permissions (Console → Table → Scopes and Permissions).
5. **OAuth / Connections** — Load `references/connections.md` for external API OAuth token management (Zoho or third-party).
## Security Checklist
- **Local auth requires `catalyst serve`** (never the native dev server) — see the 🚦 rule above.
- **ZAID is environment-specific.** The Development ZAID is different from the Production ZAID. Social logins (Google, Facebook, LinkedIn, Microsoft) configured in Development MUST be reconfigured with the Production ZAID and production app domain before going live — using the wrong ZAID causes all social logins to silently fail in production.
- **DataStore permissions are separate from function-level auth.** Requiring authentication in Security Rules only controls who can call the function. App User table permissions (Console → Table → Scopes and Permissions) separately control which DataStore operations authenticated users can perform.
## Triggers
Use this skill for: "authentication", "user management", "login", "signup", `getCurrentUser`, "ZAID", `registerUser`, `isUserAuthenticated`, `signOut`, "hosted login", "embedded login", "Connections", "OAuth token", `getConnector`, `getAccessToken`, "Security Rules", "App User", "credentials include", or "auth redirect".
## References
| Reference | Load when the query is about… |
|-----------|-------------------------------|
| `references/auth-basics.md` | User signup/login, getCurrentUser, Web SDK auth flows, ZAID gotcha, hosted vs embedded login, common auth errors |
| `catalyst-functions` skill | Security Rules — function invocation control (`methods`, `authentication: optional/required`) |
| `references/connections.md` | OAuth token management for external APIs — getConnector, getAccessToken, Zoho and third-party service connections |
## skills/catalyst-basics/SKILL.md
---
name: catalyst-basics
description: "Core Catalyst project setup — directory structure, environments, CLI commands, and all Catalyst IDs (Project ID, ZAID, Table ID, Segment ID, Org ID). Trigger on 'start a Catalyst project', 'what is .catalystrc', 'where do I find my Table ID', 'difference between Development and Production', or any Catalyst ID or CLI question."
metadata:
version: "2.2.0"
---
> **⚠️ PRE-FLIGHT CHECK:** Before creating any project files, confirm that `.catalystrc` and
> `catalyst.json` exist in the project directory. If they don't:
> 1. Use MCP (`CatalystbyZoho_List_All_Organizations` → `CatalystbyZoho_List_All_Projects`) to *list* orgs/projects.
> 2. **🔒 Never assume the org/project.** If there is no project initialized, or the project is ambiguous, **STOP and ask the user which project (and org) to work in** — a single project in the list is not permission to auto-select it; confirm first. Never infer the project from the directory name or a past session. (Full rule: `references/preflight.md` → Golden Rule.)
> 3. Only after the project is resolved **and confirmed** run: `catalyst init --org <orgId> -p <projectId> -ni`
> 4. **Never ask the user to run `catalyst init` interactively. Never create these files manually** — they are CLI-generated and must come from the CLI.
>
> **Always run the `catalyst` CLI in non-interactive mode.** Every command takes a `-ni` / `--non-interactive` flag (or set `ZCATALYST_NON_INTERACTIVE=1`; requires CLI v1.27.0+) and accepts its inputs as flags, so the CLI never prompts. Interactive menus exist for humans only — agents must never rely on them. The one exception is `catalyst login`, whose browser OAuth step needs the user. See the required flags per command in `references/cli.md`.
## How It Works
1. **Pre-flight first** — Establish and verify org/project context per the canonical sequence in `references/preflight.md` (read `.catalystrc` for org/project, confirm parity with MCP, or resolve via MCP if `.catalystrc` is absent). Use MCP for all other resource IDs instead of asking the user.
2. **New to Catalyst?** — If the user is setting up Catalyst for the first time or asking "how do I start", load `references/quick-start.md` for the full walkthrough.
3. **Console navigation** — If the user asks how to find IDs, create tables, set permissions, or configure CORS in the console, load `references/console-ui-guide.md`.
4. **Project structure** — Load `references/project-basics.md` for directory layout, `catalyst.json`, IDs, and dev-to-prod checklist.
5. **CLI questions** — Load `references/cli.md` for the exact command, flags, and safety rules.
6. **Answer** — Provide the specific ID path or CLI command needed. Never ask the user to manually look up IDs when MCP is connected.
## 🧭 Establishing Org + Project Context
**Follow the single canonical pre-flight:** `references/preflight.md`. It is the authoritative source — do not restate its steps here.
> **🔒 Never assume the org or project.** Resolve them from `.catalystrc` or a user-confirmed MCP list — never guess, never auto-pick a lone project without confirming, never carry a project over from another session or infer it from the folder name. **If no project is initialized or it can't be resolved, ask the user which project (and org) to start with before doing anything.**
**For all other resource details** (table names, bucket names, ZAIDs, etc.), use MCP tools directly — do NOT ask the user to copy-paste IDs from the console.
**If MCP tools are NOT available:**
- Prompt the user to connect Zoho MCP before proceeding
- Guide them to: **VS Code → Settings → MCP** (or Claude Desktop `claude_desktop_config.json`) and add the Catalyst MCP server
- Fall back to reading `.catalystrc` and `catalyst.json` from the local project directory only as a last resort
> **Never ask the user to manually look up IDs from the console** if MCP is connected. Every project detail — org ID, project ID, table IDs, ZAIDs, bucket names — is retrievable via MCP tools. Asking the user to hunt for IDs when MCP is available wastes time and introduces copy-paste errors.
## References
Load the relevant reference file for detailed information:
| Reference | Contents |
|-----------|----------|
| `references/preflight.md` | **Workspace readiness gate** — the canonical pre-flight every skill links to: establish + reconcile org/project (`.catalystrc` ↔ MCP via `Get_Project_By_Id`), environment awareness, and how it pairs with the SessionStart hook |
| `references/quick-start.md` | First-time setup — install CLI, `catalyst init … -ni`, find org/project IDs, add a function, serve locally, deploy, create a Data Store table, configure CORS/Authorized Domains |
| `references/console-ui-guide.md` | Console navigation — finding Project ID/ZAID/Table ID, creating tables with typed columns, enabling App User permissions (Scopes and Permissions), Authorized Domains + CORS toggle |
| `references/project-basics.md` | Project directory structure, `catalyst.json`, `.catalystrc`, `catalyst-config.json`, environments, dev-to-prod checklist, all Catalyst IDs (Project ID, ZAID, Table ID, Segment ID, etc.) |
| `references/cli.md` | Full CLI command reference — all subcommands with flags, Slate/AppSail non-interactive setup, `catalyst serve` port behavior, deploy scoping, safety rules, resource-first development order |
| `references/architecture.md` | Service selection guide — which Catalyst service to use for which pattern, typical stack combinations, DC availability table for regionally restricted services |
| `references/setup/claude-code.md` | Installing skills and connecting Zoho MCP in Claude Code (project `.mcp.json`) |
| `references/setup/cursor.md` | Installing skills and connecting Zoho MCP in Cursor |
| `references/setup/github-copilot.md` | Installing skills and connecting Zoho MCP in GitHub Copilot (VS Code) |
## skills/catalyst-by-zoho/SKILL.md
---
name: catalyst-by-zoho
description: "Expert coding assistant for Catalyst by Zoho — Zoho's full-stack serverless cloud platform. Use for any question about Catalyst services, CLI, SDKs, architecture, pricing, or Zoho MCP tool-based infrastructure management."
metadata:
version: "2.1.0"
---
# Catalyst by Zoho — Skill Index
This is the routing layer. Load the most specific matching skill — do not answer from this file alone.
---
## Philosophy
- **Prefer MCP over asking — for *resource* IDs, not for the org/project itself.** If the `ZohoMCP_*` meta-tools are available, use them to fetch table IDs, ZAIDs, bucket names, etc. (the `CatalystbyZoho_*` operations are invoked *through* them — see below); never ask the user to copy those from the console.
- **🔒 NEVER assume the org or project.** The active org/project must always be *resolved* from an authoritative source (`.catalystrc`, or an MCP list the user confirms) — never guessed, inferred from the directory name, carried over from a past session, or auto-picked because "only one showed up." A single project in the list is **not** permission to select it silently — confirm it. **If no project is initialized (`.catalystrc` absent) or the project cannot be resolved, STOP and ask the user which project (and org) to work in** before any CLI command, MCP resource call, scaffold, or deploy. This is the one place the "prefer MCP over asking" default does not apply — see the Golden Rule in `skills/catalyst-basics/references/preflight.md`.
- **Default to Development (via Local first).** Iterate against Local, then deploy to the Development environment — never target Production unless the user explicitly says "production" or "deploy to prod". Production is reached only by migrating a verified Development setup up, not by direct deploys or resource creation.
- **"Build an app" means Slate + Function by default.** When a user says "build an app", "create an app", or "make a simple app" without specifying backend-only, the default output is a **Slate frontend + Advanced I/O function backend**. Do NOT build only a function and call it an app. If the user's intent is clearly backend-only (e.g. "build an API", "write a function"), skip Slate.
- **Local-first: serve and test before you deploy.** Catalyst has three environments — **Local** (the dev machine), **Development** (remote sandbox), and **Production** (remote, live). For any component you run yourself (Functions, AppSail, Slate), always **`catalyst serve` and test locally first**, then `catalyst deploy` to Development, and only migrate up to Production once Development is verified. Never deploy freshly written or changed serve-able code to Development without a local serve + test pass first, unless the user explicitly says to skip it. Local is coupled to Development (managed-service calls like Data Store/Stratus proxy to Development). The canonical model + loop lives in `skills/catalyst-basics/references/project-basics.md` → **Environments**.
- **Prefer Functions over AppSail for simple HTTP.** Functions are cheaper (per-invocation billing), simpler to deploy, and require no infrastructure management. Reach for AppSail only when the use case genuinely requires a persistent process, or a custom runtime.
- **Show cost before building.** For any new infrastructure (functions, AppSail, Stratus buckets), load `catalyst-pricing` and give a brief estimate before writing code. Most small projects stay within free tier — say so when true.
- **Recommend the current service, not the deprecated one.** File Store → Stratus. Event Listeners → Signals. Cron → Job Scheduling. Never mention the deprecated name in generated code or config.
- **Warn before the region bites.** Circuits and Integration Functions do not work in most data centers. Check the user's DC before suggesting them.
---
## How It Works
1. **Pre-flight** — Check that `.catalystrc` and `catalyst.json` exist. If missing, use MCP to get org/project IDs and run `catalyst init --org <orgId> -p <projectId> -ni`. Never use interactive `catalyst init`.
2. **MCP check** — Look for the `ZohoMCP_*` meta-tools (`ZohoMCP_getSchema`, `ZohoMCP_executeTool`, `ZohoMCP_listTools`, `ZohoMCP_getFeatures`). Their presence is the "MCP connected" signal — the `CatalystbyZoho_*` names never appear as tools. If present, use MCP to fetch org/project IDs instead of asking the user.
3. **Route** — Match the query to the most specific service in the routing table below.
4. **Load lazily** — Read ONLY the single reference file needed for the current step. Do NOT preload multiple skills upfront. For "build an app" requests: (a) assume **Slate frontend + AIO function** unless the user says backend-only, (b) sketch the architecture briefly and confirm with the user before building, (c) then load one reference file per service as you write each part — `catalyst-slate` for the frontend, `catalyst-functions` for the backend.
5. **Cost check** — Only load `catalyst-pricing` if the user specifically asks about cost, or if the plan includes AppSail, Stratus, or other paid-tier services. Skip for basic Functions + DataStore projects (likely free tier).
6. **Answer** — Provide code examples using the user's platform (Node.js, Python, Java, Web, or Mobile).
7. **Serve & test locally, then deploy** — For any component you run yourself (Functions, AppSail, Slate), `catalyst serve` and test it locally before `catalyst deploy` to Development. Deploy to Development only after the local pass succeeds; promote to Production only after Development is verified. See the local-first loop in `catalyst-basics/references/project-basics.md` → **Environments**.
## Triggers
Use this skill for queries containing: Catalyst, zcatalyst, AppSail, Data Store, ZCQL, Cache, Stratus, Slate, NoSQL, Zia Services, QuickML, API Gateway, Connections, Zoho MCP, CatalystbyZoho, `catalyst init`, `catalyst deploy`, `catalyst serve`, `zcatalyst-sdk-node`, `catalyst-config.json`, Catalyst pricing, "build on Zoho's platform", or "deploy to Catalyst". Do NOT use for generic Zoho CRM questions unless Catalyst is the target.
---
## 🛑 Pre-flight gate (project-mutating tasks only)
> **The canonical readiness sequence lives in `skills/catalyst-basics/references/preflight.md`.** It is the single source of truth for establishing + reconciling org/project and environment awareness. Follow it for the full flow; the summary below only covers the MCP-connectivity signal and how to call the tools.
**Step 1 — MCP check (do this before anything else for infrastructure tasks):**
Look for the `ZohoMCP_*` **meta-tools** in your tool list — `ZohoMCP_getSchema`, `ZohoMCP_executeTool`, `ZohoMCP_listTools`, `ZohoMCP_getFeatures`. Their presence is the "MCP connected" signal. The `CatalystbyZoho_*` names are **not** shown as tools — they are `tool_name` values you pass to `ZohoMCP_executeTool`.
- **If the meta-tools are present** — use MCP to fetch org/project IDs. Never ask the user to copy IDs from the console.
**How to call MCP tools correctly:**
1. `ZohoMCP_getSchema` takes `query_params`, NOT `body`:
```
ZohoMCP_getSchema({ query_params: { tool_name: "CatalystbyZoho_List_All_Projects" } })
```
2. Always call `ZohoMCP_getSchema` first for any `CatalystbyZoho_*` tool — never guess the argument shape. Many tools require `path_variables` (e.g. `project_id`) that are invisible without the schema.
3. `ZohoMCP_executeTool` takes a `body` with this shape:
```
ZohoMCP_executeTool({ body: {
tool_name: "CatalystbyZoho_List_All_Functions",
arguments: {
path_variables: { project_id: "31594000000127002" },
headers: {},
body: {}
}
}})
```
4. Tools with no required path variables (e.g. `List_All_Organizations`, `List_All_Projects`) can be called with `arguments: {}`.
- **If the meta-tools are NOT present and the task creates resources, writes files, deploys, or reads project IDs** — **HARD STOP.** Do NOT write any code or create any files. Tell the user:
> "Zoho MCP needs to be connected before I can work with your Catalyst project. Load the `catalyst-zoho-mcp` skill to set it up — it takes under a minute."
Do not proceed until `CatalystbyZoho_*` tools are visible.
**This gate applies only when the task writes Catalyst project files, deploys, reads project/environment IDs, or performs MCP project operations.** Skip it for informational questions (pricing, architecture advice, service selection, "what is Catalyst?", install help, SDK usage, or any question that doesn't require an initialized project).
**For project-mutating tasks: verify `.catalystrc` and `catalyst.json` exist in the working directory.**
- **If present** → that project is authoritative; reconcile it with MCP per the pre-flight and use it.
- **If missing** → the workspace is not initialized against any project. **Do NOT assume one.** Follow the canonical resolution in `skills/catalyst-basics/references/preflight.md` → "If `.catalystrc` is absent":
1. List orgs via MCP — auto-use only when exactly one exists; **ask the user if 2+**.
2. List projects via MCP. **If zero projects exist, or more than one, or even exactly one — STOP and ask/confirm with the user which project to work in.** A lone project is not permission to auto-select it.
3. Only after the org and project are **confirmed with the user** run:
```bash
catalyst init --org <orgId> -p <projectId> -ni
```
**Never ask the user to run `catalyst init` interactively. Never create `.catalystrc` or `catalyst.json` yourself — they must be generated by the CLI.**
**Note:** NI mode can only link an *existing* project. If no project exists yet, tell the user to create one in the Catalyst console, then come back — you'll link it with `catalyst init -ni`. Never scaffold or deploy against a made-up project ID.
---
## Catalyst at a Glance
New to Catalyst? Here's what each service does in one line:
| Service | What it is |
|---------|-----------|
| **Functions** | Serverless functions — Basic I/O (HTTP), Advanced I/O, Event, Cron, Integration, Email Parser, Push Notification. Per-invocation billing. |
| **AppSail** | PaaS for long-running web apps — Node.js, Java, Python managed runtimes, or any Docker container. |
| **Data Store** | Relational tables (rows + columns, foreign keys). Queried via ZCQL (SQL-like) or SDK. |
| **Stratus** | Object/file storage (like S3). Buckets, folders, objects. Up to 250 GB per object. |
| **Slate** | Frontend hosting (like Vercel). Deploys React, Next.js, Vue, Angular, Svelte, Preact, Astro, SolidJS, static HTML. |
| **Cache** | In-memory key-value store. Divided into segments. TTL in hours, max 48 h. |
| **NoSQL** | Document storage with flexible schema (no fixed columns). For unstructured/polymorphic data. |
| **Authentication** | Built-in user sign-up/login (ZAID). OAuth Connections for third-party APIs. |
| **SmartBrowz** | Headless browser automation, PDF/screenshot generation, Browser Logic functions, Browser Grid (parallel browsers), and Dataverse (web scraping). |
| **Zia Services** | Pre-trained AI/ML: OCR, Face Analytics, Text Analytics, Object Detection, Barcode, Moderation. |
| **QuickML** | AutoML — train models on your own data without writing ML code. *(Not in EU/AU/IN/JP/SA/CA)* |
| **Circuits** | Serverless workflow orchestration (step functions). *(Not in EU/AU/IN/JP/SA/CA)* |
| **Signals** | Event-driven triggers / pub-sub (replaces legacy Event Listeners). |
| **Job Scheduling** | Recurring/scheduled function execution (replaces legacy Cron). |
| **Zoho MCP** | AI tool integration — lets AI agents manage Catalyst infrastructure via `CatalystbyZoho_*` tools. |
| **ZCQL** | SQL-like query language for Data Store. `SELECT`, `INSERT`, `UPDATE`, `DELETE`. Max 300 rows per SELECT. |
| **ZAID** | Zoho Account ID — the built-in auth identity layer. Used with Web SDK for user auth flows. |
---
## Skill Routing Table
| When the query is about… | Load this skill |
|--------------------------|-----------------|
| **Which service to use, architecture decisions, DC restrictions** | `catalyst-basics` (load `skills/catalyst-basics/references/architecture.md`) |
| Project setup, `.catalystrc`, environments, orgs, IDs, CLI commands | `catalyst-basics` |
| Functions — types, signatures, `catalyst-config.json`, API Gateway, file uploads | `catalyst-functions` |
| AppSail — backend PaaS, Docker, managed runtimes, PORT variable | `catalyst-appsail` |
| Slate — frontend hosting, frameworks, `slate-config.toml`, Git deploy | `catalyst-slate` |
| Data Store — CRUD, ZCQL queries, permissions, column types | `catalyst-datastore` |
| Stratus — object storage, upload/download, signed URLs, multipart | `catalyst-stratus` |
| NoSQL — document storage, flexible schema, collections | `catalyst-nosql` |
| Authentication — user login/signup, ZAID, Web SDK auth, Connections/OAuth | `catalyst-authentication` |
| Cache — in-memory key-value, TTL, segment operations | `catalyst-cache` |
| Pricing — free tier, pay-as-you-go, GB-seconds, cost estimation | `catalyst-pricing` |
| SDKs — Node.js, Web, Python, Java, Android, iOS, Flutter | `catalyst-sdk` |
| Zia Services, QuickML — OCR, ML predictions, AutoML | `catalyst-zia` |
| Signals — event-driven triggers, publish/subscribe, event listeners, custom publisher, webhook target, dispatch policy | `catalyst-signals` |
| SmartBrowz — headless browser, Puppeteer, Playwright, Selenium, Browser Logic, PDF generation, screenshot, Browser Grid, Dataverse | `catalyst-smartbrowz` |
| Job Scheduling — cron/scheduled execution, recurring jobs | `catalyst-basics` (load `skills/catalyst-basics/references/architecture.md` — no dedicated skill yet) |
| Zoho MCP — MCP setup, `CatalystbyZoho_*` tools, infra-as-conversation | `catalyst-zoho-mcp` |
| Skill gave wrong or outdated guidance — user reporting an error | load `catalyst-by-zoho/references/skill-feedback.md` |
---
## ⛔ Never Use (deprecated + regionally restricted)
### Deprecated services — do not use for new projects
Users who signed up **after August 27, 2025** cannot access these components at all.
| Do not use | Use this instead |
|------------|------------------|
| ~~File Store~~ | **Stratus** (object storage) |
| ~~Event Listeners~~ | **Signals** (event-driven architecture) |
| ~~Cron~~ | **Job Scheduling** (scheduled execution) |
### Regionally restricted services — check DC before recommending
These services are **unavailable** in the listed data centers. Building with them for users in those regions results in runtime failures.
| Service | Not available in |
|---------|------------------|
| **Circuits** | EU, AU, IN, JP, SA, CA, UAE |
| **Integration Functions** | EU, AU, IN, JP, SA, CA, UAE |
| **Push Notifications** | EU, AU, IN, CA, UAE |
| **AutoML (QuickML)** | EU, AU, IN, JP, SA, CA, UAE |
| **Identity Scanner (Zia)** | Available in IN DC only (not EU, AU, US, JP, SA, CA, UAE) |
| **Mobile Device Management** | EU, AU, IN, JP, SA, CA, UAE |
**How to check:** Ask the user which data center their Catalyst account uses, or look for the DC code in their console URL (e.g., `catalyst.zoho.in` → IN, `catalyst.zoho.eu` → EU).
---
## Non-Interactive Mode
CLI v1.27.0+ supports non-interactive (NI) mode — the CLI takes all answers from flags and sensible defaults instead of prompting.
**Enable:** Add `-ni` (or `--non-interactive`) to any supported command, or set `ZCATALYST_NON_INTERACTIVE=1` in the environment.
**Disabled commands:** `functions:setup` → use `functions:add -ni`; `functions:shell` → use `functions:execute`
**Blocked options:** `--remote` on `functions:delete` and `client:delete` is not allowed in NI mode.
**Tip:** `catalyst <command> -ni --help` shows the NI-specific help for that command.
---
## `.catalystrc` — Reading org and project context
After `catalyst init`, a `.catalystrc` file is written to the project root. Read it at the start of any session to identify the active project without asking the user.
**Actual format:**
```json
{
"defaults": { "project": 1, "env": 1 },
"actives": { "project": 1, "env": 1 },
"projects": [
{
"idx": 1,
"id": "<projectId>",
"name": "<projectName>",
"domain": { "id": "<domainId>", "name": "<projectName>-<orgId>.development" },
"env": [{ "idx": 1, "id": "<orgId>", "name": "Development", "type": 3 }]
}
]
}
```
**How to read the active project ID and org ID:**
1. Read `defaults.project` → this is the active project's `idx` value
2. Find the entry in `projects` where `idx` matches → get its `id` → this is the **project ID** to use with `-p`
3. From the same entry, read `env[0].id` → this is the **org ID** to use with `--org`
---
## Quick-reference: Top gotchas
- **TERMINOLOGY: always say "organization" or "org", NEVER "portal"** — the `catalyst init` CLI prompt says "Select a default Catalyst portal" but this is the CLI's legacy wording; the correct term is organization
- **`.catalystrc` / `catalyst.json` missing** → run `catalyst init --org <orgId> -p <projectId> -ni` (get IDs from MCP); never create these files manually, never use interactive `catalyst init`
- **All Catalyst CLI commands default to non-interactive** (CLI v1.27.0+) — always use `-ni` with `--org`, `-p`, `--name`, `--type`, `--stack` flags; never fall back to interactive/arrow-key menus in agent context
- **`catalyst functions:add` non-interactive** — `catalyst functions:add --name <n> --type <type> --stack <stack> -ni`
- **ZCQL result rows are wrapped** → `rows.map(r => r.TableName)` to unwrap
- **ZCQL max 300 rows/query** → use `LIMIT offset, count` for pagination
- **ZAID differs between Dev and Prod** → #1 auth issue in production
- **AppSail PORT** → `process.env.X_ZOHO_CATALYST_LISTEN_PORT` (not `PORT`)
- **Cache values are strings only** → serialize/deserialize JSON yourself
- **Stratus bucket names are globally unique** → use `{app-name}-{project-id-prefix}`
- **Slate → function calls are cross-domain** → use full URL + `generateAuthToken()` + CORS whitelist
- **DataStore App User permissions OFF by default** → enable in Console → Table → Scopes and Permissions
- **`catalyst-config.json` format** → `deployment` + `execution` keys only; NOT `function` or `entry_point`
- **Advanced I/O node20 `req`** → raw `http.IncomingMessage`; use `sendJson(res, ...)` helper, not `res.json()`
- **`signOut()` requires a redirect URL** → `catalyst.auth.signOut(redirectURL)`
---
## Documentation
- Main docs: https://docs.catalyst.zoho.com/en/
- Node.js SDK: https://docs.catalyst.zoho.com/en/sdk/nodejs/v2/overview/
- Web SDK: https://docs.catalyst.zoho.com/en/sdk/web/v4/overview/
- CLI reference: https://docs.catalyst.zoho.com/en/cli/v1/cli-command-reference/
- Pricing: https://catalyst.zoho.com/pricing.html
## skills/catalyst-cache/SKILL.md
---
name: catalyst-cache
description: "Catalyst Cache — in-memory key-value store with TTL for ephemeral session and temporary data. Trigger on 'Cache', 'cache segment', 'cache key', 'TTL', 'segment.put', 'segment.get', or 'temporary data Catalyst'."
metadata:
version: "2.1.0"
---
## How It Works
> **Before any MCP call, establish context once per session** via the workspace readiness gate: `../catalyst-basics/references/preflight.md`. It resolves and reconciles the org/project so `CatalystbyZoho_List_All_Segments` targets the right project.
1. **Get Segment ID** — Use MCP (`CatalystbyZoho_List_All_Segments`) if available; otherwise retrieve it from the console or `.catalystrc`.
2. **Load `references/cache-basics.md`** — for SDK operations, TTL limits (48 hr max), and the `segment.delete()` / `segment.update()` gotchas.
3. **String values only** — All cache values are strings. Always `JSON.stringify` before `put` and `JSON.parse` after `get`.
4. **TTL behavior** — `segment.update(key, value)` **without** an expiry argument resets the TTL to 48 hours (the max), *not* the key's original TTL. Always pass the TTL explicitly (in hours) to preserve it: `segment.update(key, value, ttlHours)`. `segment.delete()` returns `null` (not an error) if the key is missing.
## Triggers
Use this skill for: "Cache", "cache segment", "cache key", "cache value", "TTL", "in-memory store", `segment.get`, `segment.put`, `segment.delete`, "session data", "temporary data Catalyst", "cache vs Data Store", or "48-hour cache".
## References
| Reference | Load when the query is about… |
|-----------|-------------------------------|
| `references/cache-basics.md` | SDK operations (get, put, delete, update), Segment ID, 48hr TTL max, string-

