richfrem/agent-plugins-skills / plugins/agent-extension-authoring/.apm/skills/packaging-with-apm
packaging-with-apm
FlaggedPackages, installs and distributes agent extensions with APM (Agent Package Manager). Use when the user wants to create a new APM package, convert or migrate an existing plugin to APM and check it installs cleanly, compile a package into AGENTS.md, CLAUDE.md or GEMINI.md, install, update, pin or roll back packages globally or per project, or create a plugin marketplace catalog (marketplace.json). Not for authoring a single skill, plugin, sub-agent or rule (use the authoring-* skills).
references/modes/manage-marketplace.md
View on GitHub# Marketplace Manager (`manage-marketplace`)
Guidelines for authoring, validating, and distributing plugin marketplace catalogs.
## Contents
- [Constraints](#constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [Distribution Commands](#distribution-commands)
- [References](#references)
## Constraints
- **Strict invariant**: Set `"strict": true` when plugin has its own `.claude-plugin/plugin.json`.
- **Kebab-case naming**: Catalog name must be kebab-case; reserved names: `claude-code-marketplace`, `anthropic-plugins`.
- **Clean manifests**: Never declare auto-discovered `skills`, `agents`, or `hooks` arrays in `plugin.json`.
- **Author format**: Author must be an object `{"name": "...", "email": "..."}`.
## Quick start
```bash
# Audit marketplace source paths from repo root
python3 scripts/audit_marketplace_sources.py .
```
## Workflow
1. **Scaffold Catalog**: Create `.claude-plugin/marketplace.json` at repository root with name and owner object.
2. **Register Plugins**: Add entries using relative paths (`./plugins/<name>`) with `"strict": true`.
3. **Verify Schemas**: Audit source path references and manifest conformance.
4. **Distribute**: Publish catalog or configure team distribution channels.
## Verification
```bash
# Validate marketplace catalog schema
python3 scripts/audit_marketplace_sources.py .
# Verify JSON syntax
python3 -c "import json; json.load(open('.claude-plugin/marketplace.json'))"
```
## Distribution Commands
- **Add Marketplace**: `/plugin marketplace add owner/repo`
- **Install Plugin**: `/plugin install <plugin>@<marketplace> --scope [user|project|local]`
- **Update Catalog**: `/plugin marketplace update <name>`
- **Reload Plugins**: `/reload-plugins`
## References
- [marketplace.md](../marketplace.md) — Comprehensive marketplace catalog guide.
- [marketplace-schema.md](../marketplace-schema.md) — Structure definition and field types.
- [acceptance-criteria.md](../acceptance-criteria.md) — Acceptance criteria for marketplace management.
- [fallback-tree.md](../fallback-tree.md) — Fallback resolution for catalog issues.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |