Skip to content

feat(plugins): add Claude Code and Cursor plugin bundles (P1-02, P1-03) - #7

Merged
sbharatjoshi merged 1 commit into
mainfrom
feat/p1-02-03-claude-cursor-bundles
Nov 22, 2026
Merged

sbharatjoshi merged 1 commit into
mainfrom
feat/p1-02-03-claude-cursor-bundles

Conversation

@sbharatjoshi

Copy link
Copy Markdown
Member

Summary

Adds installable plugin bundles for Claude Code (P1-02) and Cursor (P1-03) to the public integrations repository:

  • plugins/claude-code/ (P1-02):
    • .claude-plugin/plugin.json and .claude-plugin/marketplace.json for local /plugin marketplace add ./plugins/claude-code and /plugin install ebbmem@ebbmem-local.
    • .mcp.json configuring remote Streamable HTTP /mcp/core with header-only authentication (Authorization: Bearer ${EBBMEM_API_KEY}, X-Ebb-Namespace).
    • skills/ebbmem-memory/SKILL.md copied from instructions/claude-code/SKILL.md.
    • hooks/hooks.json and cross-platform Python 3 stdlib-only hooks/ebbmem_hook.py (zero telemetry, URL credential rejection, SessionStart read-only recall framed in <ebbmem_untrusted_memory_context>, Stop stop_hook_active loop guard, secret-redacted episodic capture with deterministic SHA-256 idempotency_key, selective reinforcement of only actually-used recalled memories with injected OFF by default, fail-open).
    • tests/test_ebbmem_hook.py unit & mock-MCP HTTP/SSE integration tests.
  • plugins/cursor/ (P1-03):
    • .cursor-plugin/plugin.json and .cursor-plugin/marketplace.json plugin package manifests.
    • .mcp.json configuring remote Streamable HTTP /mcp/core with header-only authentication (X-API-Key, X-Ebb-Namespace).
    • rules/ebbmem.mdc copied from instructions/cursor/ebbmem.mdc and skills/ebbmem-memory/SKILL.md copied from instructions/SKILL.md.
    • README.md with OAuth 2.1 and API-key cursor://anysphere.cursor-deeplink/mcp/install deeplinks.

Nothing published or submitted. Placeholder URLs (https://ebbmem.example.com) are used throughout and marked untested live pending a reachable public HTTPS deployment. No Claude or Cursor marketplace submission was performed.

Acceptance & Test Summary

  • JSON Schema Validation (jsonschema):
    • plugins/claude-code/.claude-plugin/plugin.json against https://json.schemastore.org/claude-code-plugin-manifest.json: PASS.
    • plugins/claude-code/.claude-plugin/marketplace.json against https://json.schemastore.org/claude-code-marketplace.json: PASS.
    • plugins/claude-code/hooks/hooks.json against https://json.schemastore.org/claude-code-settings.json#/properties/hooks: PASS.
    • plugins/claude-code/.mcp.json against https://json.schemastore.org/claude-code-plugin-manifest.json#/properties/mcpServers: PASS.
    • plugins/cursor/.cursor-plugin/plugin.json against https://cursor.com/schemas/cursor-plugin/plugin.json: PASS.
    • plugins/cursor/.cursor-plugin/marketplace.json against https://cursor.com/schemas/cursor-plugin/marketplace.json: PASS.
    • plugins/cursor/.mcp.json: JSON parsed cleanly.
  • Lint & Format: ruff check plugins/claude-code (All checks passed!) and ruff format --check plugins/claude-code (4 files already formatted).
  • Tests: pytest -v plugins/claude-code/tests conformance/tests/test_public_compliance.py: 7 passed, 0 failed (5 hook tests + 2 public compliance tests).

Architecture Review Note

  • Cleanly scoped PR off fresh origin/main (8b7aaf43) adding plugins/claude-code/ and plugins/cursor/ (14 files, max 495 lines) with DCO sign-off and zero edits outside owned plugin paths.
  • Schema validation passed with 0 errors across all manifests: Claude Code plugin.json, marketplace.json, hooks.json (against claude-code-settings.json), and .mcp.json (SchemaStore), plus Cursor plugin.json and marketplace.json (official cursor/plugins Draft-07 schemas at raw.githubusercontent.com/cursor/plugins/main/schemas/).
  • plugins/claude-code/hooks/ebbmem_hook.py is cross-platform Python 3 stdlib-only with zero telemetry, rejects URL query/userinfo credentials, frames SessionStart read-only recall in <ebbmem_untrusted_memory_context>, guards against stop_hook_active loops, redacts secrets before episodic capture with deterministic SHA-256 idempotency_key, reinforces only referenced memories (injected OFF), and fails open (ruff check, ruff format --check, and pytest 7/7 passed).
  • Cursor bundle packages .cursor-plugin/{plugin,marketplace}.json, .mcp.json, rules/ebbmem.mdc, skill, and OAuth/API-key deeplinks; placeholder URLs (https://ebbmem.example.com) are clearly marked untested live, public compliance passes (2/2), and nothing was submitted or published.

Signed-off-by: Bharat Joshi <200157101+sbharatjoshi@users.noreply.github.com>
@sbharatjoshi
sbharatjoshi merged commit 8324154 into main Nov 22, 2026
2 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