harden

harden is a skill for Claude Code, Codex from alsk1992/CloddsBot. It costs 10 tokens per session (416 once invoked), scanned A, original, MIT.

A tool for checking and securing virtual private servers, which are remotely rented computers. It audits settings such as updates, remote login, firewalls, failed-login protection, listening services, and administrator accounts.

In plain words
What is it for?
Use it to audit a server, apply safe hardening, run a quick setup for a new server, preview fixes, or generate a security report.
Why use it?
It helps find common server security gaps and apply fixes intended to avoid locking you out. It can also preview changes or produce a Markdown report.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to audit a server, apply safe hardening, run a quick setup for a new server, preview fixes, or generate a security report.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alsk1992/cloddsbot/harden
About the project

CloddsBot is a self-hosted AI trading terminal that lets users interact through conversation while trading prediction markets, cryptocurrencies, and futures. It scans markets, executes trades, manages risk, and supports portfolio activities across the exchanges and blockchains listed by the project. The catalogue contains skills for extending or guiding the trading agent.

alsk1992/CloddsBot · 3,143 stars · on GitHub · cloddsbot.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alsk1992/CloddsBot --skill harden
Clone the repo
git clone --depth 1 https://github.com/alsk1992/CloddsBot

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for harden

README.md
[![agentmods](https://agentmods.dev/badge/skills/alsk1992/cloddsbot/harden/github.svg)](https://agentmods.dev/skills/alsk1992/cloddsbot/harden)
Your own site
<a href="https://agentmods.dev/skills/alsk1992/cloddsbot/harden"><img src="https://agentmods.dev/badge/skills/alsk1992/cloddsbot/harden/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for harden

Your own site · 80×15
<a href="https://agentmods.dev/skills/alsk1992/cloddsbot/harden"><img src="https://agentmods.dev/badge/skills/alsk1992/cloddsbot/harden.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 416 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 73
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium Privilege Escalation · line 25
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 73
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
  • medium Privilege Escalation · line 73
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.00416
Opus 5.5 $0.00004 $0.00166
Sonnet 5.5 $0.00002 $0.00083
Haiku 4.5 $0.00001 $0.00042

Measured 3mo ago against content hash feaaab2f26c2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

harden scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (index.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| Sudo Users | At least one non-root sudo user |

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

src/skills/bundled/harden/SKILL.md · 75 lines

What it actually says

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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 75 lines · 10 tokens per session scan A feaaab2f26c2

Subscribe to this mod's changes

harden is a skill published in the GitHub repository alsk1992/CloddsBot (3,143 stars, last pushed 16d ago), licensed MIT. It adds 10 tokens to every session and 416 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

harden compared with skills from other repositories

harden next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hardenalsk1992/CloddsBotSkill3.1k16d agoMITA10Claude Code, Codex
perp-clihypurrquant/perp-cliSkill4515d agoMITA291Claude Code
aomi-transactaomi-labs/skillsSkill83d agoMITA210Claude Code, Codex
aomiaomi-labs/skillsSkill83d agoMITA208Claude Code
philidor-mcpPhilidor-Labs/philidor-mcpSkill51mo agoMITA86Cursor
philidor-api-handoffPhilidor-Labs/philidor-mcpSkill51mo agoMITA64Cursor
pre-deposit-safety-checkPhilidor-Labs/philidor-mcpSkill51mo agoMITA52Cursor