Files
leo-claude-mktplace/plugins/cmdb-assistant/commands/cmdb-setup.md
lmiranda 2d51df7a42 feat(marketplace): command consolidation + 8 new plugins (v8.1.0 → v9.0.0) [BREAKING]
Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action>
sub-command pattern. Git-flow consolidated from 8→5 commands (commit
variants absorbed into --push/--merge/--sync flags). Dispatch files,
name: frontmatter, and cross-reference updates for all plugins.

Phase 2: Design documents for 8 new plugins in docs/designs/.

Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate,
saas-react-platform, saas-test-pilot, data-seed, ops-release-manager,
ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents,
skills, README, and claude-md-integration. Marketplace grows from 12→20.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 14:52:11 -05:00

1.6 KiB

name, description
name description
cmdb setup Interactive setup wizard for cmdb-assistant plugin

/cmdb setup

Configure the cmdb-assistant plugin with NetBox integration.

Skills to Load

  • skills/visual-header.md

Important Context

  • Uses Bash, Read, Write, AskUserQuestion tools - NOT MCP tools
  • MCP tools unavailable until after setup + session restart

Usage

/cmdb setup

Instructions

Execute skills/visual-header.md with context "Setup Wizard".

Phase 1: Environment Validation

python3 --version

If below 3.10, stop and inform user.

Phase 2: MCP Server Setup

  1. Locate NetBox MCP server in marketplace
  2. Check virtual environment exists
  3. Create venv if missing: python3 -m venv .venv && pip install -r requirements.txt

Phase 3: System Configuration

  1. Create config directory: mkdir -p ~/.config/claude
  2. Check ~/.config/claude/netbox.env exists
  3. If missing, ask user for NetBox API URL (must include /api)
  4. Create config file with placeholder token
  5. Instruct user to add API token manually

Phase 4: Validation

  1. Test API connection if token was added
  2. Report result (200=success, 403=invalid token)
  3. Display completion summary
  4. Remind user to restart session for MCP tools

Completion Summary

CMDB-ASSISTANT SETUP COMPLETE
MCP Server (NetBox):   Ready
System Config:         ~/.config/claude/netbox.env

Restart your Claude Code session for MCP tools.

After restart, try:
- /cmdb device <hostname>
- /cmdb ip <address>
- /cmdb site <name>
- /cmdb search <query>

User Request

$ARGUMENTS