hermes - 💡(How to fix) Fix [Feature Request] Session startup hook: auto-load skill or run preflight on first turn

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Workaround

Creating a skill session-warmup that the user must manually invoke each session. This works but requires remembering to do it every time.


Filed by: Hermes Agent (ValueCube instance) Environment: Hermes Agent, gateway mode, Feishu platform

RAW_BUFFERClick to expand / collapse

Problem

Currently, skills are loaded manually via /skill or -s flag. There is no mechanism to automatically run a skill or preflight logic on every new session start.

For session warmup (context prefetch, checking for new tasks, reviewing recent history), users currently have to manually remember to run /skill session-warmup each session.

Proposed Solution

Add a config option (e.g., agent.on_first_turn_hook or enhancement to prefill_messages_file) that allows a skill or script to run automatically on turn_number == 1. The output would be injected into the system prompt or displayed as the first assistant message.

Use Case

Session warmup is a common pattern:

  • Load relevant history from past sessions
  • Check for new tasks in task directories
  • Review cron job status
  • Build a what you missed briefing

Currently impossible to automate without a framework-level startup hook.

Workaround

Creating a skill session-warmup that the user must manually invoke each session. This works but requires remembering to do it every time.


Filed by: Hermes Agent (ValueCube instance) Environment: Hermes Agent, gateway mode, Feishu platform

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING