base44-cli
БесплатноБез исполняемых скриптовНе проверенThe base44 CLI is used for EVERYTHING related to base44 projects: resource configuration (entities, backend functions, realtime actors, ai agents)…
от base44★ 96 звёзд на GitHubОб этом скилле
Base44 CLI
Create and manage Base44 apps (projects) using the Base44 CLI tool.
⚡ IMMEDIATE ACTION REQUIRED - Read This First
This skill activates on ANY mention of "base44" or when a base44/ folder exists. DO NOT read documentation files or search the web before acting.
Your first action MUST be:
- Check if
base44/config.jsoncexists in the current directory - If YES (existing project scenario):
- Transfer to base44-sdk skill for implementation
- This skill only handles CLI commands (login, deploy, entities push)
- Except running the app locally — stays here. Read Running Local Development before starting a dev server: one way of running hits production data.
- If NO, decide between two initialization paths:
- Provisioned app — the Base44 app already exists because it was just provisioned through a Stripe Projects / projects.dev flow, OR
BASE44_APP_ID(orBASE44_PROJECTS_BASE44_APP_ID) is present in the environment or a.env/.env.localfile:- Run
npx base44 scaffoldto set up local files for that existing app - DO NOT run
npx base44 create— that creates a second, duplicate app. See scaffold.md.
- Run
- New project — no app exists yet and none was provisioned:
- This skill (base44-cli) handles the request; guide the user through
npx base44 create - Do NOT activate base44-sdk yet
- This skill (base44-cli) handles the request; guide the user through
- Provisioned app — the Base44 app already exists because it was just provisioned through a Stripe Projects / projects.dev flow, OR
Critical: Local Installation Only
NEVER call base44 directly. The CLI is installed locally as a dev dependency and must be accessed via a package manager:
npx base44 <command>(npm - recommended)yarn base44 <command>(yarn)pnpm base44 <command>(pnpm)
WRONG: base44 login
RIGHT: npx base44 login
MANDATORY: Authentication Check at Session Start
CRITICAL: At the very start of every AI session when this skill is activated, you MUST:
Check authentication status by running:
npx base44 whoamiIf the user is logged in (command succeeds and shows an email):
- Continue with the requested task
If the user is NOT logged in (command fails or shows an error):
- STOP immediately
- DO NOT proceed with any CLI operations
- Ask the user to login manually by running:
npx base44 login
- Wait for the user to confirm they have logged in before continuing
This check is mandatory and must happen before executing any other Base44 CLI commands.
Provisioned via Stripe Projects / projects.dev? When the app was provisioned through that flow, the CLI seeds authentication from the BASE44_ACCESS_TOKEN / BASE44_REFRESH_TOKEN environment variables it injects (the BASE44_PROJECTS_*-prefixed names are normalized automatically). In that case npx base44 whoami already succeeds and you do not need an interactive npx base44 login.
Workspace API key set? If the BASE44_API_KEY environment variable is set to a workspace API key (prefixed b44k_), the CLI authenticates with it directly — npx base44 whoami and other commands succeed without an interactive login.
Overview
The Base44 CLI provides command-line tools for authentication, creating projects, managing entities, and deploying Base44 applications. It is framework-agnostic and works with popular frontend frameworks like Vite, Next.js, and Create React App, Svelte, Vue, and more.
When to Use This Skill vs base44-sdk
Use base44-cli when:
- Creating a NEW Base44 project from scratch
- Initializing a project in an empty directory
- Setting up local files for an existing app that was provisioned externally (e.g., through a Stripe Projects / projects.dev flow) → use
scaffold - Directory is missing
base44/config.jsonc - User mentions: "create a new project", "initialize project", "setup a project", "start a new Base44 app"
- Deploying, pushing entities, or authenticating via CLI
- Working with CLI commands (
npx base44 ...)
Use base44-sdk when:
- Building features in an EXISTING Base44 project
base44/config.jsoncalready exists- Writing JavaScript/TypeScript code using Base44 SDK
- Implementing functionality, components, or features
- User mentions: "implement", "build a feature", "add functionality", "write code"
Skill Dependencies:
base44-cliis a prerequisite forbase44-sdkin new projects- If user wants to "create an app" and no Base44 project exists, use
base44-clifirst base44-sdkassumes a Base44 project is already initialized
State Check Logic: Before selecting a skill, check:
- IF (user mentions "create/build app" OR "make a project"):
- IF (
base44/config.jsoncexists): → Use base44-sdk (project exists, build features) - ELSE IF (app was provisioned externally —
BASE44_APP_ID/BASE44_PROJECTS_BASE44_APP_IDset, or a Stripe Projects / projects.dev flow just ran): → Use base44-cli →npx base44 scaffold(set up
- IF (
Установить base44-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл base44-cli?
The base44 CLI is used for EVERYTHING related to base44 projects: resource configuration (entities, backend functions, realtime actors, ai agents), initialization and actions (resource creation, deployment), and any other operation on an existing app or workspace through the Base44 public API (settings, domains, users, members, source export). This skill is the place for learning about how to configure resources, including actors — the realtime/WebSocket primitive behind multiplayer, collaborative boards, presence and live cursors, in-room chat, and live auctions. When you plan or implement a feature, you must learn this skill
Как установить скилл base44-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл base44-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic