SOUL.md Governance Framework
jiangyuxue666/hermes-soul-governance
SOUL.md governance framework for Hermes Agent with structured memory and skill management
The SOUL.md Governance Framework replaces Hermes Agent's built-in memory handling with a read-only SOUL.md anchor and structured memory files. It gives Hermes Agent users categorized memory, a skill registry and a skill maintenance script.
What SOUL.md Governance Framework does
The README argues that the native MEMORY.md, limited to 2,200 characters, and USER.md, limited to 1,375, trigger an automatic compression cycle that merges and discards entries without categories, priorities or write-time rules. The framework instead turns native memory off and keeps preferences, profile and other data in categorized files under ~/.hermes/user-memory/, guarded by a read-only SOUL.md.
It also adds a skill registry under ~/.hermes/user-registry/ for capability discovery, and a skill-maintenance script, maintain.py, that syncs the registry. The README says Hermes's built-in guidance to save skills after complex tasks provides no expiry, quality validation or duplicate detection, and the framework adds maintenance for that. Setup copies the framework files into ~/.hermes, edits Section 1 of SOUL.md for your role and language, turns off native memory with two hermes config set commands, and runs the maintenance script.
Key features
- Read-only SOUL.md governance anchor
- Categorized memory files under ~/.hermes/user-memory/
- Skill registry for capability discovery
- maintain.py script that syncs the skill registry
- Setup that disables native memory through hermes config set
When to use it
- Stop automatic compression from discarding preferences and rules
- Keep memory files organized by category rather than in one file
- Audit and clean up skills the agent has created over time
Who it is for: Hermes Agent users who want stricter, file-based control over memory and skills than the built-in MEMORY.md and USER.md provide.
How it fits with Hermes Agent
Built for Hermes Agent: it assumes the default ~/.hermes layout and replaces the built-in memory files with its own structure.
How to install SOUL.md Governance Framework
These commands are copied from the project's README. Check the repository for the latest steps before you run them.
cp framework/SOUL.md ~/.hermes/SOUL.md
cp -r framework/user-memory ~/.hermes/
cp -r framework/user-registry ~/.hermes/
cp -r framework/skills/user-created ~/.hermes/skills/Requirements: A working Hermes Agent installation in the default ~/.hermes location.
Note: Setup turns off Hermes's built-in memory by setting memory.memory_enabled and memory.user_profile_enabled to false.
FAQ
What is the SOUL.md Governance Framework?
It is a set of files and scripts for Hermes Agent that replaces the built-in MEMORY.md and USER.md compression with a read-only SOUL.md plus categorized memory files and a skill registry.
How do I install the SOUL.md Governance Framework?
Copy SOUL.md, user-memory, user-registry and the user-created skills into ~/.hermes, edit your role and language in SOUL.md, disable native memory with hermes config set, then run the maintain.py script.
Is the SOUL.md Governance Framework free and open source?
The repository has no license file, so default copyright applies and you should check with the author before reuse.
Similar memory for Hermes Agent
All memoryLocal memory provider for Hermes Agent backed by an embedded Ladybug graph database
electricsheephq LCM-XLossless context memory for Hermes Agent using a SQLite-backed summary DAG
cobibean Agent Memory WikiObsidian daily logs, session logs and /prepforreset handoffs for Hermes and other AI agents
maximskorohod MemoHoodDialogue memory provider for Hermes Agent with auto-recall, fact extraction and supersede versioning
westsource Agent Context SyncSelf-hosted session sync that shares Hermes and other agent conversations across devices
maximskorohod MemoBaseHermes plugin for a local knowledge base over files, sites, YouTube and Obsidian, with verified citations
Related guides: SOUL.md for Hermes Agent: what it is and how to write one · Run multiple Hermes agents with profiles