Skip to content
Automation
Skill

/harden

VPS security auditing and hardening

From plugin
cloddsbot
651120 skills
Install
$ npx -y skills add alsk1992/CloddsBot --skill harden --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition โ†’
  • You can call itInvoke it directly when you want it.
  • Slash command/harden

Context preview

The summary Claude sees to decide when to auto-load this skill.

VPS security auditing and hardening

SKILL.md

harden.SKILL.md
name: harden
description: VPS security auditing and hardening
emoji: "๐Ÿ”’"
commands:
  - /harden

VPS Hardening

Security auditing and automated hardening for remote servers.

Commands

`/harden audit <host>`

Run security audit against a server. Checks:

  • System updates
  • Auto-updates configuration
  • SSH root login status
  • Password authentication
  • Firewall status
  • Fail2ban status
  • System uptime
  • Listening services
  • Sudo user configuration

`/harden fix <host>`

Apply safe fixes that won't lock you out:

  • Install system updates
  • Enable unattended-upgrades
  • Configure UFW firewall
  • Install and enable fail2ban
  • Set SSH MaxAuthTries

`/harden emergency <host>`

Quick 10-minute hardening for new servers:

  • Full system update
  • Firewall setup
  • Fail2ban installation
  • Root password lock

`/harden report <host>`

Generate markdown security report.

Options

| Option | Description | |--------|-------------| | `--user=NAME` | SSH user (default: root) | | `--dry-run` | Preview changes without applying |

Examples

/harden audit 192.168.1.100
/harden fix myserver.com --user=admin
/harden emergency vps.example.com --dry-run
/harden report server.io > security-report.md

Security Checks

| Check | Pass Criteria | |-------|---------------| | System Updates | 0 pending updates | | Auto Updates | unattended-upgrades installed | | Root Login | PermitRootLogin no | | Password Auth | PasswordAuthentication no | | Firewall | UFW active or iptables configured | | Fail2ban | Service running | | Uptime | < 90 days | | Services | < 10 listening ports | | Sudo Users | At least one non-root sudo user | | MaxAuthTries | Set to 3 or less |

Read more
Ships withcloddsbot

Open Source AI trading agent that operates autonomously across 1000+ markets - Polymarket, Kalshi, Binance, Hyperliquid, Solana DEXs, 5 EVM chains. Scans for edge, executes instantly, manages risk while you sleep. Agent commerce protocol for machine-to-machine payments. Self-hosted. Built on Claude.

Get the whole plugin