Ships in system-admin. Installing the plugin adds it to Claude Code.
Configure log rotation using the log_rotation.py tool.
This command orchestrates the system-admin skill's log rotation tool.
Architecture:
Parse user request or $ARGUMENTS:
Invoke the log_rotation.py tool:
python3 ./skills/system-admin/scripts/log_rotation.py <action> [OPTIONS]
Read the output and report rotation configuration
List rotation policies:
User: /log-rotation list
Run: python3 ./skills/system-admin/scripts/log_rotation.py list
Show all log rotation configurations
Add rotation for log file:
User: /log-rotation add /var/log/myapp.log --rotate 7 --size 100M --compress
Run: python3 ./skills/system-admin/scripts/log_rotation.py add /var/log/myapp.log --rotate 7 --size 100M --compress
Report configuration added
Force rotation:
User: /log-rotation force /var/log/myapp.log
Run: python3 ./skills/system-admin/scripts/log_rotation.py force /var/log/myapp.log
Force immediate rotation
Check rotation status:
User: /log-rotation status
Run: python3 ./skills/system-admin/scripts/log_rotation.py status
Show last rotation times and status
list - List rotation policiesadd - Add rotation policyremove - Remove rotation policystatus - Show rotation statusforce - Force immediate rotationtest - Test configuration--rotate <N> - Keep N rotated files--size <size> - Rotate when size exceeds--daily|weekly|monthly - Rotation frequency--compress - Compress rotated files--postrotate <cmd> - Command to run after rotation--compress to save disk spaceWhat the command file sets; muted values are Claude Code's defaults
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)/delete-hostDelete Host CommandDelete a host from the inventory (alias for remove-host)/disk-managementDisk Management CommandManage disks (usage, partitions, cleanup, mount)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