OmniRoute Backup and Sync CLI
diegosouzapw/OmniRoute
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
hermes-session-maintenance — Maintain Hermes Agent session history: inspect size, export backups, prune old ended sessions, and configure safe auto-prune retention.
$ npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AtlasOmnia/donna-starter hermes-session-maintenance --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/autonomous-ai-agents/hermes-session-maintenance .claude/skills/hermes-session-maintenance && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "hermes-session-maintenance" agent skill from https://github.com/AtlasOmnia/donna-starter/tree/main/skills/autonomous-ai-agents/hermes-session-maintenance into .claude/skills/hermes-session-maintenance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hermes-session-maintenance", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AtlasOmnia/donna-starter/tree/main/skills/autonomous-ai-agents/hermes-session-maintenanceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AtlasOmnia/donna-starter hermes-session-maintenance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/autonomous-ai-agents/hermes-session-maintenance .agents/skills/hermes-session-maintenance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "hermes-session-maintenance" agent skill from https://github.com/AtlasOmnia/donna-starter/tree/main/skills/autonomous-ai-agents/hermes-session-maintenance into .agents/skills/hermes-session-maintenance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hermes-session-maintenance", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AtlasOmnia/donna-starter hermes-session-maintenance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/autonomous-ai-agents/hermes-session-maintenance .cursor/skills/hermes-session-maintenance && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "hermes-session-maintenance" agent skill from https://github.com/AtlasOmnia/donna-starter/tree/main/skills/autonomous-ai-agents/hermes-session-maintenance into .cursor/skills/hermes-session-maintenance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hermes-session-maintenance", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AtlasOmnia/donna-starter.git --path skills/autonomous-ai-agents/hermes-session-maintenance--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AtlasOmnia/donna-starter hermes-session-maintenance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/autonomous-ai-agents/hermes-session-maintenance .gemini/skills/hermes-session-maintenance && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "hermes-session-maintenance" agent skill from https://github.com/AtlasOmnia/donna-starter/tree/main/skills/autonomous-ai-agents/hermes-session-maintenance into .gemini/skills/hermes-session-maintenance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hermes-session-maintenance", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AtlasOmnia/donna-starter hermes-session-maintenanceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/autonomous-ai-agents/hermes-session-maintenance .github/skills/hermes-session-maintenance && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "hermes-session-maintenance" agent skill from https://github.com/AtlasOmnia/donna-starter/tree/main/skills/autonomous-ai-agents/hermes-session-maintenance into .github/skills/hermes-session-maintenance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hermes-session-maintenance", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AtlasOmnia/donna-starter hermes-session-maintenance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/autonomous-ai-agents/hermes-session-maintenance .opencode/skills/hermes-session-maintenance && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "hermes-session-maintenance" agent skill from https://github.com/AtlasOmnia/donna-starter/tree/main/skills/autonomous-ai-agents/hermes-session-maintenance into .opencode/skills/hermes-session-maintenance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hermes-session-maintenance", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
hermes-session-maintenancehermes-session-maintenance — Maintain Hermes Agent session history: inspect size, export backups, prune old ended sessions, and configure safe auto-prune retention.
Hermes Session Maintenance is an agent skill from AtlasOmnia/donna-starter. hermes-session-maintenance — Maintain Hermes Agent session history: inspect size, export backups, prune old ended sessions, and configure safe auto-prune retention.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/session-forensics-token-burn.md`, `references/session-pruning-retention.md` and `references/source-specific-retention-and-cli-clear.md`).
It sits in DevOps & Cloud, covering Backup and disaster recovery. The repository describes itself as: Donna — a starter Hermes Agent profile: opinionated persona, 73 curated skills, guided first-run orientation, optional Token Router. MIT. The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a3710bd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
sqlite3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Hermes Session Maintenance loads about 2.5k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 48 tokens; SKILL.md has 1,090 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from AtlasOmnia/donna-starter at commit a3710bd, republished under its MIT licence (© AtlasOmnia). 1,090 words, ~2,521 tokens.
.claude/skills/hermes-session-maintenance/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Use this skill when the user asks about pruning Hermes sessions, session retention, session DB size, hermes sessions prune, sessions.auto_prune, sessions.retention_days, session export/backup, or whether old conversations should be capped.
hermes-agent for authoritative command references.hermes sessions prune defaults to --older-than 90.sessions.retention_days may also default to 90.sessions.auto_prune: false means nothing is being deleted automatically.hermes sessions statsUse total sessions, messages, per-source counts, and DB size to shape the recommendation.
hermes sessions prune --helphermes config show If the summary output does not include the session settings, inspect the config file's sessions: block directly. Do not use hermes config get; this CLI supports show, edit, set, path, env-path, check, and migrate, not get.
hermes sessions export ~/hermes-sessions-backup-$(date +%Y%m%d).jsonlhermes config set sessions.auto_prune true
hermes config set sessions.retention_days 30hermes sessions prune --older-than 30 Add --yes only if the user has authorized non-interactive deletion.
hermes sessions statsWhen one channel is the bloat source, prune only that source:
hermes sessions prune --older-than 30 --source cli
hermes sessions prune --older-than 90 --source telegramUse this when the user wants to preserve messaging history longer than CLI scratch sessions.
For ongoing split retention, do not rely on global sessions.auto_prune because it has one retention window and can prematurely prune the longer-lived source. Use a quiet script under ~/.hermes/scripts/ and a local no-agent cron job instead:
hermes config set sessions.auto_prune false
hermes config set sessions.retention_days 45 # documentation/default only when auto_prune is off
# ~/.hermes/scripts/prune-sessions-by-source.sh:
# hermes sessions prune --older-than 15 --source cli --yes
# hermes sessions prune --older-than 45 --source telegram --yesSchedule it daily with deliver='local' and no_agent=true so it does not message the user unless it fails. Cron script paths must be relative to ~/.hermes/scripts/, not absolute.
For the detailed split-retention pattern and one-time CLI purge procedure, see references/source-specific-retention-and-cli-clear.md.
When the user explicitly asks to clear all CLI sessions, first try the CLI pruner:
hermes sessions prune --older-than 0 --source cli --yesThen verify. If many CLI sessions remain, check whether they are unended/active (ended_at IS NULL). The built-in pruner only removes prune candidates, so historical CLI sessions that were never marked ended may remain.
For an explicit destructive CLI-only clear, keep the newest/current CLI session, delete messages and sessions rows for other source='cli' sessions directly in ~/.hermes/state.db, then checkpoint/VACUUM after stopping processes that hold the DB. Preserve Telegram/Discord/cron/subagent sessions unless separately requested. See the reference file above for the SQL and verification queries.
retention_days is set. sessions.auto_prune must be true.hermes sessions stats; the right recommendation depends on live DB size and source mix.~/.hermes/state.db, not ~/.hermes/sessions.db. If reclaiming disk space manually, inspect state.db and its -wal/-shm companions.state.db open. A WAL checkpoint may need gateway/dashboard temporarily stopped; a full VACUUM may still require all Hermes CLI sessions to exit. Do not leave a large state.db-wal behind after attempting VACUUM — run PRAGMA wal_checkpoint(TRUNCATE); once locks are clear.Use this skill not only for pruning/retention, but also when the user says a session "looped," burned too many tokens, felt unusually slow, or may have resent content repeatedly.
state.db:sqlite3 ~/.hermes/state.db <<'SQL'
.headers on
.mode column
SELECT id, source, title, model, input_tokens, output_tokens,
cache_read_tokens, reasoning_tokens, api_call_count, message_count,
datetime(started_at,'unixepoch','localtime') AS started,
datetime(ended_at,'unixepoch','localtime') AS ended
FROM sessions
WHERE id='SESSION_ID';
SQLsqlite3 ~/.hermes/state.db <<'SQL'
.headers on
.mode column
SELECT id, role, tool_name, tool_call_id, length(COALESCE(content,'')) AS content_len,
datetime(timestamp,'unixepoch','localtime') AS ts
FROM messages
WHERE session_id='SESSION_ID'
ORDER BY id;
SQLinbound message, response ready,Suppressing normal final send ... content_delivered=True.
That pattern usually means streaming already delivered the final answer once, so the problem was not duplicate send.skill_view payloads,web_search / web_extract calls,response ready, with content_delivered=True, call it an internal tool-call cascade or context-growth problem — not a transport resend loop.session_search() if the user is asking about token burn. Use state.db and gateway.log so the diagnosis is grounded.For lightweight link-analysis or one-question sessions:
See also: references/session-forensics-token-burn.md.
references/session-pruning-retention.md — condensed notes from the session where 30-day auto-prune was evaluated against a 6.7GB session DB.references/session-forensics-token-burn.md — diagnosing whether a session burned tokens because of duplicate delivery, internal tool cascades, or oversized tool payloads.references/session-forensics-token-burn.mdreferences/session-pruning-retention.mdreferences/source-specific-retention-and-cli-clear.md© AtlasOmnia, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (references) in skills/autonomous-ai-agents/hermes-session-maintenance of AtlasOmnia/donna-starter.
Open the folder on GitHubat commit a3710bd
Hermes Session Maintenance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Hermes Session Maintenance this skillAtlasOmnia/donna-starter | 126 | — | ~2.5k | Automated safety check: Pass | MIT | |
| OmniRoute Backup and Sync CLIdiegosouzapw/OmniRoute | 74k | — | ~948 | Automated safety check: Pass | MIT | |
| Pymobiledevice3 Device Operatordoronz88/pymobiledevice3 | 2.9k | — | ~1.8k | Automated safety check: Notes | GPL-3.0 | |
| Myclaw BackupLeoYeAI/openclaw-backup | 659 | — | ~1.8k | Automated safety check: Pass | MIT | |
| OmniRoute Database Backupsdiegosouzapw/OmniRoute | 74k | — | ~395 | Automated safety check: Pass | MIT | |
| Tempsgotempsh/temps | 828 | — | ~2k | Automated safety check: Pass | Apache-2.0 |
diegosouzapw/OmniRoute
Backup and restore OmniRoute data from the CLI. Trigger incremental snapshots, sync to cloud storage, manage backup schedules, and restore from archive files.
doronz88/pymobiledevice3
Operate iOS and iPadOS devices with pymobiledevice3, from a local checkout or straight from PyPI via uvx on a fresh workstation.
LeoYeAI/openclaw-backup
Backup and restore all OpenClaw configuration, agent memory, skills, and workspace data.
diegosouzapw/OmniRoute
Trigger system backups, restore from backup files, and manage the SQLite database lifecycle. Supports export, import, and incremental snapshot strategies.
gotempsh/temps
Manage, deploy, operate, and instrument applications with Temps.
OnlyTerp/hermes-optimization-guide
Set up encrypted off-machine Hermes backups. An agent skill from OnlyTerp/hermes-optimization-guide.
AtlasOmnia/donna-starter
macos-storage-management — Use when freeing Mac storage or moving files to SSDs.
AtlasOmnia/donna-starter
marketing-collateral-design — Use when designing, recreating, critiquing, or exporting static marketing collateral such as flyers, social graphics, postcards, brochures, business cards, print ads…
AtlasOmnia/donna-starter
hermes-self-evaluation — Use when the user asks to evaluate, audit, or optimize Hermes itself — analyzing session history, skill library, costs, and architecture to identify improvements, automation…
AtlasOmnia/donna-starter
skill-auditor — Use when auditing, reviewing, or grading Hermes skills for quality.
AtlasOmnia/donna-starter
local-discovery — Find local events, venues, and activities — ad-hoc web discovery when the user asks 'what's happening' or 'what should I do this weekend'.
AtlasOmnia/donna-starter
cross-browser-typography-qa — Diagnose and verify web typography rendering defects across Chromium, WebKit, and native Safari, including clipped glyphs, broken descenders, wrapping, font metrics…
Categories
hermes-session-maintenance — Maintain Hermes Agent session history: inspect size, export backups, prune old ended sessions, and configure safe auto-prune retention. Hermes Session Maintenance is an agent skill from AtlasOmnia/donna-starter. hermes-session-maintenance — Maintain Hermes Agent session history: inspect size, export backups, prune old ended sessions, and configure safe auto-prune retention.
Hermes Session Maintenance fits situations like: tasks that involve Backup and disaster recovery.
Run `npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a claude-code`. Or copy the skill folder (skills/autonomous-ai-agents/hermes-session-maintenance in AtlasOmnia/donna-starter) into .claude/skills/hermes-session-maintenance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a codex`. Or copy the skill folder (skills/autonomous-ai-agents/hermes-session-maintenance in AtlasOmnia/donna-starter) into .agents/skills/hermes-session-maintenance in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AtlasOmnia/donna-starter --skill hermes-session-maintenance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hermes-session-maintenance, .gemini/skills/hermes-session-maintenance, .github/skills/hermes-session-maintenance and .opencode/skills/hermes-session-maintenance in your project.
Going by SKILL.md and its folder, Hermes Session Maintenance needs the command-line tools its instructions call (sqlite3).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Hermes Session Maintenance is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Hermes Session Maintenance: OmniRoute Backup and Sync CLI (diegosouzapw/OmniRoute, 74k stars), Pymobiledevice3 Device Operator (doronz88/pymobiledevice3, 2.9k stars), Myclaw Backup (LeoYeAI/openclaw-backup, 659 stars) and OmniRoute Database Backups (diegosouzapw/OmniRoute, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AtlasOmnia (a GitHub user) maintains it in AtlasOmnia/donna-starter, which has 126 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 19, 2026.
Source: AtlasOmnia/donna-starter on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.