Best for
- The workload runs on a managed runtime with no host you control — there is no
- Auditing application code for vulnerabilities (use security-audit)
- Application-level auth and authorization (use security, authz-review)
event4u-app/agent-config/src/skills/server-hardening/SKILL.md
Use when hardening a Linux host you operate — SSH posture, a default-deny firewall baseline, and unattended security upgrades, each verified on the box rather than assumed from a config file.
Decision brief
Use when hardening a Linux host you operate — SSH posture, a default-deny firewall baseline, and unattended security upgrades, each verified on the box rather than assumed from a config file.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/server-hardening"Inspect the Agent Skill "server-hardening" from https://github.com/event4u-app/agent-config/blob/6a5670b7881a676c0da90d2afb950298087c4ccb/src/skills/server-hardening/SKILL.md at commit 6a5670b7881a676c0da90d2afb950298087c4ccb. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
1. Confirm the host is yours to harden. Managed runtime with no shell → stop; there is no posture here, and that is a recordable unavailable. 2. Open a second session and keep it open for the whole SSH and firewall work. This is the entire rollback mechanism. 3. Set the SSH post…
Use when a host is yours to operate — a VPS, a bare-metal box, a long-lived VM — and its own security posture is the question. Three surfaces: who may log in, what may reach the network, and how patches arrive.
The one remote-entry door. Harden in this order, and keep an open session while you change it — a mistake here locks you out of the machine you are fixing.
The one remote-entry door. Harden in this order, and keep an open session while you change it — a mistake here locks you out of the machine you are fixing.
Default-deny inbound, allow-list outbound where the workload permits.
Permission review
No configured static risk pattern was detected
This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.
Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 93/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 9 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Use when a host is yours to operate — a VPS, a bare-metal box, a long-lived VM — and its own security posture is the question. Three surfaces: who may log in, what may reach the network, and how patches arrive.
Do NOT use when:
operational-readiness records that as unavailable
with that reasonsecurity-audit)security, authz-review)terraform, aws-infrastructure)docker)The one remote-entry door. Harden in this order, and keep an open session while you change it — a mistake here locks you out of the machine you are fixing.
| Setting | Target | Why |
|---|---|---|
PasswordAuthentication | no | Ends credential-stuffing against the host outright |
PubkeyAuthentication | yes | The replacement must work before passwords are removed |
PermitRootLogin | no (or prohibit-password) | Forces an audit trail through a named account |
AllowUsers / AllowGroups | Explicit allow-list | Default is every account on the box |
| Port | Non-default is optional | Cuts log noise, not risk — never the primary control |
Verify from a second connection before closing the first:
sudo sshd -t # config parses; do this before reload
sudo systemctl reload ssh # or sshd, per distro
sudo sshd -T | grep -Ei 'passwordauth|permitrootlogin|pubkeyauth'
sshd -T prints the effective configuration. A file under
sshd_config.d/ or a Match block can override what you just edited, so the
file you wrote is not evidence — the effective dump is.
Default-deny inbound, allow-list outbound where the workload permits.
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow OpenSSH # before enabling, or you are locked out
sudo ufw enable
sudo ufw status verbose # the verification, not the intent
Two traps worth naming. A container runtime can write its own forwarding rules
that bypass the host firewall entirely — check the actual rule table
(sudo iptables -S / sudo nft list ruleset), not just the friendly front-end.
And a cloud security group sits in front of the host: both must agree, and the
narrower one is the effective policy.
Optionally add an SSH brute-force throttle (fail2ban or equivalent). It is
noise reduction and a small real gain once password auth is already off — never
a substitute for it.
Patches that require a human are patches that arrive late.
sudo apt install unattended-upgrades # Debian/Ubuntu family
sudo dpkg-reconfigure -plow unattended-upgrades
sudo unattended-upgrade --dry-run --debug # proves it would act
Decide and record two things, because the default is silence: whether the host reboots automatically when a patch needs it, and where the failure notification goes. An upgrade timer that has been failing for six weeks is indistinguishable from one that is working, unless something reports it.
Security patches only. Automatic feature upgrades change behaviour under you, which is a different risk with a different owner.
unavailable.sshd -T from the second session —
effective config, not the file.ufw status verbose and against the raw rule table.--dry-run that it
would act. Record the reboot policy and the failure destination.operational-readiness reads an uninspected host posture as a red.sshd -T reports passwordauthentication no.sshd -T reports permitrootlogin no or prohibit-password.unattended-upgrade --dry-run reports it would act.sshd -T is; a drop-in or Match block
silently wins.Frequently asked questions
Use when hardening a Linux host you operate — SSH posture, a default-deny firewall baseline, and unattended security upgrades, each verified on the box rather than assumed from a config file.
The source record exposes this install command: npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/server-hardening". Inspect the command and pinned source before running it.
Alternatives
coreyhaines31/marketingskills
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program
garrytan/gbrain
End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.
alirezarezvani/claude-skills
App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist
dotnet/skills
Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing