Hestiacp Devops logo

Hestiacp Devops

Community
Fandry96
hestiacp-devops

Autonomous HestiaCP server management with AI agents. Two-brain Orchestrator+Sentinel architecture for VPS monitoring, troubleshooting, security hardening, PHP-FPM tuning, Exim mail forensics, and post-compromise detection. Use when: HestiaCP, VPS, server monitoring, DevOps agent, Linux admin, Nginx/Apache, PHP-FPM, Exim, Fail2Ban, ClamAV, SSL, backup.

Overview

PublisherFandry96
Repositoryk3-agentic-skills
Skill namehestiacp-devops
Stars
27
Forks
5
Bundled files
18
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 18 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Fandry96 on GitHub. Read the source before you install it.

Installation

Install the Hestiacp Devops AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Fandry96/k3-agentic-skills/tree/master/skills/hestiacp-devops
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Fandry96/k3-agentic-skills.git /tmp/k3-agentic-skills
mkdir -p .claude/skills
cp -r /tmp/k3-agentic-skills/skills/hestiacp-devops .claude/skills/hestiacp-devops
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hestiacp Devops in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hestiacp Devops on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hestiacp Devops is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

HestiaCP DevOps AI Skill

Source: webxtekstudio/hestiacp-useful-tools (GitHub, MIT License) Architecture: Two-brain Orchestrator + Sentinel pattern Platform: HestiaCP on Debian 12 (Bookworm) Blueprint: See hestiacp_two_brain_blueprint.md in session artifacts

