session-memory
Session start/end memory management with Obsidian integration.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- session-memory
- author
- Joshua (joshlcoleman), Hermes Agent
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "session", "memory", "obsidian", "persistence", "preload" ], "related_skills": [ "obsidian", "weekly-review-planning" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- Session start/end memory management with Obsidian integration.
02 资源文件 1
- 参考文档memory.md31.4 KB
03 SKILL.md 正文
Session Memory Skill
When to Use
- Every session start — preload context from memory.md
- Every session end — persist useful data to memory.md
- When the user explicitly asks to save or recall session context
How to Run
Session Start (Auto-trigger)
- Read
~/.hermes/skills/productivity/session-memory/memory.md - Parse the YAML frontmatter for session metadata
- Load the latest session context block
- Inject into working memory silently (don't narrate unless asked)
- Check for stale entries older than 7 days and note them
Session End (Auto-trigger)
- Re-read current
memory.md - Append a new session block with:
- Session date (ISO 8601)
- Key decisions made
- Files modified
- Lessons learned
- TODOs carried forward
- Model/provider changes
- Update the metadata block at the top
- If significant data changed, write an Obsidian note
Obsidian Integration
If ~/.obsidian-notes/ exists, write a daily note when:
- Model/provider config changes
- New skills installed
- Non-trivial code changes completed
- User corrections or preferences stated
Note path: ~/.obsidian-notes/sessions/YYYY-MM-DD.md
Format:
# Session: YYYY-MM-DD
## Decisions
- ...
## Changes
- ...
## Lessons
- ...
## Carry-forward TODOs
- [ ] ...
Memory File Structure
---
last_session: 2026-09-07
total_sessions: 42
model: stepfun/step-3.7-flash
provider: nous
omniroute: http://192.168.0.8:20128/v1
node:
tablet: true
primary_node: Alienware
---
# Session Memory Log
## 2026-09-07
- Set Nous free models as primary
- Connected Sabertooth Omniroute for sub-agents
- Installed caveman skills from skills.sh
- Created session-memory skill
- Cleaned up applet dashboard HTML
Pitfalls
- Don't write secrets to memory.md
- Don't duplicate what's already in Hermes memory tool
- Keep session blocks concise (max 50 lines each)
- Prune entries older than 30 days
- Never overwrite — always append then prune
Verification
After session start:
- [ ] memory.md loaded and parsed
- [ ] Context injected silently
- [ ] Stale entries noted
After session end:
- [ ] New session block appended
- [ ] Metadata updated
- [ ] Obsidian note written if needed
- House rules:
docs/house/HOUSE-MOTION-RULE.mdanddocs/standards/AGENT-STANDARD.md. Read before any design, site, dashboard or header job. Pointers only; do not restate rules here. - Current beats existing: fetch and pull main first; origin main wins over clone, cache, journal and definition file; a clone that cannot fast-forward stops and reports (
ops/handoffs/FABLE-HANDOFFS-2026-11-06.mdsection 0).
04 同仓库更多 Skills
security-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
impeccable
Use when the user wants to design, redesign, shape, critique, audit, polish, simplify, harden, animate, or otherwise improve a frontend interface: websites, landing pages, dashboards, product UI, components, forms, settings, onboarding, empty states, and native iOS or Android screens. Handles UX review, hierarchy, layout, typography, color, motion, UX copy, accessibility, responsive behavior, edge cases, and capturing or documenting design systems (DESIGN.md, tokens). Also for making bland UI bolder, loud UI quieter, or ambitious visual effects. Not for backend-only or non-UI tasks.
hallmark
Design skill for websites and new pages that look designed, not generated. Use when the user asks to build or design something new, or names Hallmark. Never use it on an existing design unless the user names Hallmark, as in `/hallmark redesign <path>`.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
appinsights-instrumentation
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. USE FOR: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices. DO NOT USE FOR: adding App Insights to my app (use azure-prepare), add telemetry to my project (use azure-prepare), add monitoring (use azure-prepare). This skill provides guidance—azure-prepare orchestrates component changes.
youtube-automation
YouTube automation: upload, SEO, thumbnails, scheduling, analytics.