Skip to content

Add Claude Code marketplace install flow - #977

Merged
wayyoungboy merged 6 commits into
oceanbase:mainfrom
wayyoungboy:claude-marketplace-test-20260606224153
Jun 7, 2026
Merged

Add Claude Code marketplace install flow#977
wayyoungboy merged 6 commits into
oceanbase:mainfrom
wayyoungboy:claude-marketplace-test-20260606224153

Conversation

@wayyoungboy

@wayyoungboy wayyoungboy commented Jun 6, 2026

Copy link
Copy Markdown
Member

Summary

  • Add a root Claude Code marketplace manifest for installing memory-powermem from the repository.
  • Include prebuilt hook binaries so marketplace installs work without requiring a local Go toolchain.
  • Add installed-plugin lifecycle scripts and skills for init, status, stop, and reset.
  • Document the marketplace install flow and clarify that /memory-powermem:init installs the Python backend from PyPI by default.

How to install from Claude Code marketplace

After this marketplace entry is available from the official repository, users can install and initialize PowerMem directly in Claude Code:

/plugin marketplace add oceanbase/powermem
/plugin install memory-powermem@powermem
/reload-plugins
/memory-powermem:init

Then verify the installed backend state:

/memory-powermem:status

To uninstall the plugin connector:

/plugin uninstall memory-powermem@powermem
/plugin marketplace remove powermem
/reload-plugins

If the plugin-managed backend should be stopped before uninstalling:

/memory-powermem:stop

How to test this PR branch

For testing before merge, add the marketplace from this branch and then install the plugin:

/plugin marketplace add wayyoungboy/powermem@claude-marketplace-test-20260606224153
/plugin install memory-powermem@powermem
/reload-plugins
/memory-powermem:init

The marketplace install only installs the Claude Code plugin connector. The init step creates a plugin-local venv and installs the Python backend with:

pip install powermem

If the plugin change depends on backend code that has not been published to PyPI yet, run init with POWERMEM_INIT_PACKAGE pointing at the branch or commit to test:

POWERMEM_INIT_PACKAGE='powermem @ git+https://github.com/oceanbase/powermem.git@<branch-or-sha>' \
  sh "$CLAUDE_PLUGIN_ROOT/scripts/init.sh"

Notes

  • The plugin init flow still supports POWERMEM_INIT_PACKAGE for testing unpublished backend changes.
  • The PyPI package used by the default init path must include the local embedding backend dependencies required by the plugin.
  • /reload-plugins is required after install or update so Claude Code loads newly installed skills such as /memory-powermem:init, /memory-powermem:status, /memory-powermem:stop, and /memory-powermem:reset.

Validation

  • sh -n on plugin shell scripts
  • python3 -m json.tool on marketplace/plugin manifests
  • claude plugin validate .
  • claude plugin validate apps/claude-code-plugin/.claude-plugin/plugin.json

@wayyoungboy
wayyoungboy merged commit 9cc6776 into oceanbase:main Jun 7, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant