hermes-context-file-loading
Trace how Hermes assembles its system prompt from instruction files: which file loads from which directory, which project file wins when several exist, and which tier each rule lands in. Use when auditing or editing SOUL/AGENTS/MEMORY/USER files, deciding where a durable rule belongs, debugging an instruction file that did or did not take effect, or reasoning about subagent context and prompt cache stability. Not for editing the runtime source, and not for other harnesses' context files.
Target: Target not categorized. Automatically collected · unverified.
Excerpt from the author’s documentation
Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.
Read the original English text
Topics in the source
- Hermes Context File Loading
- When to use this skill
- The one table that matters: file → mechanism
- Critical precedence rule (project context = ONE slot)
- Prompt-assembly tiers (cache discipline)
- Hard facts to design around
- Decision shortcut
- Verification recipe (re-confirm after Hermes upgrades)
How Hermes builds its system prompt from instruction files. Mechanics here override any vibe-based assumption — when in doubt, re-read the loader functions in $HERMESHOME/hermes-agent/agent/promptbuilder.py and the runtime's context-files docs page (user-guide/features/context-files/). Function names are stable; line numbers drift between versions, so locate by name. Auditing / editing SOUL.md, AGENTS.md, MEMORY.md, USER.md, or any context file. Deciding which layer a durable rule belongs in (identity vs project vs memory). Debugging "why did/didn't this instruction file take effect?" Reasoning about subagent context, cwd dependence, or prompt-cache stability. For a step-by-step audit + surgical de-dup procedure (backup → verify-paths → owner decisions → collapse-duplicates-to-pointer → memory-cap handling → verify), see references/auditing-instruction-files-workflow.md. Run it whenever the owner asks to clean, de-dup, or fix conflicts across the four instruction files. | File | Loader fn (promptbuilder.py) | Discovery scope | git? | Global? | |------|--------------------------------|-----------------|------|---------| | SOUL.md | loadsoulmd() | HERMESHOME/SOUL.md ONLY — never prob
This is an excerpt. Refer to the complete source and its current requirements.
- Source repository
- wxxb789/hoa
- Source file
- skills/hermes-context-file-loading/SKILL.md
- Fixed revision
- beb1eca66d8fed7c3942dc3ef50990bf37837706
Requirements
- Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.
A small first task
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
Instructions for your AI tool
- Claude Desktop: resource-specific guide not available yet
- Claude Code: resource-specific guide not available yet
- Cursor: resource-specific guide not available yet
- Codex: resource-specific guide not available yet
Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.
Sources and evidence
This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.
Author: wxxb789/hoa · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T20:02:15.387Z.
Categories are inferred from names, descriptions and paths. They do not establish compatibility.
License and attribution
MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.
Original license ↗Synchronization, copying and user-reported success do not mark a resource as runtime-tested.
Limitations and notes
- Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.