Auto-loads recent learnings and workspace activity at session start. Pairs with molecule-skill-cron-learnings — together they give the agent a running summary of past decisions and current state before beginning work.
- Recent learnings — reads the last 10 entries from
~/.molecule/cron-learnings.jsonl(written bymolecule-skill-cron-learnings) - Repo activity — runs
git log --oneline -10to surface recent commits - Issue counts — runs
gh issue list --state opento show open items
All output is emitted as additionalContext on SessionStart.
plugins:
- molecule-session-contextRecommended: Also install molecule-skill-cron-learnings to populate the learnings file.
github://Molecule-AI/molecule-ai-plugin-molecule-session-context
No configuration needed. Install to activate — the hook fires on every session start.
- SessionStart — reads learnings + git log + issue counts, emits as context
hooks/
session-start-context.py # Reads learnings, git, gh; emits additionalContext
session-start-context.sh # Shell wrapper
_lib.py # Shared helpers
adapters/
claude_code.py # Registers hook
settings-fragment.json # Declares SessionStart hook binding
claude_code— primary
See known-issues.md.
Business Source License 1.1 — © Molecule AI.