Hermes Ops Producao logo

Hermes Ops Producao

Organization
Hermes-brasil
hermes-ops-producao

Operar Hermes Agent em produção no VPS — update, restart de gateway, health-check, profiles múltiplos e ambientes sem systemd user bus.

Overview

PublisherHermes-brasil
Repositoryhermes-brasil
Skill namehermes-ops-producao
Stars
155
Forks
8
Bundled files
Instructions only
LicenseMIT
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Hermes-brasil on GitHub. Read the source before you install it.

Installation

Install the Hermes Ops Producao 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/Hermes-brasil/hermes-brasil/tree/main/skills/hermes-ops-producao
  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/Hermes-brasil/hermes-brasil.git /tmp/hermes-brasil
mkdir -p .claude/skills
cp -r /tmp/hermes-brasil/skills/hermes-ops-producao .claude/skills/hermes-ops-producao
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hermes Ops Producao 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 Hermes Ops Producao 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 Hermes Ops Producao 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.

Hermes Ops — Produção

Procedimentos para manter o Hermes Agent saudável 24/7. Use antes/depois de update, quando o gateway “some”, quando Telegram para de responder, ou quando systemctl --user falha.

Guia longo: guides/instalacao-producao-vps.md neste repositório.

Quando carregar

  • hermes update / dúvida se a versão subiu
  • hermes gateway restart trava ou não relança processos
  • hermes status ok mas mensagem não chega
  • Erro Failed to connect to bus: No medium found
  • Pós-reboot do VPS

Update

bash
hermes update
hermes version          # obrigatório validar
hermes doctor --fix

O update tipicamente:

  1. Backup em ~/.hermes/backups/pre-update-YYYY-MM-DD-HHMMSS...
  2. git pull no source (ex.: /usr/local/lib/hermes-agent em install root FHS)
  3. Reinstall no venv do projeto
  4. Build da web UI se existir

Pitfalls

  • Timeout do comando ≠ update falhou. Backup grande demora; confira hermes version.
  • Nunca use pip do sistema. Fallback manual: cd no source e ./venv/bin/pip install -e .
  • Depois do update, reinicie gateway se as conexões de messaging ficarem stale

Restart do gateway

bash
hermes gateway restart
# se a CLI aceitar na sua versão:
hermes gateway status
ps aux | grep 'gateway run' | grep -v grep

Graceful shutdown pode estourar timeout da CLI enquanto o processo ainda está drenando sessões. Olhe o PID e os logs.

Sem systemd user bus

bash
systemctl --user stop hermes-gateway
# → Failed to connect to bus: No medium found

Nesse ambiente:

  1. Não dependa de systemctl --user
  2. ps aux | grep 'gateway run'
  3. kill -TERM <pid> no gateway principal
  4. Relançar via supervisor do Hermes, hermes gateway run, ou o unit/supervisor que você configurou no host

Se a imagem permitir systemd de verdade:

bash
sudo loginctl enable-linger "$USER"
# units em ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user restart hermes-gateway

SIGKILL no stop (systemd)

Se o journal mostra status=9/KILL no restart, o gateway passou de TimeoutStopSec drenando agentes. Mitigações comuns:

  • Aumentar TimeoutStopSec no unit
  • KillMode=process (não mata cgroup inteiro de uma vez)
  • Ajustar timeouts de drain/inactivity na config.yaml do Hermes

Health-check ponta a ponta

Ordem curta:

bash
hermes version
hermes doctor --fix
hermes status --all
tail -40 ~/.hermes/logs/gateway.log
tail -20 ~/.hermes/logs/errors.log
hermes send --to telegram:CHAT_ID "ping pós-ops"
# fórum/tópico:
hermes send --to telegram:CHAT_ID:THREAD_ID "ping thread"

Checklist mental:

CheckOK se
Versãostring de versão + commit recente
Doctorsem erro bloqueante
Processogateway run presente
Sendmensagem chega no app
Cronhermes cron list sem rain de last_status ruim

Avisos comuns (muitas vezes não-críticos)

  • Home-channel startup notification failed: send_path_degraded — confirme com hermes send
  • API server network-accessible AND terminal backend local — risco de desenho; não “ignore para sempre” se a API está pública
  • Secret redaction: DISABLED — ligue se quiser: hermes config set security.redact_secrets true
  • Running as ROOT — comum em VPS single-tenant; ciente do blast radius

Profiles múltiplos

bash
hermes profile list
ps aux | grep 'hermes.*-p \|gateway run' | grep -v grep

Após update/restart, confira se o default voltou. Workers Kanban usam -p <profile> no spawn — profile inexistente = task pronta que nunca anda (assignee fantasma).

Ver: guides/profiles-e-kanban.md

Cron (ponte)

Jobs de produção: prompt autocontido, delivery explícito, ledger se muta o mundo, script = filename em ~/.hermes/scripts/.

Ver: guides/cron-em-producao.md

Segurança operacional rápida

  • .env e tokens fora de git e de skill pública
  • Preferir approve mode consciente em gateway (approvals.mode)
  • Não expor API server + shell local na internet sem auth e rede restrita
  • Backup de ~/.hermes antes de migração grande (hermes backup se disponível na versão)

Comandos de bolso

bash
hermes version
hermes doctor --fix
hermes status --all
hermes update
hermes gateway status
hermes gateway restart
hermes cron list
hermes profile list
hermes logs                 # se disponível
tail -f ~/.hermes/logs/gateway.log

Referências

Frequently asked questions

What does the Hermes Ops Producao AI skill do?

Operar Hermes Agent em produção no VPS — update, restart de gateway, health-check, profiles múltiplos e ambientes sem systemd user bus.

Why use Hermes Ops Producao on TypingMind?

Because you install it once and use it with any model. Hermes Ops Producao 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 Hermes Ops Producao in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Hermes-brasil/hermes-brasil/tree/main/skills/hermes-ops-producao. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hermes Ops Producao?

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 Hermes Ops Producao?

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

Is the Hermes Ops Producao AI skill free?

Yes. It is published on GitHub by Hermes-brasil under the MIT license. 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 👇