hermes-agent

hermes-agent is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 110 tokens per session (2,855 once invoked), scanned C, original, MIT.

A local-first, terminal-based AI agent that can use tools, run commands, remember information, and improve its own skills over time. It can connect to models, messaging services, browsers, and other tools.

In plain words
What is it for?
Running shell and file tasks, creating automations and scheduled jobs, preserving useful information between sessions, connecting tools through MCP, and coordinating sub-agents.
Why use it?
It helps automate recurring work while keeping the agent and its memory under your control and allowing it to work through a terminal or connected chat service.

Skill for Claude CodeCodex

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

Good fit Running shell and file tasks, creating automations and scheduled jobs, preserving useful information between sessions, connecting tools through MCP, and coordinating sub-agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/hermes-agent
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 znlgis/opengis-skills --skill hermes-agent
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

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-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/hermes-agent/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/hermes-agent)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/hermes-agent"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/hermes-agent/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-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/hermes-agent"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/hermes-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,855 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00110 $0.02855
Opus 5.5 $0.00044 $0.01142
Sonnet 5.5 $0.00022 $0.00571
Haiku 4.5 $0.00011 $0.00285

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

Security

Grade C, and why

hermes-agent scanned grade C 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 19d ago.

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 codehighSupply chain

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

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

Makes network callslowCapability

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

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
ai/hermes-agent/SKILL.md · 178 lines

How it starts

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

项目地址: https://github.com/NousResearch/hermes-agent

官网 / 文档: https://nousresearch.com/ | https://hermes-agent.nousresearch.com/docs

许可证: MIT | 语言: Python(3.11 – 3.14,requires-python = ">=3.11,<3.15")

最新版本: v0.23.1(截至 2026-11,2026-11-09 发布,实测 releases/latest 重定向;见 GitHub Releases)| 注意 PyPI 上的 hermes-agent 停在 0.19.0,不是本项目发布渠道,勿据其判断版本

概述

Hermes 是「The agent that grows with you」——唯一内置完整学习闭环的开源 Agent。它不是 IDE 插件或单一模型封装,而是一套完整的 Agent Harness:

  • 自学习闭环:使用中自主创建技能(skills)、在使用时改进技能、把关键事实写入持久化记忆、检索自己的历史会话,并对用户建立越来越精确的画像。
  • 终端优先:CLI/TUI(hermes)交互,命令如 hermes setup、hermes model、hermes tools、hermes config、hermes doctor。
  • 模型无关:支持多 Provider 与模型配置体系。
  • 工具系统 + 终端后端:执行命令、读写文件等。
  • MCP 集成与上下文文件。
  • 消息网关:多平台接入(Telegram 等),可一边在聊天里对话一边让它在云端 VM 干活。
  • 定时任务 / 自动化、语音/视觉/浏览器、子代理协作、插件开发。
  • 部署灵活:5 美元 VPS、GPU 集群,或 Daytona / Modal 等空闲近零成本的 Serverless。

安装

支持 Linux、macOS、WSL2、Termux(Android)、Nix。一键脚本:

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
# 脚本会准备 Python 环境,并在 ~/.hermes/hermes-agent/ 下执行 uv pip install -e ".[all]"

source ~/.bashrc      # 或 source ~/.zshrc
hermes                # 进入 TUI

Windows 自 v0.22 起原生支持(CLI、gateway、TUI、工具均可直接跑,无需 WSL2),v0.23 继续支持;仍可用 WSL2 走 Linux 一键脚本。Termux 默认安装 .[termux] 子集(跳过尚未测试的浏览器与 WhatsApp 部分)。

手动 / 开发安装(uv):

git clone https://github.com/NousResearch/hermes-agent.git
cd hermes-agent
curl -LsSf https://astral.sh/uv/install.sh | sh
uv venv venv --python 3.11
uv pip install -e ".[all,dev]"
./hermes               # 直接运行(无需手动 source venv)

初始化与核心命令

hermes setup     # 首次初始化(账户、目录、基础配置)
hermes model     # 选择 Provider 与模型
hermes tools     # 配置每个平台启用哪些 toolset
hermes config    # 编辑配置
hermes doctor    # 体检 / 排错

自学习闭环(核心特性)

Hermes 区别于普通 Agent 的关键在于「学习」:

  • 技能(Skills):把成功的做法沉淀为可复用技能;后续遇到类似任务自动调用并持续改进。
  • 记忆(Memory):把重要事实持久化,跨会话保留;它会「提醒自己」去固化知识。
  • 历史检索:能搜索自己过去的对话,复用上下文与结论。
  • 用户画像:跨会话累积,对「你是谁、偏好什么」建立越来越准的模型。
  • 可选 Honcho 记忆 Provider:接入 plastic-labs/honcho 做辩证用户建模(dialectic user modeling),把零散事实提炼为动态用户画像;仓库内置 plugins/memory/honcho/ 实现,执行 uv pip install -e ".[honcho]" 后以 hermes plugins enable memory:honcho 启用。

Read the full file on GitHub · 178 lines

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. 19d ago Changed · +4 lines efd996ddfc1b
  2. 21d ago Changed · -3 lines 7807ad056d3d
  3. 1mo ago Changed · +10 lines · +64 tokens per session 9a9f1ffe3397
  4. 1mo ago Changed · +1 lines 8864ff41a75f
  5. 1mo ago Changed · +8 lines 61d582e4adcf
  6. 3mo ago First seen · 158 lines · 46 tokens per session scan C 44dd48ec5b1d

Subscribe to this mod's changes

hermes-agent is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 110 tokens to every session and 2,855 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

hermes-agent compared with skills from other repositories

hermes-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
hermes-agentznlgis/opengis-skillsSkill8720d agoMITC110Claude Code, Codex
memory-triagemem0ai/mem0Skill70k3d agoApache-2.0A58Claude Code
rememberlangchain-ai/deepagentsSkill32ktodayMITA71Claude Code, Codex
mem0-climem0ai/mem0Skill70k3d agoApache-2.0A177Claude Code, Codex
mem0-vercel-ai-sdkmem0ai/mem0Skill70k3d agoApache-2.0A146Claude Code, Codex
mempalace-recallMemPalace/mempalaceSkill61ktodayMITA94Claude Code
mempalace-taskMemPalace/mempalaceSkill61ktodayMITA67Claude Code