GroundZero (g0) is the package manager for AI coding.
Save and sync rules, slash commands, agents, and more.
Build reusable formulas for use across multiple projects and AI coding platforms.
Learn more in the official documentation.
Looking to discover, download, or publish formulas?
Check out the official GroundZero formulas registry.
Note
For latest news and updates, follow the creator's X (Twitter) account @hyericlee or official @groundzero_ai
npm
npm install -g g0Reuse rules, slash commands, and more across multiple codebases.
# In current codebase
g0 save essentials
# In another codebase
g0 install essentialsAutomatically sync your rules, slash commands, and more across multiple platform.
# Current codebase has .cursor, .claude, .opencode directories
g0 save essentials .cursor/commands/essentials
# GroundZero CLI automatically generates/syncs the same command files across all platforms.
# Before save:
# .cursor/commands/essentials/clean-code.md
# After save:
# .cursor/commands/essentials/clean-code.md
# .claude/commands/essentials/clean-code.md
# .opencode/command/essentials/clean-code.mdCreate domain specific formulas for modular reuse.
# Create typescript formula
g0 add typescript .cursor/rules/typescript
g0 save typescript
# Create scalable-nextjs formula
g0 add scalable-nextjs .cursor/rules/nextjs
g0 save scalable-nextjs
# Create scalable-nestjs formula
g0 add scalable-nestjs .cursor/rules/nestjs
g0 save scalable-nestjs
# Create mongodb formula
g0 add mongodb .cursor/rules/mongodb
g0 save mongodb
# In your NextJS codebase
g0 install typescript
g0 install scalable-nextjs
# In your NestJS codebase
g0 install typescript
g0 install scalable-nestjs
g0 install mongodbTip
Formulas are essential to how GroundZero works. We highly recommend reading What are Formulas? to understand how formulas work.
g0 add <formula-name> <path-to-dir-or-file>Adds dirs or files to the formula.
g0 save <formula-name>Save the set of dirs and files as a formula for reuse and cross-platform sync.
g0 listUse the list command to show all formulas currently saved to the local registry.
g0 show <formula-name>The show command outputs the details of the formula and lists all included files.
g0 install <formula-name>Use the install command to add all files under the specified formula to the codebase at cwd.
g0 uninstall <formula-name>Use the uninstall command to remove all files for the specified formula from the codebase at cwd.
Tip
Learn more by heading over to the official docs.
GroundZero performs installation and platform sync of files for supported AI coding platforms outlined by the table below.
Files and paths will be automatically converted to platform specific designations during save and install.
Note
GroundZero only searches and includes markdown files under supported platform directories and the root ai/ directory.
| Platform | Directory | Root file | Rules | Commands | Agents | Skills |
|---|---|---|---|---|---|---|
| Augment Code | .augment/ | rules/ | commands/ | |||
| Claude Code | .claude/ | CLAUDE.md | commands/ | agents/ | skills/ | |
| Codex | .codex/ | AGENTS.md | prompts/ | |||
| Cursor | .cursor/ | AGENTS.md | rules/ | commands/ | ||
| Factory | .factory/ | AGENTS.md | commands/ | droids/ | ||
| Kilo Code | .kilocode/ | AGENTS.md | rules/ | workflows/ | ||
| Kiro | .kiro/ | steering/ | ||||
| OpenCode | .opencode/ | AGENTS.md | command/ | agent/ | ||
| Qwen Code | .qwen/ | QWEN.md | agents/ | |||
| Roo | .roo/ | AGENTS.md | commands/ | |||
| Warp | .warp/ | WARP.md | ||||
| Windsurf | .windsurf/ | rules/ |
We would love your help building the future of package management for AI coding.
Feel free to create PRs and Github issues for:
- Bugs
- Feature requests
- Support for new platforms
- Missing standard behavior
- Documentation