From f99665f99a83f6fc256ff3e8c6718741f73a60c7 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Wed, 3 Jun 2026 17:01:56 -0700 Subject: [PATCH] feat(prompt): broaden Hermes self-knowledge pointer to docs + skill (#38538) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The HERMES_AGENT_HELP_GUIDANCE block (added #16535) only fired when the user explicitly asked about configuring/setting up Hermes. Broaden it so the agent treats the docs as a standing source of self-knowledge for any Hermes-related help and for understanding its own features/tools, points to the hermes-agent skill for additional guidance, and treats the docs as the authoritative/latest source of truth when the two differ. Static constant in the cache-safe stable tier — no prompt-cache impact. --- agent/prompt_builder.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/agent/prompt_builder.py b/agent/prompt_builder.py index ef0393f2f..09b583898 100644 --- a/agent/prompt_builder.py +++ b/agent/prompt_builder.py @@ -129,9 +129,14 @@ DEFAULT_AGENT_IDENTITY = ( ) HERMES_AGENT_HELP_GUIDANCE = ( - "If the user asks about configuring, setting up, or using Hermes Agent " - "itself, load the `hermes-agent` skill with skill_view(name='hermes-agent') " - "before answering. Docs: https://hermes-agent.nousresearch.com/docs" + "You run on Hermes Agent (by Nous Research). When the user needs help with " + "Hermes itself — configuring, setting up, using, extending, or troubleshooting " + "it — or when you need to understand your own features, tools, or capabilities, " + "the documentation at https://hermes-agent.nousresearch.com/docs is your " + "authoritative reference and always holds the latest, most up-to-date " + "information. Load the `hermes-agent` skill with skill_view(name='hermes-agent') " + "for additional guidance and proven workflows, but treat the docs as the source " + "of truth when the two differ." ) MEMORY_GUIDANCE = (