Skills prompt cache invalidation bug and fixes

NousResearch/hermes-agent · cluster 92313 · agent

Data as of

Nothing open on GitHub. Fix merged in #118661. Check it covers your case.

The short answer

0open issues
0open PRs
6items grouped
Known?
Yes. 6 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #118661. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where newly installed skills are invisible to a running gateway due to stale in-process skill prompt caching with no cross-process invalidation. Multiple fix attempts address this by including the skills manifest in the cache key and invalidating the skills LRU cache when the skills directory changes.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #118661 Skills added mid-conversation reach the model on every surface, prompt cache kept (port cloudflare-os#267, fixes #92313)

    merged to main

    files: agent/prompt_builder.py, agent/skills_index_delta.py, agent/turn_context.py, hermes_cli/plugins_activation_live.py, tests/agent/test_skills_index_delta.py, website/docs/developer-guide/prompt-assembly.md, website/docs/user-guide/features/skills.md

4 PRs closed without merging

From the close comments: done elsewhere 2 · superseded by another PR 2

  • #92320 fix(prompt): invalidate skills index LRU when skills dir changes (fixes #92313) · done elsewhere → 097fcaa, c098b2b, #118661
  • #94089 fix(agent): include skills manifest in prompt cache key · superseded by another PR → #92320
  • #103555 fix(agent): include skills manifest in prompt cache key (#92313) · superseded by another PR → #92320, #92313, #94089
  • #106230 fix(prompt): invalidate skills LRU when skills dir changes (rebased from #92320) · done elsewhere → 097fcaa, c098b2b, #118661
Closed issues · 1
  • Closed#92313Newly installed skills invisible to running gateway: stale in-process _SKILLS_PROMPT_CACHE (no cross-process invalidation)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.33: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Merged PRs
#118661
Closed issues
1
Attempts
4 PRs closed without merging
Fix link checked
10 Oct 2026

For your agent

The same facts, typed.