Skip to content

wb add

Add a feature to an existing project.

Synopsis

bash
wb add <feature> [flags]

Description

The add command enables a feature in your Workbench project. This adds the necessary configuration files, dependencies, and code scaffolding.

Arguments

ArgumentDescription
featureFeature to add (e.g., convex, claude, codex)

Flags

FlagDescription
--dry-runShow what would be done without making changes
-y, --yesSkip confirmation prompts

Global Flags

FlagDescription
--cwdWorking directory (default: .)
--jsonOutput machine-readable JSON
-v, --verboseEnable verbose logging
-h, --helpShow help

Examples

Add Convex Backend

bash
wb add convex

Add Claude Support

bash
wb add claude

Preview Changes

bash
wb add convex --dry-run

Output:

Would add feature: convex
  Create: convex/
  Create: convex.json
  Update: .workbench.toml

Skip Confirmation

bash
wb add convex -y

From Different Directory

bash
wb add convex --cwd ./my-project

Available Features

FeatureDescriptionProject Types
convexReal-time backendwebsite, ios
claudeClaude Code agentall
codexOpenAI Codex CLIall

What Gets Added

Convex

  • convex/ directory with schema and functions
  • convex.json configuration
  • Updated dependencies

Claude

  • .claude/ directory
  • .claude/skills/ with built-in skills
  • CLAUDE.md agent guidelines

Codex

  • .codex/ directory
  • .codex/skills/ with built-in skills

Configuration

After adding a feature, .workbench.toml is updated:

toml
[project.features]
convex = true

Errors

Feature not available

Error: feature "unknown" is not available for project type "tui"

Check Features for available options per project type.

Feature already enabled

Error: feature "convex" is already enabled

The feature is already part of your project.

See Also

  • wb rm - Remove a feature
  • Features - Available features documentation