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
- Reads all skill files from the
base44/agent-skills/directory - Validates skill files
- Displays the count of skills to be pushed
- Asks for confirmation before replacing remote skills (unless
-y/--yesis passed) - Uploads skills to the Base44 backend
- 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:--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
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:Agent Skill File Format
Each skill is a single Markdown file inbase44/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
- Valid:
- The file name (minus
.md) is the skill’sname— there is no separatenamefield 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
.mdin thebase44/agent-skills/directory - The directory location is configurable via
agentSkillsDirinconfig.jsonc - Changes are applied to your Base44 project immediately
- Use
base44 agent-skills pullto download skills from Base44 - Agent skills are also pushed as part of
base44 deploy