'use client' import { ExternalLink } from 'lucide-react' import { useTheme } from 'next-themes' import { useState } from 'react' import { CodeBlock } from 'ui-patterns/CodeBlock' import { ClientSelectDropdown } from 'ui-patterns/McpUrlBuilder' import { PLUGIN_CLIENTS, type PluginClient } from './AgentPluginsPanel.data' function PluginInstructions({ client }: { client: PluginClient }) { if (client.key === 'claude-code') { return (

Install the Supabase plugin from the{' '} official Anthropic marketplace

After installing, run /reload-plugins inside Claude Code to activate the plugin.

Installs with --scope user by default, making it available across all your projects. Use --scope project to track it in source control — useful for teams where all contributors and cloud agents should follow the same Supabase guidance.

) } if (client.key === 'codex') { return (

Desktop app

Install the Supabase plugin directly from the{' '} Codex desktop app plugin directory .

CLI

Open the Codex CLI by running

Inside Codex, type:

Search for Supabase and select Install plugin.

) } if (client.key === 'cursor') { return (

In the Cursor desktop or web app, type the following in the chat to install the{' '} Supabase {' '} plugin from the Cursor plugin marketplace

) } if (client.key === 'gemini-cli') { return (

Install the official Supabase extension for Gemini CLI by running the following command in your terminal.

You can also find the extension in the{' '} Gemini CLI extensions directory .

) } if (client.key === 'kimi') { return (

Open Kimi Code by running

Then install the Supabase plugin from within the session:

Confirm the trust prompt to install. Kimi adds the plugin to its native plugin store. Run{' '} /plugins at any time to view or reload installed plugins.

) } if (client.key === 'grok') { return (

Install the Supabase plugin by running the following command in your terminal.

Browse and install plugins in a session: run grok, then /plugins{' '} or /marketplace.

) } if (client.key === 'omp') { return (

omp reads the Claude Code plugin format, so install the Supabase plugin from the{' '} official Anthropic marketplace :

Installs with --scope user by default, making it available across all your projects. Use --scope project to install it for the current project only.

Inside a session, run /marketplace to browse plugins, then{' '} /reload-plugins after installing to load the skills and MCP server.

) } if (client.key === 'vscode') { return (

Open the Command Palette (Cmd/Ctrl+Shift+P) and run{' '} Chat: Install Plugin From Source, then paste the Supabase plugin repository URL:

VS Code auto-detects the vendor-neutral{' '} Open Plugin {' '} manifest in the repo. Review the trust prompt to finish installing.

) } if (client.key === 'github-copilot') { return (

From GitHub

Install the Supabase plugin directly from the{' '} GitHub repository .

) } return null } export function AgentPluginsPanel() { const [selectedClientKey, setSelectedClientKey] = useState(PLUGIN_CLIENTS[0].key) const { resolvedTheme } = useTheme() const theme = (resolvedTheme as 'light' | 'dark') ?? 'light' const selectedClient = PLUGIN_CLIENTS.find((c) => c.key === selectedClientKey) ?? PLUGIN_CLIENTS[0] return (
{selectedClient.docsUrl && (
Need help? {selectedClient.docsLinkText ?? `View ${selectedClient.label} extensions docs`}
)} {selectedClient.repoUrl && ( Give feedback )}
) }