Index of every page on this site: llms.txt
All skills
base44 avatar

/base44-cli

@5bb6707
by base44base44/skills94 stars
21
Run it yourself

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

Use this Skill: https://skilld.dev/gh/base44/skills/base44-cli

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesagent-skills-push.md

≈1.1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

base44 agent-skills push

Push local agent skills to Base44. Agent skills are reusable instructions that extend what your app's AI agents know how to do.

Syntax

npx base44 agent-skills push [options]

Options

Option Description Required
-y, --yes Skip confirmation prompt No

Authentication

Required: Yes. If not authenticated, you'll be prompted to login first.

What It Does

  1. Reads all skill files from the base44/agent-skills/ directory
  2. Validates skill files
  3. Displays the count of skills to be pushed
  4. Asks for confirmation before replacing remote skills (unless -y/--yes is passed)
  5. Uploads skills to the Base44 backend
  6. Reports the results: created, updated, and deleted skills

Prerequisites

  • Must be run from a Base44 project directory
  • Project must have skill definitions in the base44/agent-skills/ folder

Confirmation Prompt

This is a destructive, full-sync push: any remote skill not present locally is deleted. Before pushing, the CLI warns you and asks for confirmation:

$ npx base44 agent-skills push

Found 2 agent skills to push
⚠ This will replace all remote agent skills with your local skills and delete any not present locally.
? Are you sure you want to continue? › Yes

In non-interactive mode (--json, CI/CD, no TTY), you must pass -y/--yes or the command throws:

npx base44 agent-skills push --yes

Output

$ npx base44 agent-skills push --yes

Found 2 agent skills to push
Pushing agent skills to Base44...

Created: pdf-export
Updated: order-lookup
Deleted: old-skill

✓ Agent skills pushed to Base44

Agent Skill Synchronization

The push operation synchronizes your local agent skills with Base44:

  • Created: New skills that didn't exist in Base44
  • Updated: Existing skills with modified description or body
  • Deleted: Skills that were removed from your local base44/agent-skills/ folder

Warning: This is a full sync operation. Skills removed locally are deleted from Base44 on the next push. Exception: if you have no local skill files, the push is a no-op — a safety guard stops an empty local set from wiping all remote skills.

Error Handling

If no local skill files are found, the push is a safe no-op — the guard leaves remote skills untouched, despite the warning line the CLI prints:

$ npx base44 agent-skills push
No local agent skills found - this will delete all remote skills

If a skill file has an invalid name or missing content:

Error: Invalid skill file

Agent Skill File Format

Each skill is a single Markdown file in base44/agent-skills/, named {skill-name}.md, with a YAML frontmatter block followed by the skill body:

---
description: Export the current report as a PDF and attach it to the conversation.
---

Use this skill when the user asks to export, download, or share a report as a PDF.

1. Call the `generate_report_pdf` function with the current report's entity ID.
2. Attach the returned file URL in your reply.
Field Location Required Description
name File name (without .md) Required Lowercase, hyphenated, 1-64 chars — pattern /^[a-z0-9]+(-[a-z0-9]+)*$/
description Frontmatter description Required 1-1024 chars. Shown to the agent to decide when to use the skill
body Markdown content after the frontmatter Required 1-15000 chars. The actual instructions the agent follows

Naming rules:

  • Skill names must match pattern: /^[a-z0-9]+(-[a-z0-9]+)*$/ (lowercase alphanumeric, hyphen-separated)
    • Valid: pdf-export, order-lookup, send-invoice
    • Invalid: PdfExport, pdf_export, PDF-Export
  • The file name (minus .md) is the skill's name — there is no separate name field in the frontmatter

Use Cases

  • After defining new agent skills in your project
  • When modifying existing skill instructions
  • To sync skill changes before testing agent behavior
  • As part of your development workflow when agent capabilities change

Notes

  • Skill files are stored as .md in the base44/agent-skills/ directory
  • The directory location is configurable via agentSkillsDir in config.jsonc
  • Changes are applied to your Base44 project immediately
  • Use base44 agent-skills pull to download skills from Base44
  • Agent skills are also pushed as part of base44 deploy

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning20d5 checks · Risk SAFE
  • Gen Agent Trust Hub21d

    The skill provides a comprehensive interface for managing Base44 projects using the base44 CLI tool. It includes detailed instructions for project initialization, resource configuration (entities, functions, actors, agents, connectors), authentication, and deployment. All identified behaviors are consistent with the tool's intended role as a developer utility and utilize vendor-controlled resources.

  • Socket20d

    No alerts

  • Snyk21d

    Risk: LOW · No issues

  • Runlayer8mo

    5/27 files flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 5bb6707. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 3 weeks ago
metadata
{
  "sourcePackage": {
    "name": "base44",
    "version": "0.1.7"
  }
}
  • CLI
  • TypeScript
  • base44
  • project-management
  • deployment
  • entities
  • authentication
  • backend-functions
  • nodejs

README badge

README badge for base44/skills/base44-cli

Manage Base44 projects using the Base44 CLI tool via npm (npx base44). Covers project creation, authentication, entity schema configuration, deployment, and resource management for Base44 apps that combine frontend code with a base44/ configuration directory.

Generated from the current SKILL.md.

Should I use base44-cli or base44-sdk for my task?
Use base44-cli if you are creating a new project, initializing a project, deploying, or running CLI commands like `npx base44 login`. Use base44-sdk if you already have a `base44/config.jsonc` file and are building features or writing code in an existing project.
Do I need to install base44 globally or can I use npx?
Install base44 as a dev dependency (`npm install --save-dev base44`) and access it via `npx base44 <command>`. Never call `base44` directly or install it globally.
What should I do if I have an existing Base44 app that was provisioned externally?
Run `npx base44 scaffold` to set up local files for that existing app. Do not run `npx base44 create`, which would create a duplicate app.
What is the mandatory authentication check I need to perform?
At the start of each session, run `npx base44 whoami` to check if you are authenticated. If the command fails, run `npx base44 login` and wait for confirmation before proceeding with other CLI operations.
What goes in base44/config.jsonc?
The project name (required), description, directory paths for entities, functions, agents, and connectors, and optional site configuration including build command, install command, serve command, and output directory.

Generated from the current SKILL.md. These answers refresh after source changes.