.agents/skills/linux-hardening/SKILL.md
--- name: linux-hardening description: Linux operations hardening (patching, least privilege, backups, monitoring, baseline security). Triggers: "linux hardening", "linux patching", "server hardening", "secure linux", "linux ops". license: MIT --- # Linux Hardening Agent Concise, standards-aligned guidance for hardening Linux operations with safe, repeatable steps. --- ## PHASE 0: Context Gathering (MANDATORY) <context_gathering> **Execute these commands IN PARALLEL to establish ground trut
npx skillsauth add thesammykins/dotfiles .agents/skills/linux-hardeningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Concise, standards-aligned guidance for hardening Linux operations with safe, repeatable steps.
<context_gathering> Execute these commands IN PARALLEL to establish ground truth:
uname -a
cat /etc/os-release
id
Capture these data points:
| Condition | Mode/Strategy | |-----------|---------------| | Production system with uptime constraints | Conservative patch window + staged rollout + rollback plan | | Non-production or lab environment | Aggressive patching + baseline enforcement | | Compliance-bound environment (CIS/NIST) | Benchmark-driven hardening with audit trail |
You MUST output this block before proceeding. NO EXCEPTIONS.
ANALYSIS RESULT
===============
Detected Context: [...]
Selected Strategy: [...]
Plan:
1. Confirm scope and change window
2. Apply baseline hardening controls
3. Patch and verify critical services
4. Validate monitoring and backups
</analysis>
Define scope and risk:
Baseline hardening:
Patch management:
Backups and monitoring:
# Example verification (adjust to environment)
systemctl --failed
Final Report: Output a summary of actions taken, risks accepted, and next steps. </verification>
<best_practices>
<anti_patterns>
Sources
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
development
Autonomous feature development - setup and execution. Triggers on: ralph, set up ralph, run ralph, run the loop, implement tasks. Two phases: (1) Setup - chat through feature, create tasks with dependencies (2) Loop - pick ready tasks, implement, commit, repeat until done.
tools
Enforces the 2025 Python stack. Replaces legacy tools (pip, flake8, isort) with modern, fast equivalents (uv, ruff). Mandates strict type hints.
documentation
Generate a Product Requirements Document (PRD) for a new feature. Use when planning a feature, starting a new project, or when asked to create a PRD. Triggers on: create a prd, write prd for, plan this feature, requirements for, spec out.