docs/developer/sharing-and-safety.md
This guide helps contributors decide what to share, where to share it, and what must stay private.
Use the main agent-zero contribution flow when the change directly improves the framework itself, for example:
webui/, helpers/, api/, tools/, extensions/, or docs/If yes:
agent0ai/agent-zero publicly.upstream to your local clone.upstream/main (or the currently used upstream target branch).See ../guides/contribution.md for the detailed workflow.
Use a dedicated public plugin repository when the work is a standalone plugin that users can install independently.
Typical signals:
usr/plugins/<plugin_name>/plugin.yamlIf yes:
plugin.yaml, README.md, and LICENSE.usr/plugins/.index.yaml entry to agent0ai/a0-plugins.See plugins.md for the Plugin Index rules and packaging details.
Use the skills workflow when the work is mainly procedural knowledge in SKILL.md form.
Typical signals:
usr/skills/ during developmentIf yes:
usr/skills/.skills/ for an Agent Zero contribution, or publish it in a dedicated public repository/collection.See contributing-skills.md for the authoring standard.
Keep the work out of public forks and upstream PRs when it includes any of the following:
.env files, or customer secretsIf yes, keep it in a private repository, in usr/, or outside the public contribution path entirely.
development if active comparable PRs target main.GitHub lets you allow maintainers to edit a branch on your fork.
If the fork branch contains GitHub Actions workflows, GitHub may show "Allow edits and access to secrets by maintainers". Treat this carefully:
.env.venv/.vscode/settings.jsonFor teams or maintainers juggling both private R&D and public contributions, this split keeps things sane:
Private workspace or backup repository
Clean fix-only clone for upstream-facing work
Public fork used only for PR head branches