Files
leo-claude-mktplace/plugins/cmdb-assistant/commands/cmdb-site.md
lmiranda 747a2b15e5 refactor(cmdb-assistant): extract skills and slim commands
- Extract 9 skill files from command knowledge:
  - mcp-tools-reference.md: Complete NetBox MCP tools reference
  - system-discovery.md: Bash commands for system info gathering
  - device-registration.md: Device registration workflow
  - sync-workflow.md: Machine sync process
  - audit-workflow.md: Data quality audit checks
  - ip-management.md: IP/prefix management and conflict detection
  - topology-generation.md: Mermaid diagram generation
  - change-audit.md: NetBox change audit workflow
  - visual-header.md: Standard visual header pattern

- Slim all 11 commands to under 60 lines:
  - cmdb-sync.md: 348 -> 57 lines
  - cmdb-register.md: 334 -> 51 lines
  - ip-conflicts.md: 238 -> 58 lines
  - cmdb-audit.md: 207 -> 58 lines
  - cmdb-topology.md: 194 -> 54 lines
  - initial-setup.md: 176 -> 74 lines
  - change-audit.md: 175 -> 57 lines
  - cmdb-site.md: 68 -> 50 lines
  - cmdb-ip.md: 65 -> 52 lines
  - cmdb-device.md: 64 -> 55 lines
  - cmdb-search.md: 46 lines (unchanged)

- Update agent to reference skills for best practices
- Preserve existing netbox-patterns skill

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 17:21:21 -05:00

1.1 KiB

CMDB Site Management

Manage sites and locations in NetBox.

Skills to Load

  • skills/visual-header.md
  • skills/mcp-tools-reference.md

Usage

/cmdb-site <action> [options]

Instructions

Execute skills/visual-header.md with context "Site Management".

Actions

Sites:

  • list - List all sites: dcim_list_sites
  • show <name> - Get site details: dcim_get_site
  • create <name> - Create new site: dcim_create_site
  • update <name> - Update site: dcim_update_site
  • delete <name> - Delete site (with confirmation)

Locations:

  • locations at <site> - List locations: dcim_list_locations
  • create location <name> at <site> - Create location

Racks:

  • racks at <site> - List racks: dcim_list_racks
  • create rack <name> at <site> - Create rack

Regions:

  • regions - List regions: dcim_list_regions
  • create region <name> - Create region

Examples

  • /cmdb-site list
  • /cmdb-site show headquarters
  • /cmdb-site create branch-office-nyc
  • /cmdb-site racks at headquarters

User Request

$ARGUMENTS