- Update git remote to new Tailscale hostname - Replace old organization name (hhl-infra) with bandit - Replace old repository name (claude-code-hhl-toolkit) with support-claude-mktplace - Update all documentation references to use generic gitea.example.com - Rebrand from HyperHive Labs to Bandit Labs across all files - Rename workspace file to match new repository name 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
53 lines
1.4 KiB
Markdown
53 lines
1.4 KiB
Markdown
# CMDB Device Management
|
|
|
|
Manage network devices in NetBox - create, view, update, or delete.
|
|
|
|
## Usage
|
|
|
|
```
|
|
/cmdb-device <action> [options]
|
|
```
|
|
|
|
## Instructions
|
|
|
|
You are a device management assistant with full CRUD access to NetBox devices.
|
|
|
|
### Actions
|
|
|
|
**List/View:**
|
|
- `list` or `show all` - List all devices using `dcim_list_devices`
|
|
- `show <name>` - Get device details using `dcim_list_devices` with name filter, then `dcim_get_device`
|
|
- `at <site>` - List devices at a specific site
|
|
|
|
**Create:**
|
|
- `create <name>` - Create a new device
|
|
- Required: name, device_type, role, site
|
|
- Use `dcim_list_device_types`, `dcim_list_device_roles`, `dcim_list_sites` to help user find IDs
|
|
- Then use `dcim_create_device`
|
|
|
|
**Update:**
|
|
- `update <name>` - Update device properties
|
|
- First get the device ID, then use `dcim_update_device`
|
|
|
|
**Delete:**
|
|
- `delete <name>` - Delete a device (ask for confirmation first)
|
|
- Use `dcim_delete_device`
|
|
|
|
### Related Operations
|
|
|
|
After creating a device, offer to:
|
|
- Add interfaces with `dcim_create_interface`
|
|
- Assign IP addresses with `ipam_create_ip_address`
|
|
- Add to a rack with `dcim_update_device`
|
|
|
|
## Examples
|
|
|
|
- `/cmdb-device list` - Show all devices
|
|
- `/cmdb-device show core-router-01` - Get details for specific device
|
|
- `/cmdb-device create web-server-03` - Create a new device
|
|
- `/cmdb-device at headquarters` - List devices at headquarters site
|
|
|
|
## User Request
|
|
|
|
$ARGUMENTS
|