hermes - 💡(How to fix) Fix Feature request: session profile flags (-p finance) for lightweight context loading

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…

Code Example

-p finance   load trading context (portfolio, stops, signals, daemon state, scout cache)
-p dev       load project context (repos, CI, deployments)
RAW_BUFFERClick to expand / collapse

Problem

Every session starts with a blank slate. For users who have 100K+ tokens of trading context (positions, ATR stops, signal files, scout agents, etc.), every interaction loads the full firehose even for simple tasks like "send an email" or "check the time."

Proposed Solution

A -p / --profile flag that skips the "Finance or something else?" preamble and loads a predefined context stack directly.

Example:

-p finance   load trading context (portfolio, stops, signals, daemon state, scout cache)
-p dev       load project context (repos, CI, deployments)

How it would work

  1. Profiles are defined in ~/.hermes/profiles/<name>/ (already exists for config profiles)
  2. Each profile has a context.md or context_files: list that gets injected at session start
  3. -p finance would skip the domain question and inject: positions, cash, daily_loss, active positions, stop levels, scout cache, daemon status
  4. Without -p, just ask "Finance or something else?" and keep it lightweight

Why it matters

  • Token cost: a full trading session loads ~80-120K tokens before the user types anything
  • Latency: lightweight sessions start 5-10x faster
  • UX: "send an email" should not cost a dollar in context

Existing infra that supports this

  • Hermes already has ~/.hermes/profiles/<name>/ for config
  • Profiles already support skills/, plugins/, cron/, memories/
  • Just need a context/ or context_inject key that loads files into the system prompt at session start

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