---
name: public-plugin-packaging
description: "Use when packaging this meta-agent for public Codex plugin registration, Claude Code installation, GitHub release, one-line terminal install, or open-source distribution."
---

# Public Plugin Packaging

## Checklist

- `codex/marketplace.json` exists.
- Codex plugin has `.codex-plugin/plugin.json`.
- Codex plugin includes at least one `SKILL.md`.
- Codex plugin includes `commands/<slug>.md` for the package command.
- `.claude/commands/meta-agent.md` exists.
- `.claude/commands/<slug>.md` exists for the package command.
- `.claude/agents/agentlas-core-engine-meta-agent.md` exists.
- `.claude/skills/agentlas-core-engine-meta-agent/SKILL.md` exists.
- `.gemini/commands/<slug>.toml` exists for Gemini CLI custom commands.
- `.agentlas/global-commands.json` exists and final handoff includes
  `global_commands`.
- `scripts/install.sh` supports one-line installation.
- Resolve `ENGINE` using `/hep-build` Step 0 and set `PACKAGE_ROOT` to the
  generated repository.
- `bash "$ENGINE/scripts/verify-generated-package.sh" "$PACKAGE_ROOT"` passes.
- `bash "$ENGINE/scripts/verify-team-package.sh" "$PACKAGE_ROOT"` passes.
- `(cd "$PACKAGE_ROOT" && bash "$ENGINE/scripts/public_safety_check.sh")` passes.

## Public Boundary

Publish schemas, templates, prompts, and adapters. Do not publish hosted service
secrets, private research notes, raw logs, or local machine paths.
