hermes-config-editing

hermes-config-editing is a skill for Claude Code, Codex from AtlasOmnia/hermes-custom-pack. It costs 38 tokens per session (3,357 once invoked), scanned B, a copy of hermes-config-editing, MIT.

Instructions for changing values in Hermes Agent's YAML configuration file, including nested settings such as compression options.

In plain words
What is it for?
Use them to inspect, minimally edit and validate Hermes configuration while preserving comments and existing file structure.
Why use it?
They address cases where the normal command or direct file edit appears to work but does not actually save the requested setting.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: mentions subagents; mentions AGENTS.md; mentions Codex.

Good fit Use them to inspect, minimally edit and validate Hermes configuration while preserving comments and existing file structure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/atlasomnia/hermes-custom-pack/hermes-config-editing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add AtlasOmnia/hermes-custom-pack --skill hermes-config-editing
Clone the repo
git clone --depth 1 https://github.com/AtlasOmnia/hermes-custom-pack

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hermes-config-editing

README.md
[![agentmods](https://agentmods.dev/badge/skills/atlasomnia/hermes-custom-pack/hermes-config-editing/github.svg)](https://agentmods.dev/skills/atlasomnia/hermes-custom-pack/hermes-config-editing)
Your own site
<a href="https://agentmods.dev/skills/atlasomnia/hermes-custom-pack/hermes-config-editing"><img src="https://agentmods.dev/badge/skills/atlasomnia/hermes-custom-pack/hermes-config-editing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hermes-config-editing

Your own site · 80×15
<a href="https://agentmods.dev/skills/atlasomnia/hermes-custom-pack/hermes-config-editing"><img src="https://agentmods.dev/badge/skills/atlasomnia/hermes-custom-pack/hermes-config-editing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,357 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.03357
Opus 5 $0.00019 $0.01679
Sonnet 5 $0.00008 $0.00671
Haiku 4.5 $0.00004 $0.00336

Measured 10d ago against content hash 72c2b67d0c68, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

hermes-config-editing scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify-compression.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codemediumSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s http://127.0.0.1:8642/api/model/info | python3 -m json.tool

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://127.0.0.1:8642/api/model/info | python3 -m json.tool
Origin

This is a copy

100% identical to hermes-config-editing — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/hermes-config-editing/SKILL.md · 256 lines

How it starts

The opening of the file, as written. The whole thing — 256 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hermes Config Editing

Edit ~/.hermes/config.yaml values reliably, working around the security guard that blocks direct file edits and CLI commands that don't persist for nested keys.

The Problem

  • Security guard: Direct patch/write_file on config.yaml is blocked — "security-sensitive configuration". Agent must not treat it as a normal file.
  • CLI doesn't work for all keys: hermes config set compression.threshold 0.80 runs without error but often fails to persist changes (especially nested YAML paths).
  • switch-provider.py may be missing: AGENTS.md historically references it, but it can be removed or moved after updates. Never assume it exists; verify with ls before relying on it. If missing, fall back to manual config edits via the patterns below.

Reliable Pattern: Inspect, Then Minimal Section-Aware Edit

Use the Hermes venv Python to inspect and validate YAML, but prefer targeted text edits for config.yaml so comments and ordering survive.

# Inspect the current live values first
~/.hermes/hermes-agent/venv/bin/python3 - <<'PY'
import yaml
p='~/.hermes/config.yaml'
with open(p) as f: cfg=yaml.safe_load(f)
print('compression=', cfg.get('compression'))
print('auxiliary.compression=', (cfg.get('auxiliary') or {}).get('compression'))
PY

For a small numeric change, use a section-bounded script rather than a full YAML dump:

from pathlib import Path
p = Path('~/.hermes/config.yaml')
lines = p.read_text().splitlines(keepends=True)
out = []
in_section = False
for line in lines:
    if line.startswith('compression:'):
        in_section = True
    elif in_section and line and not line.startswith((' ', '\n', '#')):
        in_section = False
    if in_section and line.lstrip().startswith('threshold:'):
        indent = line[:len(line) - len(line.lstrip())]
        line = f'{indent}threshold: 0.85\n'
    elif in_section and line.lstrip().startswith('target_ratio:'):
        indent = line[:len(line) - len(line.lstrip())]
        line = f'{indent}target_ratio: 0.30\n'
    out.append(line)
p.write_text(''.join(out))

Read the full file on GitHub · 256 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 256 lines · 38 tokens per session scan B 72c2b67d0c68

Subscribe to this mod's changes

hermes-config-editing is a skill published in the GitHub repository AtlasOmnia/hermes-custom-pack (56 stars, last pushed 26d ago), licensed MIT. It adds 38 tokens to every session and 3,357 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (downloads and executes remote code, makes network calls). It is 100% identical to hermes-config-editing, differing in 0 lines, and is treated as a copy.