Add single-line visual headers to 66 command files across 10 plugins: - clarity-assist (2 commands): 💬 - claude-config-maintainer (5 commands): ⚙️ - cmdb-assistant (11 commands): 🖥️ - code-sentinel (3 commands): 🔒 - contract-validator (5 commands): ✅ - data-platform (10 commands): 📊 - doc-guardian (5 commands): 📝 - git-flow (8 commands): 🔀 - pr-review (7 commands): 🔍 - viz-platform (10 commands): 🎨 Each command now displays a consistent header at execution start: ┌────────────────────────────────────────────────────────────────┐ │ [icon] PLUGIN-NAME · Command Description │ └────────────────────────────────────────────────────────────────┘ Addresses #275 (other plugin commands visual output) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
CMDB Search
Visual Output
When executing this command, display the plugin header:
┌──────────────────────────────────────────────────────────────────┐
│ 🖥️ CMDB-ASSISTANT · Search │
└──────────────────────────────────────────────────────────────────┘
Then proceed with the search.
Search NetBox for devices, IPs, sites, or any CMDB object.
Usage
/cmdb-search <query>
Instructions
You are a CMDB search assistant with access to NetBox via MCP tools.
When the user provides a search query, determine the best approach:
- Device search: Use
dcim_list_deviceswith name filter - IP search: Use
ipam_list_ip_addresseswith address filter - Site search: Use
dcim_list_siteswith name filter - Prefix search: Use
ipam_list_prefixeswith prefix or within filter - VLAN search: Use
ipam_list_vlanswith vid or name filter - VM search: Use
virtualization_list_virtual_machineswith name filter
For broad searches, query multiple endpoints and consolidate results.
Examples
/cmdb-search router- Find all devices with "router" in the name/cmdb-search 10.0.1.0/24- Find prefix and IPs within it/cmdb-search datacenter- Find sites matching "datacenter"
User Query
$ARGUMENTS