Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By danielrosehillv1.2.0MITIn 2 marketplaces
Agent skills for host security on Ubuntu desktops and servers: ufw firewall setup, status, scoped allows, rule removal and block diagnosis; ClamAV / rkhunter / chkrootkit / Lynis / AIDE install, definition updates, scans and scheduling; read-only security audits, security-update and spyware/telemetry checks; SSH keys, SSH server config and fail2ban; fingerprint authentication; TLS certificate checks.
Claude loads one when your task matches it, or you run it by name.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Agent skills for host security on Ubuntu desktops and servers: the ufw firewall,
malware / rootkit / integrity scanning, read-only security audits, SSH, and hardware
authentication. Each skill is a SKILL.md with working commands; where desktop and
server differ (or a remote SSH session needs care) the skill says so.
Skills report facts and do what is asked. Audit skills list findings because that is what an audit is for; the others don't add unrequested hardening advice.
Written for Ubuntu 22.04 and later (scripts exercised on 26.04 with ufw 0.36 and OpenSSH 10). Most commands also
work on Debian; Ubuntu-only bits (pro, ssh.socket activation, Ubuntu package
defaults) are called out.
| Skill | What it does |
|---|---|
firewall-setup | First-time ufw setup: defaults, low logging, opt-in allows for services that actually run (SSH first on remote boxes), enable, save a baseline |
firewall-status | Read-only probe: active?, policies, numbered rules, listening-vs-allowed table, recent blocks, Docker holes; optional snapshot diff and permissiveness review |
firewall-allow | Add a scoped exemption (LAN / VPN interface / one host / anywhere), app profiles preferred, no duplicates, verify the effect |
firewall-remove | Delete by spec or number (highest first, ufw renumbers), tighten broad rules, dedupe, reset to baseline; confirms before deleting anything not just added |
firewall-diagnose | "Is the firewall blocking X?": UFW BLOCK lines from journalctl -k / /var/log/ufw.log, logging check, first-match order, interface / source / IPv6 / protocol mismatch, Docker bypass |
| Skill | What it does |
|---|---|
av-install | Install + initialise ClamAV (engine, clamd, freshclam), ClamTk, rkhunter; optional Lynis, chkrootkit, AIDE, debsecan; pick the reports folder |
av-update-definitions | Refresh signatures for every installed scanner; diagnose stale ClamAV signatures; never re-baselines |
malware-scan | Quick / path / deep scans, per-tool reports + summary, known false positives; never quarantines |
scan-schedule | systemd timers (cron fallback) for definitions and scans; failed-unit signal on servers, desktop notifications on desktops |
| Skill | What it does |
|---|---|
security-audit | Read-only host audit (updates, exposure, SSH, accounts, permissions, SUID, AppArmor, scanners, encryption, desktop items) written up with severities |
security-updates | Pending -security upgrades, pro security-status, CVE/USN fixed?, unattended-upgrades working?, reboot needed? |
spyware-check | Unknown-origin software, Ubuntu telemetry components, outbound connections by process, autostart entries, browser extension permissions |
tls-cert-check | certbot certificates and renewal, certs referenced by services, what live endpoints serve, expiring within 30 days |
| Skill | What it does |
|---|---|
ssh-keys | Inventory, generate (ed25519 / ed25519-sk), ssh-copy-id to other hosts, review authorized_keys, permissions, retire keys |
ssh-server-config | Effective sshd -T config, drop-in precedence, socket-activated port changes, recent logins; safe changes with a kept-open session |
fail2ban | Install with an sshd jail on the journal, ignore LAN/VPN, list bans, unban, ufw interaction |
fingerprint-setup | libfprint support check, enroll, pam-auth-update --enable fprintd, troubleshooting |
scripts/ holds helpers the skills call:
| Script | Used by | Notes |
|---|---|---|
ufw-blocks.sh | firewall-status, firewall-diagnose | Summarise UFW log lines by action / interface / source / proto / port; filters --port --src --since --file --raw. Read-only |
av-update.sh | av-update-definitions, scan-schedule | Refresh installed scanners; run with sudo |
av-scan.sh | malware-scan, scan-schedule | Run scanners, write reports; exit 0 clean / 1 review / 2 error; optional --notify-user. Run with sudo |
posture-facts.sh | security-audit | Collect read-only facts by section; run with sudo |
Skills find them at ${CLAUDE_PLUGIN_ROOT}/scripts. When a skill is loaded on its own
and that variable is unset, clone this repository and use its copy:
git clone --depth 1 https://github.com/danielrosehill/Ubuntu-Security ~/.local/share/ubuntu-security-skills
SCRIPTS=~/.local/share/ubuntu-security-skills/scripts
${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/ubuntu-security/
— config.json holds reports_dir; ufw/ holds baseline-*.rules and
snapshot-*.rules (ufw show added format).reports_dir, default
~/security-reports/ (<tool>/<timestamp>.txt, _summary/, audit/).ubuntu-security@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin ubuntu-securityPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.