host-mesh-keeper

Manage persistent Claude Code sessions with tmux and systemd.

1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/MCERQUA/jam-skills --skill host-mesh-keeper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: host-mesh-keeper
Source: https://github.com/MCERQUA/jam-skills/tree/main/host-mesh-keeper
Command: npx skills add https://github.com/MCERQUA/jam-skills --skill host-mesh-keeper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that Claude Code sessions remain active and persistent, enabling continuous operation of mesh agents independent of user sessions.

Core Features & Use Cases

  • Persistent Session Management: Manages detached tmux sessions for Claude Code, maintaining active sessions across user logouts.
  • Systemd Integration: Optionally integrates with systemd for crash recovery and automatic re-launch on reboot.
  • Autonomous Behavior: Enables Claude Code to perform tasks autonomously during user absence, following predefined rules and responses.

Quick Start

To start the host-mesh-keeper session, run the following command: bash scripts/host-mesh-keeper.sh start

Frequently Asked Questions about host-mesh-keeper

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

FAQPage Schema
How do I keep Claude Code sessions persistent across user logouts?

To keep Claude Code sessions persistent across user logouts, use the host-mesh-keeper script to manage detached tmux sessions, maintaining active connections for continuous mesh agent operations independently of your active terminal session.

What is the best way to automatically restart Claude Code sessions after a system reboot?

The best way to automatically restart Claude Code sessions after a system reboot is using systemd integration, which provides crash recovery and automatic re-launch capabilities for your persistent tmux sessions.

Can I use systemd with tmux to manage Claude Code autonomous behavior rules?

Yes, you can use systemd with tmux to manage Claude Code autonomous behavior rules. The host-mesh-keeper script integrates these tools to handle session lifecycle and enable autonomous task execution during user absence.

How to start a persistent tmux session for Claude Code mesh agents?

To start a persistent tmux session for Claude Code mesh agents, execute the bash script 'scripts/host-mesh-keeper.sh start'. This initializes a detached tmux session to maintain your continuous operations.

Does Claude Code session management require systemd for mesh agent operations?

Systemd integration is optional for Claude Code session management. The host-mesh-keeper script uses tmux for core persistent session management, while systemd provides optional crash recovery and automatic re-launch on reboot.