Claude Forge banner
bgreenwell bgreenwell

Claude Forge

Development community

Description

CLI tool for scaffolding and managing Claude Code marketplaces and plugins

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

claude-forge

`claude-forge` is a command-line interface tool for scaffolding and managing Claude Code marketplaces and plugins. It enforces a standardized structure, ensuring that marketplaces and their components are valid and consistent.

Features

  • Scaffold new marketplaces and plugins with a single command.
  • Inject components like skills, commands, agents, and hooks into plugins.
  • Validate the integrity of plugin manifests and skill frontmatter.
  • Auto-detect and validate entire marketplaces with all plugins.
  • List plugins in a marketplace or components in a plugin.
  • Register plugins with a marketplace, preventing duplicates and ensuring structural correctness.
  • Interactive prompts for a guided experience, with command-line flags for automation.
  • Smart context detection - commands adapt based on whether you're in a marketplace or plugin directory.

Quick start

Installation

Install the tool locally using cargo:

cargo install --path .

Usage

  1. **Initialize a new marketplace:**

    cforge init --name my-awesome-marketplace -d "a marketplace for my awesome plugins"

    This creates the following directory structure:

    my-awesome-marketplace/
    ├── .claude-plugin/
    │   └── marketplace.json
    ├── CLAUDE.md
    ├── plugins/
    └── README.md
  2. **Navigate into the new marketplace:**

    cd my-awesome-marketplace
  3. **Create a new plugin:**

    cforge new-plugin --name my-first-plugin -d "a plugin that does awesome things"

    This creates a new plugin inside the `plugins` directory:

    plugins/
    └── my-first-plugin/
        ├── .claude-plugin/
        │   └── plugin.json
        ├── agents/
        ├── commands/
        ├── hooks/
        ├── skills/
        └── README.md
  4. **Add a skill to the plugin:**

    cforge add --plugin my-first-plugin skill --name my-skill -d "a skill that performs