Skip to content

Fix marketplace.json: "source": "." should be "./" #1

@warrenth

Description

@warrenth

Bug

claude plugin marketplace add warrenth/ctxcraft fails with:

Failed to parse marketplace file at marketplace.json:
Invalid schema: plugins.0.source: Invalid input

Cause

In .claude-plugin/marketplace.json, the source field uses "." which is not a valid relative path format for Claude Code plugin schema.

// Current (invalid)
"source": "."

// Fix (valid)
"source": "./"

Claude Code requires relative paths to start with ./.

How to fix

Change line 12 in .claude-plugin/marketplace.json:

-      "source": ".",
+      "source": "./",

Environment

  • Claude Code: 2.1.77
  • OS: macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions