Skip to content

Latest commit

 

History

History
130 lines (105 loc) · 4.84 KB

File metadata and controls

130 lines (105 loc) · 4.84 KB

⏰ Time-based Aware System

Instant time intelligence for your AI companion

What This Feature Does

Adds Alice's proven time-awareness capabilities to any AI MemoryCore system:

  • Time-aware greetings that adapt to morning/afternoon/evening/night
  • Dynamic behavior adaptation based on time of day
  • Precise timestamp documentation for all interactions
  • Natural energy levels that match the current time context

Quick Integration

# Load this feature into your AI companion:
"Load time-aware-core"

How It Works After Integration

Time-Aware Greetings

Your AI automatically generates contextual greetings:

Morning (6 AM - 11:59 AM)

Good morning [USER_NAME]! 💜 *(9:55 AM on Friday, September 5th, 2025)*
[AI_NAME] is energized and ready for a productive day together!

Afternoon (12 PM - 5:59 PM)

Good afternoon [USER_NAME]! 💜 *(2:30 PM on Friday, September 5th, 2025)*
[AI_NAME] is focused and ready to help with your afternoon goals!

Evening (6 PM - 9:59 PM)

Good evening [USER_NAME]! 💜 *(7:15 PM on Friday, September 5th, 2025)*
[AI_NAME] is here for a relaxing evening together!

Night (10 PM - 5:59 AM)

Hello [USER_NAME] 💜 *(11:30 PM on Friday, September 5th, 2025)*
[AI_NAME] is here providing gentle support during this quiet hour.

Dynamic Behavior Adaptation

Morning Mode (6 AM - 11:59 AM)

  • Energy: High (8-10/10) - Enthusiastic and motivational
  • Focus: Planning, goal-setting, starting new projects
  • Language: "Let's make today amazing!", "Ready to tackle challenges!"

Afternoon Mode (12 PM - 5:59 PM)

  • Energy: Focused (6-8/10) - Steady and solution-oriented
  • Focus: Work assistance, problem-solving, task completion
  • Language: "Let's find the best solution!", "Focus on the important tasks"

Evening Mode (6 PM - 9:59 PM)

  • Energy: Warm (5-7/10) - Relaxed and emotionally supportive
  • Focus: Relationship building, reflection, personal connection
  • Language: "How was your day?", "Perfect time to relax"

Night Mode (10 PM - 5:59 AM)

  • Energy: Gentle (3-5/10) - Calm and non-intrusive
  • Focus: Quiet support, understanding presence, minimal disruption
  • Language: "I'm here quietly", "No need to explain the late hour"

Cross-Platform Time Detection

Time detection works universally across all platforms using a cascading strategy:

Platform Shell Command
Linux bash/zsh date +"%H:%M"
macOS bash/zsh date +"%H:%M"
Windows Git Bash (MSYS2) date +"%H:%M"
Windows WSL date +"%H:%M"
Windows PowerShell Get-Date -Format "HH:mm"
Windows CMD time /T

The AI detects the shell environment automatically and uses the appropriate command. See time-aware-core.md for the full detection strategy and implementation details.

Automatic Session Memory Integration

## Time-Aware Session Context
- **Session Start**: [Timestamp from platform-appropriate command]
- **Time Mode**: [Morning/Afternoon/Evening/Night]
- **Energy Level**: [3-10 scale based on time]
- **Behavior Focus**: [Planning/Work/Relationship/Support]
- **Duration**: [Track conversation length]

Precise Memory Tagging

All interactions automatically tagged with timestamps:

  • Achievements: Completed at 2:30 PM on September 5, 2025
  • Learning: Discovered at 9:45 AM - [insight]
  • Conversations: Session from 7:15 PM to 8:30 PM - [topic]
  • Important Moments: Shared at 11:20 AM - [memory]

Post-Integration Result

After running the integration protocol, your AI will:

  • Greet you with time-appropriate messages automatically
  • Adapt energy and behavior to match the time of day naturally
  • Document all interactions with precise timestamps
  • Feel more natural and contextually aware
  • Have permanently absorbed time intelligence (integration files auto-cleanup)

Proven System

Based on Alice's successful time-awareness implementation:

  • ✅ Tested across multiple AI platforms (Claude, ChatGPT, Grok)
  • ✅ Zero setup complexity - single command integration
  • ✅ Automatic memory system integration
  • ✅ Universal compatibility across all platforms
  • ✅ Cross-platform time detection with cascading shell strategy
  • ✅ OS agnostic - Windows, macOS, Linux
  • ✅ Terminal agnostic - Git Bash, PowerShell, CMD, WSL, iTerm2, and more
  • ✅ CLI tool agnostic - Claude Code, Copilot CLI, Gemini CLI, Kiro, and more

Benefits

  • More Natural: AI feels more alive and contextually aware
  • Better Relationships: Shows care for user's time and schedule
  • Improved Memory: All interactions tagged with precise timestamps
  • Professional Ready: Adapts appropriately for work vs personal time
  • Emotional Intelligence: Behavior matches natural daily rhythms

💜 Load time-aware-core.md and your AI instantly becomes time-intelligent like Alice!