Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alsk1992 avatar

Harden

  • 13 installs
  • 610 repo stars
  • Updated June 26, 2026
  • alsk1992/cloddsbot

harden is a Claude Code skill that audits and applies security hardening to remote Linux servers over SSH.

About

harden is a Claude Code skill that audits and hardens remote Linux servers over SSH. It checks system updates, SSH root login, password auth, firewall, fail2ban and listening services, then applies safe fixes such as UFW, unattended-upgrades and fail2ban. A developer uses it to secure a new VPS or review an existing server, with a dry-run option and a markdown report.

  • Audits a remote server for SSH, firewall, fail2ban and update hygiene
  • Applies safe lockout-proof fixes plus a 10-minute emergency hardening pass
  • Generates a markdown security report from the audit

Harden by the numbers

  • 13 all-time installs (skills.sh)
  • Ranked #1,634 of 2,203 Security skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

harden capabilities & compatibility

Capabilities
security audit · server hardening · ssh audit · firewall config
Use cases
security audit · devops
Platforms
Linux
Pricing
Free
From the docs

What harden says it does

Security auditing and automated hardening for remote servers.
SKILL.md
Apply safe fixes that won't lock you out:
SKILL.md
Quick 10-minute hardening for new servers:
SKILL.md
npx skills add https://github.com/alsk1992/cloddsbot --skill harden

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs13
repo stars610
Last updatedJune 26, 2026
Repositoryalsk1992/cloddsbot

What it does

Audit and harden a remote Linux VPS (SSH, firewall, fail2ban, updates) before or after putting it in production.

Who is it for?

Securing a fresh VPS or auditing an existing Linux server without risking a lockout.

When should I use this skill?

You provision a new server or want to check an existing host against common hardening criteria.

What you get

A hardened server with firewall, fail2ban, disabled root/password SSH and a markdown audit report.

  • security audit results
  • applied hardening fixes
  • markdown security report

By the numbers

  • 10 documented security checks
  • 4 subcommands: audit, fix, emergency, report
  • 10-minute emergency hardening pass

Files

SKILL.mdMarkdownGitHub ↗

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

OptionDescription
--user=NAMESSH user (default: root)
--dry-runPreview 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

CheckPass Criteria
System Updates0 pending updates
Auto Updatesunattended-upgrades installed
Root LoginPermitRootLogin no
Password AuthPasswordAuthentication no
FirewallUFW active or iptables configured
Fail2banService running
Uptime< 90 days
Services< 10 listening ports
Sudo UsersAt least one non-root sudo user
MaxAuthTriesSet to 3 or less

Related skills

Securityauditcomplianceappsec

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.