/system-admin:delete-hostfrom system-admin
Delete a host from the inventory (alias for remove-host)
Ships in system-admin. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Delete a host from the system inventory by deleting its directory at context/hosts/{hostname}/.
Note: This command is an alias for /remove-host. Both commands use the same underlying tool.
This command orchestrates the host-management skill to delete hosts from the inventory.
Architecture:
Gather information from user or $ARGUMENTS:
Invoke the host-management skill's remove-host.sh tool:
./skills/host-management/tools/remove-host.sh --hostname <name> [--backup]
Read the JSON output from the tool to see:
Report to the user:
Example 1: Delete host without backup
User: /delete-host testserver
1. Run: ./skills/host-management/tools/remove-host.sh --hostname testserver
2. Read JSON output
3. Report: "Deleted testserver from inventory (4 files deleted)"
Example 2: Delete host with backup
User: /delete-host production-db --backup
1. Run: ./skills/host-management/tools/remove-host.sh --hostname production-db --backup
2. Read JSON output
3. Report: "Deleted production-db from inventory. Backup saved to context/backups/production-db_2026-01-05T12:00:00Z.tar.gz"
This ensures data integrity and provides recovery options if needed.
7-day visitors to each command page
21 commands in this plugin
/add-hostAdd Host CommandAdd a new host to the inventory/audit-complianceAudit Compliance CommandRun security compliance audits (CIS, PCI-DSS, HIPAA)/backup-systemBackup System CommandManage backups (create, restore, list, verify)/configure-firewallConfigure Firewall CommandConfigure firewall rules (allow, block, list rules)/disk-managementDisk Management CommandManage disks (usage, partitions, cleanup, mount)/incident-responseIncident Response CommandHandle security incidents (collect evidence, analyze, contain)Generated from the plugin's indexed repository (dsyorkd/system-admin) — no native marketplace selected
npx claudepluginhub p/dsyorkd-system-adminOther plugins' commands for the same job