agentleFS
wxxb789wxxb789/hoa/skills/hermes/hermes-context-file-loading/SKILL.md

hermes-context-file-loading

Skill2 starsChanged 11 days agoMITView on GitHub

Trace which SOUL.md, AGENTS.md, MEMORY.md or USER.md Hermes loads into the system prompt. When an instruction is ignored, duplicated or put in the wrong layer, check project-file precedence, working directory, subagent inheritance and prompt caching. Not for agent-operating-contract-evolution.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the versioned loader probe for per-directory override precedence, filtering and an isolated readback.

    line 33
  2. Distinctive:

    Keep identity in the profile, project rules in project files, durable user facts in the appropriate memory layer, and reusable procedures …

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Trace Hermes context files

Resolve the installed Hermes revision, effective profile home, entry point, terminal backend and session cwd. Read back the selected profile's effective terminal.cwd, but verify the actual cwd used for prompt assembly: local CLI, gateway and worker entry points can differ. Do not infer the result from a config file or scan unrelated profiles.

For startup, separate the profile's identity (SOUL.md) from project context and from memory/user snapshots. At the pinned revision, the project slot tries the nearest .hermes.md / HERMES.md, the merged AGENTS.md directory chain, then cwd-scoped CLAUDE.md or Cursor rules. A loaded Hermes project file suppresses the entire AGENTS chain. Tool-result subdirectory hints are a different injection path. A delegated child can skip identity and project context; pass required instructions explicitly instead of assuming inheritance.

Use the versioned loader probe for per-directory override precedence, filtering and an isolated readback. For requested edits or de-duplication, use the audit workflow. Keep identity in the profile, project rules in project files, durable user facts in the appropriate memory layer, and reusable procedures in skills.

Report observed files and precedence, effective profile and cwd, the prompt tier or hint path, and any unverified inheritance or caching behavior. Recheck the installed source after an upgrade before applying the pinned mechanics.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.