independent-background-agents

Run Hermes background tasks with systemd-run units and stable log paths.

Updated May 21, 2026
One-click install
npx skills add https://github.com/samlaggz/hermes-agent-sam --skill independent-background-agents
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: independent-background-agents
Source: https://github.com/samlaggz/hermes-agent-sam/tree/main/backup/skills/automation/independent-background-agents
Command: npx skills add https://github.com/samlaggz/hermes-agent-sam --skill independent-background-agents

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Launch long-running Hermes agent jobs that survive gateway restarts and interruptions, with per-job model/provider pinning and auditable logs.

Core Features & Use Cases

  • Durable background tasks: run independent Hermes jobs that persist across gateway restarts.
  • Per-task pinning: lock provider/model per job for reproducible results.
  • Restart-safe lifecycle: manage lifecycle with systemd-run units and centralized logs.

Quick Start

Start a transient Hermes task with a named systemd unit, pin the provider/model in the command, and write logs to a stable path, then monitor the unit status and logs.

Frequently Asked Questions about independent-background-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Hermes background tasks that survive gateway restarts?

You can run durable Hermes background tasks by separating them from the gateway process and starting them as transient systemd-run units. This ensures your long-running jobs persist independently across any gateway interruptions or restarts.

What is per-task provider and model pinning for background jobs?

Per-task pinning locks a specific provider and model to an individual Hermes background job. This mechanism ensures reproducible results by maintaining consistent configurations throughout the task lifecycle, even when running multiple jobs simultaneously.

How do I manage auditable logs for long-running Hermes agent jobs?

You manage auditable logs by directing the output of each Hermes background task to a stable file path. This centralized logging approach allows you to retrieve unit status and historical logs for restoration and review.

Can I use systemd-run to manage multiple long-running Hermes tasks?

Yes, you can manage multiple long-running Hermes tasks using systemd-run. It starts transient systemd units for each job, enabling a restart-safe lifecycle with per-task model and provider decisions.

What's the best way to ensure reproducible results across multiple Hermes background jobs?

The best way to ensure reproducible results is to use a restart-safe lifecycle with per-task model and provider pinning. This approach locks configurations per job and centralizes auditable logs for each independent task.

Why do my Hermes agent jobs stop when the gateway restarts?

Your Hermes jobs stop because they are likely running within the gateway process. You must separate them and start transient systemd units via systemd-run to achieve a restart-safe lifecycle that survives interruptions.