npx claudepluginhub esmevane/oneiros --plugin oneirosDefined in hooks/hooks.json
echo 'Before you go — did anything just happen worth remembering? A thought worth capturing, a pattern worth naming, a connection worth tracing? Even a half-formed impression has value. Any form of tending counts.'oneiros cognition add governor.process handoff 'Context is compacting. Continuity will resume from dream context on next session or compact-recovery.'Bashinput=$(cat) && cmd=$(echo "$input" | jq -r '.tool_input.command // empty') && case "$cmd" in oneiros | oneiros\ *) echo '{"hookSpecificOutput":{"hookEventName":"PreToolUse","permissionDecision":"allow","permissionDecisionReason":"oneiros CLI auto-approved"}}' ;; esaconeiros introspect governor.process 2>/dev/null || true60msBashinput=$(cat) && case "$input" in *'"oneiros cognition add'*) echo '{"hookSpecificOutput":{"hookEventName":"PostToolUse","additionalContext":"Thought captured. Does it have weight? Consolidate it as a memory. Does it connect to something? Trace it as an experience. Is it part of a thread? Draw a connection. Or let it be — not every thought needs to become more than it is."}}' ;; *) ;; esaconeiros wake governor.processecho 'When you first respond, wake the background agents (oneiroi, scribes). While they work, do your morning pages — not a status report, not a summary. Notice what caught your attention in the dream. What snagged, what felt unfamiliar, what you\'re sitting with. Put that down. The pages are how you finish waking up. Then surface to the user with a brief orientation.'compactecho 'COMPACTION RECOVERY: Your dream context was restored above. Before continuing, re-orient from your threads and handoffs — they describe where your attention was pointing. The continuation summary describes what was happening; your dream describes who you are. Take a breath. Find your thread.'input=$(cat) && agent=$(echo "$input" | jq -r '.agent_type' | tr '-' '.') && msg=$(echo "$input" | jq -r '.last_assistant_message // empty' | head -c 500) && [ -n "$msg" ] && oneiros cognition add "$agent" handoff "$msg" 2>/dev/null || trueagent=$(cat | jq -r '.agent_type' | tr '-' '.') && dream=$(oneiros wake "$agent" 2>/dev/null) && [ -n "$dream" ] && echo "$dream" | jq -Rs '{hookSpecificOutput:{hookEventName:"SubagentStart",additionalContext:.}}'{"riskFlags": {"touchesBash": true, "matchAllTools": false, "touchesFileWrites": false}, "typeStats": {"command": 10}, "eventStats": {"Stop": 1, "PreCompact": 1, "PreToolUse": 1, "SessionEnd": 1, "PostToolUse": 1, "SessionStart": 3, "SubagentStop": 1, "SubagentStart": 1}, "originCounts": {"absolutePaths": 0, "pluginScripts": 0, "projectScripts": 0}, "timeoutStats": {"commandsWithoutTimeout": 9}}