/system-admin:update-hostfrom system-admin
Update existing host information in the inventory
Ships in system-admin. Installing the plugin adds it to Claude Code.
Update an existing host's information in the system inventory at context/hosts/{hostname}/.
This command orchestrates the host-management skill to update host information.
Architecture:
Gather information from user or $ARGUMENTS:
Invoke the host-management skill's update-host.sh tool:
./skills/host-management/tools/update-host.sh --hostname <name> [OPTIONS]
Read the JSON output from the tool to see:
Report to the user:
context/hosts/{hostname}/facts.json to show updated stateExample 1: Update IP address
User: /update-host webserver01 --ip 192.168.1.15
1. Run: ./skills/host-management/tools/update-host.sh --hostname webserver01 --ip 192.168.1.15
2. Read JSON output
3. Report: "Updated webserver01 IP address to 192.168.1.15"
Example 2: Update tags
User: /update-host dbserver --tags production,database,critical
1. Run: ./skills/host-management/tools/update-host.sh --hostname dbserver --tags production,database,critical
2. Read JSON output
3. Report: "Updated dbserver tags: production, database, critical"
Example 3: Re-gather facts
User: /update-host appserver --gather-facts
1. Run: ./skills/host-management/tools/update-host.sh --hostname appserver --gather-facts
2. Read JSON output (check "facts_gathered": true/false)
3. Read context/hosts/appserver/facts.json to show updated facts
4. Report: "Re-gathered facts for appserver: Ubuntu 22.04, 8 cores, 16GB RAM"
Example 4: Update multiple fields
User: /update-host webserver01 --ip 10.0.1.20 --ssh-user deploy --tags production,web
1. Run: ./skills/host-management/tools/update-host.sh --hostname webserver01 --ip 10.0.1.20 --ssh-user deploy --tags production,web
2. Read JSON output (check "updated_fields" array)
3. Report: "Updated webserver01: IP, SSH user, and tags"
This ensures data integrity and prevents errors from manual LLM modification of data.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (dsyorkd/system-admin) — no native marketplace selected
npx claudepluginhub p/dsyorkd-system-admin21 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)/delete-hostDelete Host CommandDelete a host from the inventory (alias for remove-host)/disk-managementDisk Management CommandManage disks (usage, partitions, cleanup, mount)Other plugins' commands for the same job