Skip to main content
This page is part of an AI coding agent skill and is written for agents, not humans. For the human-readable Base44 docs, see the developer documentation.

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

Options

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:
In non-interactive mode (--json, CI/CD, no TTY), you must pass -y/--yes or the command throws:

Output

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:
If a skill file has an invalid name or missing content:

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:
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