| name | auto-remediation-setup |
| version | 1.0.0 |
| author | Hermes Cortex |
| created | 2026-06-15T00:00:00.000Z |
| updated | 2026-06-15T00:00:00.000Z |
| tags | ["auto-remediation","setup","troubleshooting","cron-jobs","system-health"] |
| description | Set up, configure, and troubleshoot the auto-remediation system.
Covers passwordless sudo prerequisites, verification scripts,
troubleshooting workflows, and best practices for deploying
the auto-remediation pipeline across different environments.
|
| syntax | # Basic setup
hermes skills install auto-remediation-setup
# Quick verification
verify-auto-remediation.sh
# Setup reference
cat .hermes/skills/auto-remediation-setup/references/auto-remediation-setup.md
|
| references | ["references/auto-remediation-setup.md","templates/auto-remediation-cron-setup.sh","scripts/verify-auto-remediation.sh"] |
| examples | [{"title":"Quick Setup on New System","content":"```bash\n# 1. Install the skill\nhermes skills install auto-remediation-setup\n\n# 2. Verify prerequisites\nverify-auto-remediation.sh --prereqs\n\n# 3. Deploy the cron\nbash templates/auto-remediation-cron-setup.sh\n```\n"}] |
Auto-Remediation Setup
Overview
Set up, configure, and troubleshoot the auto-remediation pipeline on a single
machine. This is the focused companion to auto-remediation-ecosystem — it
covers prerequisites, cron deployment, and verification for getting the
pipeline running.
Prerequisites
- Hermes Agent installed with the cron scheduler active
- Passwordless sudo (NOPASSWD) for the fixing user — the fixer must be
able to restart services and edit configs without a password prompt:
sudo -n true && echo "NOPASSWD OK" || echo "NOPASSWD MISSING — fix sudoers first"
- Agent bus access for reporting to the orchestrator
- Relevant agent skills deployed (
agent-fundamentals, monitoring skills)
Setup Steps
bash scripts/verify-auto-remediation.sh --prereqs
bash templates/auto-remediation-cron-setup.sh
cronjob action=list | grep remediation
cronjob action=run <sensor-job-id>
Cron Naming (fleet convention)
| Cron | Prefix | Install scope |
|---|
agent-remediation-sensor | agent- | All agents |
agent-fixer-* | agent- | All agents |
orch-remediation-* | orch- | Orchestrators only |
Every cron MUST be in the matching install script's uninstall array — the
doctor reads expected crons from those arrays.
Troubleshooting