When to Use

  • Server health monitoring and automated reporting
  • HestiaCP CLI operations (v-* commands)
  • PHP-FPM pool tuning and troubleshooting (502/504 errors)
  • Exim4 mail queue forensics and spam mitigation
  • Fail2Ban management and attack response
  • SSL certificate management (Let's Encrypt)
  • Post-compromise detection (rogue ports, temp executables, webshells)
  • Backup verification and disaster recovery
  • Nginx/Apache reverse proxy debugging
  • CMS permission hardening (WordPress, Laravel, Drupal, Joomla, Magento)

Architecture: Two-Brain Model

Brain 1: Sentinel (Passive Monitor)

  • File: prompts/System-Monitor-Prompt.md
  • Input: CRON-injected telemetry (RAM, CPU, Disk, Services, Logs)
  • Output: Structured health report (HEALTHY ✅ / WARNING ⚠️ / CRITICAL 🔴)
  • Tool: run_ssh_command (Round 3 deep dives only)
  • Key Innovation: Post-compromise detection, attack-is-root-cause principle

Brain 2: Orchestrator (Active DevOps)

  • File: prompts/DevOps-Agent-Prompt.md
  • Input: User request or Sentinel alert trigger
  • Output: Diagnosis + remediation + verification report
  • Tools: run_ssh_command + ask_knowledge_expert (RAG)
  • Constraint: Max 10 ReAct steps

Decision Heuristics (Mandatory)

1. LOOK BEFORE LEAP     — cp config.conf config.conf.bak
2. LEAST DESTRUCTIVE    — nginx -t BEFORE systemctl restart
3. SILENT EXECUTION     — Act safely, report async (no permission prompts in automation)
4. FALSIFIABILITY TEST  — After "fixing", run the command that PROVES it's fixed

Noise Filter (False Positive Suppression)

Ignore these — they are NORMAL in HestiaCP:

  • cloud-init, cloud-config, cloud-final service failures
  • Apache on port 8080 (backend behind Nginx — this IS the architecture)
  • SSH brute-force in auth logs (Fail2Ban handles it)
  • High memory if mostly buffers/cache
  • Zombie count ≤ 5
  • Load spikes during v-backup-users
  • Transient PHP-FPM CPU spikes during backup windows

Severity Classification

LevelTrigger
✅ HEALTHYZero thresholds breached, or only marginal
⚠️ WARNINGClear threshold breach with operational concern
🔴 CRITICALService down, disk >90%, backup FAILED, active attack, OOM kills, compromise indicators

Attack Principle: When PHP-FPM CPU is high AND attack vectors are present, the ROOT CAUSE is the attack — not PHP-FPM. Report as attack, not "busy workload."

Critical Thresholds

ResourceWarningCritical
Disk (/ or /home)>80%>90%
Load (1min)> nproc> nproc × 2
RAM (excl. cache)>85%—
Swap>1GB>2GB (OOM risk)
Mail Queue (Exim)>10 messages>50 messages
Backup Age>8 daysSTATUS=FAILED
SSL Expiry<14 days<7 days

Post-Compromise Detection (6 Vectors)

VectorCheckCritical
Rogue Portsss -tlnp vs expected4444, 5555, 6666, 8888 → 🔴
Temp Executables/tmp, /var/tmp, /dev/shmANY executable → 🔴
User AuditUID ≥ 1000 with /bin/bashUnknown user → 🔴
Recent PHP ModsFiles modified <6hrsshell.php, c99.php → 🔴
Outbound C2ss -tnp state establishedIRC 6667, crypto 3333 → 🔴
Suspicious Croncurl, wget, base64, /tmp/🔴 possible backdoor

Service Name Gotchas

ServiceCorrectWRONG
Mailexim4exim
Databasemariadbmysql
PHPphp8.2-fpmphp-fpm
DB CLImariadbmysql

PHP-FPM Tuning Formula

Max Total Workers = (Total RAM - 2GB) / 60MB

Low Traffic:    2-5 workers
Medium Traffic: 10-20 workers
High Traffic:   30-50 workers

Exim Log Decoder

<=  Email arrived at server
=>  Normal delivery (local or external)
->  Forwarded or aliased delivery
**  Delivery permanently FAILED (bounced)
==  Delivery temporarily DELAYED (queued)

CRITICAL: mainlog does NOT store email subjects. To get subjects, grep the physical Maildir:

/home/<user>/mail/<domain>/<account>/new/  (unread)
/home/<user>/mail/<domain>/<account>/cur/  (read)

False Path Map (Never Use These)

Generic PathHestiaCP Reality
/etc/letsencrypt/live/home/[USER]/conf/web/[DOMAIN]/ssl/
/etc/nginx/sites-enabled/etc/nginx/conf.d/domains/
/var/www/html/home/[USER]/web/[DOMAIN]/public_html/

Knowledge Base (16 files in knowledge/)

#FileSizeDomain
01hestia-system-paths.md11.5KBComplete path map
02hestia-troubleshooting-logs.md5.7KBDiagnostic commands
03hestia-cron-guide.md2.7KBCRON management
04hestia-php-tuning.md4.2KBPHP-FPM optimization
05hestia-database-guide.md2.6KBMariaDB config
06hestia-fail2ban-guide.md2.0KBJail management
07hestia-ssl-guide.md2.2KBSSL lifecycle
08hestia-clamav-guide.md2.1KBAntivirus config
09hestia-exim-troubleshooting.md5.0KBMail queue forensics
10hestia-nginx-templates.md1.8KBProxy templates
11hestia-backups.md3.1KBBackup/restore
12hestia-cli-reference.md23.2KB400+ v-commands
13hestia-common-issues.md3.1KBDecision trees
14hestia-dovecot-guide.md4.4KBIMAP/POP3 debug
15exim-forensics.md2.8KBMaildir forensics
16hestia-custom-tools-extended.md6.3KBv-fix-web-permissions, v-security-audit

Integration

  • Skill Router: Category 4 (Deploy & Ops)
  • Related Skills: @gcp-cloud-run, @docker-expert, @security-auditor, @systematic-debugging
  • MRL Index: Rebuild mrl_index.pkl to include these 19 files for semantic search

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hestiacp Devops AI skill do?

Autonomous HestiaCP server management with AI agents. Two-brain Orchestrator+Sentinel architecture for VPS monitoring, troubleshooting, security hardening, PHP-FPM tuning, Exim mail forensics, and post-compromise detection. Use when: HestiaCP, VPS, server monitoring, DevOps agent, Linux admin, Nginx/Apache, PHP-FPM, Exim, Fail2Ban, ClamAV, SSL, backup.

Why use Hestiacp Devops on TypingMind?

Because you install it once and use it with any model. Hestiacp Devops is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hestiacp Devops in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Fandry96/k3-agentic-skills/tree/master/skills/hestiacp-devops. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hestiacp Devops?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hestiacp Devops?

As many as you like. As long as a model supports skills, you can use Hestiacp Devops with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hestiacp Devops AI skill free?

It is published on GitHub by Fandry96. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