Skip to content

AI & Agents

Agent Skills

An AI assistant that has read Corabase’s documentation writes better Corabase code than one guessing from the shape of the API. rebase skills install copies 24 Markdown skill files into your repository, in whatever layout your assistant expects:

rebase skills install

The skills are reference material, not tools. They tell an assistant how tables are declared, why migrations are two steps, and which mistakes the framework will not catch for it. For tools that act on your data, see the MCP server.

The same skills reach Claude over MCP. The Corabase connector and the local MCP server both serve all 24, and a client on protocol revision 2026-07-28 or later loads one when it needs it. Claude Code names them <server>:rebase-tables and so on. Installing them into the repo, as below, is still what makes them reach every assistant, pinned to the release the project runs.

Your own app can serve skills to the people who use it, too: see the remote MCP endpoint.

A new project does not need the command. rebase init asks whether to set up your AI coding agents, then lists the ones it finds on the machine:

? Set up Corabase skills and the Corabase MCP server for your AI coding agent(s)? Yes
Detecting installed AI coding agents...
✓ Claude Code — ~/.claude
✓ Gemini CLI / Antigravity — ~/.gemini
✗ Cursor — ~/.cursor (not found)
✗ Windsurf — ~/.codeium/windsurf (not found)
✗ Codex CLI — ~/.codex (not found)
✗ Kiro — ~/.kiro (not found)
· GitHub Copilot — can't be detected; tick it below if you use it

The agents it found are pre-ticked. For each one you keep, it writes the skills and registers the MCP server in that agent’s project config, all before the project’s first commit. In CI, or with --yes, name them:

rebase init my-app --yes --agent claude,cursor

rebase init refuses a directory that already holds a project, so a project made before agent setup existed — or one whose author declined the prompt — gets the same setup from rebase skills install --mcp: the skills, and the MCP server registered in each agent’s project config. Servers already in the file are kept, and a rerun leaves the Corabase entry as it is.

rebase skills install --agent cursor --mcp

Without --mcp the command writes only the skills, and names the agents whose config does not have the server yet.

The command takes --agent (or -a), repeatable and comma-separated:

rebase skills install --agent claude
rebase skills install --agent claude,cursor
rebase skills install --agent all

Seven targets are supported — one for every pointer file rebase init writes:

--agent Assistant Written to
cursor Cursor .cursor/rules/rebase.mdc + .cursor/rules/<skill>/SKILL.md
claude Claude Code .claude/skills/<skill>/SKILL.md
windsurf Windsurf .windsurf/rules/rebase.md + .windsurf/rules/<skill>/SKILL.md
gemini Gemini CLI / Antigravity .agents/skills/<skill>/SKILL.md
codex Codex CLI .agents/skills/<skill>/SKILL.md
kiro Kiro .kiro/steering/rebase.md + .kiro/steering/<skill>/SKILL.md
copilot GitHub Copilot .github/instructions/rebase.instructions.md + <skill>/SKILL.md

gemini covers both Gemini CLI and Antigravity — they read the same .agents/ directory, so there is no separate antigravity value. Codex reads it too; naming both gemini and codex writes the directory once.

With no --agent, the command detects which assistants a project already uses by looking for .cursor/, .claude/skills/, .windsurf/, .agents/, .codex/ and .kiro/. If it finds none it prompts you to choose, with the assistants installed on the machine already ticked.

GitHub Copilot is never detected. Its directory would be .github/, and .github/ is not evidence anyone uses Copilot: rebase init writes .github/copilot-instructions.md into every scaffold, and most repositories have a .github/ for workflows. Install it with --agent copilot.

Skills are written relative to your project root — the nearest ancestor containing rebase.json — not to your home directory and not to the current working directory. Nothing is installed globally.

Commit them. They are part of the repo the same way a lint config is: every contributor’s assistant then works from the same understanding of the codebase, including contributors who never ran the command.

