← Cloud Chaac

Knowledge packages that teach AI agents how to build and deploy on Tawa. Install as Claude Code rules or use as Cloud Chaac system prompts.

All SkillsDeployProvisionConfigureTroubleshootPlatform

Agile Workflow — Issues, PRs, Autonomous Merge, Releases, Villages

Rule

The unified development process for every Tawa repo. If your Claude Code session loads `tawa-docs/.claude/rules/tawa-agile-workflow.md`, it will follow this…

platform~2,186 tokens

Analytics — Matomo Auto-Provisioning

Rule

The platform runs a Matomo instance at `engage.insureco.io`. Declare one line in your catalog and the builder provisions a per-environment Matomo site and…

platform~1,106 tokens

Artifact Promotion

Rule

Tawa uses artifact promotion to move builds through environments without rebuilding. Build once in sandbox, promote the same image to UAT, then to production.

deploy~909 tokens

Audit Trail on Tawa

Rule

import { Septor } from '@insureco/septor'

configure~1,418 tokens

Authentication on Tawa

Rule

Without this, `BIO_CLIENT_ID` and `BIO_CLIENT_SECRET` are never injected. Your service cannot log users in.

provision~3,265 tokens

Authorized Orgs — Multi-Org Service Collaboration

Rule

How to let devs from a **second organization** help build and release a service that a **primary org** owns — without moving them into the owning org.

deploy~1,430 tokens

Build & Deploy Pipeline

Rule

The iec-builder executes a fixed, ordered pipeline for every `tawa deploy`. Understanding each step — what it does, when it fails hard vs. fails open, and what…

deploy~8,838 tokens

Builder Logs — Redaction, Rotation & Admin API

Rule

The iec-builder runs under PM2 on the builder host and writes structured pino logs to `~/.pm2/logs/iec-builder-out.log` and `-error.log`. Because pino-http…

deploy~1,023 tokens

Building a Tawa PlugIN

Rule

tawa init my-plugin # full scaffold tawa sample --api my-plugin # alternative ```

provision~745 tokens

catalog-info.yaml

Rule

The single source of truth for how the builder deploys your service. Every deploy reads this file. The builder generates Dockerfiles, provisions databases,…

deploy~7,643 tokens

Custom Domains

Rule

Every service gets a platform hostname automatically on deploy (`{service}.tawa.pro`, `{service}.sandbox.tawa.pro`, `{service}.uat.tawa.pro`). To put your own…

configure~1,133 tokens

Custom Domains

Command

How DNS works on Tawa and how to add custom domains to your service.

configure~813 tokens

Database Backups on Tawa

Rule

Every MongoDB database on the platform is backed up automatically every night, and you can take an on-demand backup of your own service's database any time.…

provision~1,481 tokens

Databases on Tawa

Rule

Declare databases in `catalog-info.yaml`. The builder provisions connection strings and injects them as environment variables. Your code reads from…

provision~1,245 tokens

Deploy Anti-Patterns

Rule

What you must NEVER do when deploying on Tawa, and the correct alternatives.

deploy~646 tokens

Gas & Wallet Economics

Rule

How token economics work on Tawa — pod pricing, the deploy gate, gas metering, and wallet management.

provision~935 tokens

Job Queues on Tawa

Rule

Declare queues in `catalog-info.yaml`. iec-queue POSTs jobs to your endpoint. Return `2xx` = complete. Non-2xx = retry.

configure~1,195 tokens

Koko Data Access — Quickstart

Rule

Platform databases (MongoDB, Redis, Neo4j) run inside the Kubernetes cluster and are not reachable from localhost. The `koko` CLI proxies all operations…

provision~1,619 tokens

Local Development with `tawa dev`

Rule

`tawa dev` reads your `catalog-info.yaml`, generates all platform environment variables, and either connects to real databases via SSH tunnels (online mode) or…

platform~1,246 tokens

MCP Authentication & Bio-ID Identity

Rule

JCI-MCP uses Bio-ID as its authorization server. All identity — `bioId`, `orgSlug`, and `roles` — flows from a Bio-ID JWT. That JWT drives which JCI role a…

provision~2,358 tokens

Next.js on Tawa

Rule

Next.js frontend services deployed on Tawa have a critical constraint: **environment variables injected by the platform are only available at runtime, not at…

deploy~1,507 tokens

Object Storage on Tawa

Rule

Declare a bucket in `catalog-info.yaml` (catalog `0.3.0`+). The builder provisions a MinIO bucket with a hard quota, and credentials are injected into your pod…

provision~2,236 tokens

Passport — Enriched Identity, Branding & Permissions

Rule

A Passport is a self-contained identity object that travels with a user across every Tawa service. It carries identity, org branding, and permissions — all…

provision~2,313 tokens

Passport & Branding

Rule

interface VaultBranding { // Self-serve (Claimed tier) displayName: string // shown on all surfaces — REQUIRED on first write tagline?: string // "Colorado's…

provision~2,525 tokens

Querying Org Members and User Access

Rule

Three patterns — pick the one that fits your use case:

configure~1,371 tokens

Scaffold Service

Command

How to scaffold a new service on Tawa using `tawa sample` templates.

platform~785 tokens

Scheduled Jobs on Tawa

Rule

Declare schedules in `catalog-info.yaml`. iec-cron POSTs to your endpoint on schedule. Return 200 immediately — do slow work asynchronously.

configure~969 tokens

Sending Email and SMS

Rule

import { RelayClient } from '@insureco/relay'

configure~1,967 tokens

Sending Physical Mail

Rule

Renders a letter template to a PDF through docman and mails it through [Lob](https://lob.com). Delivery status arrives by webhook and is tracked per mailing.

platform~1,933 tokens

Service-to-Service Communication

Rule

All inter-service calls on the Tawa platform go through **Janus**. Direct pod-to-pod calls are blocked by NetworkPolicy. This gives the platform a single point…

provision~2,179 tokens

Skills Registry — how a rule or command reaches a dev's machine

Rule

`tawa skills sync` pulls Claude Code rules and slash-commands onto every dev's machine. This is where that content comes from, and how to change it.

platform~896 tokens

Tawa Auth — Next.js Bio-ID Integration

Command

The complete Bio-ID OAuth implementation for Next.js services on Tawa. Use this when building or debugging login flows.

provision~1,584 tokens

Tawa Platform

Rule

The architecture of the Tawa platform — what services exist, how they connect, and the URLs you need.

platform~827 tokens

Tawa PM — Project Planning with Forgejo

Command

Plan and execute work using Forgejo as the source of truth. No local markdown files to overwrite — everything lives in the repo's milestones and issues.

platform~4,039 tokens

Troubleshoot Deploy

Command

Step-by-step diagnosis of Tawa deployment failures. Always check the build log first — it contains the most useful information.

troubleshoot~879 tokens

Uptime Monitoring — iec-pulse

Rule

Every `tawa deploy` automatically registers an uptime monitor via iec-pulse. No configuration needed — the builder reads your service URL and health endpoint…

troubleshoot~893 tokens

Vault Branding — Org Identity on Every Surface

Rule

Every vault entity has a `profile.branding` record — the single source of truth for how an org appears across all Tawa surfaces. The Passport reads it at mint…

provision~826 tokens

Workflow Pattern — cron + queue + Janus

Rule

iec-cron → POST /internal/cron/{trigger} Your service: fetch pending items, fan out jobs → POST {IEC_QUEUE_URL}/jobs (one per item) iec-queue → POST…

configure~612 tokens

Showing 38 of 38 skills