rebase upgrade updates them. The skills ship inside @rebasepro/cli, so after it installs the new release, rebase upgrade runs the new CLI’s rebase skills install for every assistant whose skills directory an install wrote, keeping files you edited. A project already on the release is refreshed too. A refresh that fails never fails the upgrade. Under --json the document’s skills says what happened: { agents, refreshed }, with a reason when it did not (dry_run, not_installed after --no-install, no_project_cli when the project does not install @rebasepro/cli itself, failed), or null with no skills installed.

If you moved the pins some other way (a dependency bot, a hand edit), run rebase upgrade anyway, or the install yourself:

rebase skills install

With no --agent it refreshes the assistants whose directories the project already has. Commands also end with a line when a newer Corabase is out, so an assistant working in the project learns about the release without being told.

Each target directory holds a .rebase-skills.json manifest of what the command wrote, so a re-run can tell an edit from an older release’s copy. Commit it with the skills.

  • A file nobody edited is replaced with the new release’s copy.
  • A file you edited is kept, and the command lists it. --force replaces it.
  • A skill a newer release no longer ships is removed, unless you edited it. Then it is kept and listed.
  • Files the command never wrote are not touched.

Project-specific guidance still belongs in ai-instructions.md, which is yours. An edited skill stops receiving updates until you --force it.

The command also works outside a Corabase project, falling back to the working directory — useful for a separate frontend repo that talks to a Corabase backend.

Skill Covers
rebase-basics Core principles, workflow and maintenance — the entry point the others assume
rebase-tables Authoring tables: columns, relations, rls, hooks, and the CMS layer on top (customizeTable)
rebase-backend-postgres The Postgres backend: setup, schema generation, migrations, pooling, read replicas
rebase-api The generated REST API — endpoints, filtering, sorting, pagination
rebase-sdk The generated TypeScript SDK: CRUD, filtering, search, auth, realtime, offline, storage
rebase-auth Authentication, roles, RLS policies, MFA, API keys, OAuth, custom adapters
rebase-security Access control, interception, fail-closed design, PII masking, tenant isolation
rebase-realtime The WebSocket engine: sync, broadcast channels, presence, table change broadcasts
rebase-storage S3/GCS/local storage, uploads, TUS resumable uploads, image transformations
rebase-custom-functions Custom API endpoints via file-based function discovery
rebase-cron-jobs Scheduling recurring background tasks
rebase-webhooks Outbound HTTP webhooks, HMAC signatures, retry and backoff
rebase-email SMTP, templates, custom providers, the rebase.email singleton
rebase-entity-history Entity versioning, change tracking, audit logs, reverting
rebase-admin Navigating the admin panel, side drawers, URLs, embedding collection panels
rebase-customize-admin Customizing the admin with React components — singletons, settings pages, bulk actions, view modes, custom fields, replacing built-in parts
rebase-custom-views Custom screens inside the admin — rebase generate view, top-level views, record tabs, field widgets
rebase-dashboards KPIs, charts and dashboards — numbers computed in SQL, drawn with @rebasepro/ui, placed in slots or a page
rebase-ui-components The @rebasepro/ui component library
rebase-design-language The UI design language: tokens, color, typography, spacing, anti-patterns
rebase-studio The Studio developer tools layer — SQL, RLS, storage, cron, schema visualizer, logs
rebase-cloud Deploying and operating on Corabase Cloud — projects, managed databases, env vars, domains, logs, rollbacks
rebase-deployment Self-hosting: Docker, Kubernetes, AWS, GCP, Azure, Hetzner, Railway and Render
rebase-local-env-setup First-time setup: Node.js, pnpm, PostgreSQL, Docker

Two of these ask to be read unprompted. rebase-basics says it should be used whenever an assistant touches Corabase at all, and rebase-design-language says an agent must read it before creating or modifying any visual UI — that one exists because generated UI drifts from a design system faster than anything else in a codebase.

Found 24 Corabase skills
✓ Claude Code — 24 skills installed (+ 8 reference files) to .claude/skills

Skills ship from the @rebasepro/agent-skills package, which the CLI depends on, so the set you get matches your installed CLI version.