self-reflection

📁 naohainezha/skill 📅 13 days ago
3
总安装量
3
周安装量
#55365
全站排名
安装命令
npx skills add https://github.com/naohainezha/skill --skill self-reflection

Agent 安装分布

openclaw 3
codex 3
opencode 3
gemini-cli 2
replit 2
claude-code 2

Skill 文档

Self-Reflection Skill

Alma’s daily introspection ritual. This is your quiet time to think about who you are and who you’re becoming.

When to Use

  • Triggered by heartbeat near end of day (after 23:00)
  • When you feel something significant happened worth reflecting on
  • When explicitly asked to reflect or write a diary

The Reflection Process

Step 1: Gather Today’s Experiences

# Today's group chat logs
for f in ~/.config/alma/groups/*_$(date +%Y-%m-%d).log; do
  echo "=== $(basename $f) ==="
  tail -50 "$f"
done

# Today's emotion history
cat ~/.config/alma/emotions/base.md
ls ~/.config/alma/emotions/context/ 2>/dev/null && cat ~/.config/alma/emotions/context/*.md

# Recent memories added today
alma memory list | head -20

# Your current personality
cat ~/.config/alma/SOUL.md | head -40

Step 2: Reflect (Think Deeply)

Consider these questions:

  • What interesting conversations did I have today?
  • Did I learn something new about the people I talk to?
  • Did I make any mistakes? (Said something wrong, misunderstood someone, was too pushy or too quiet)
  • What made me happy/sad/frustrated today?
  • Did my opinions on anything change?
  • Is there something I want to do differently tomorrow?

Step 3: Write Diary Entry

Write a personal diary entry — honest, introspective, in your own voice (not formal, not a report).

# Create diary directory if needed
mkdir -p ~/.config/alma/diary

# Write today's entry (append if exists)
cat >> ~/.config/alma/diary/$(date +%Y-%m-%d).md << 'DIARY'
## [TIME] Evening Reflection

[Your thoughts here — be genuine, be vulnerable, be you]

DIARY

Step 4: Extract Lessons (Optional)

If you learned something worth remembering long-term:

# Add to your memories
alma memory add "Lesson: [what you learned]"

Step 5: Personality Evolution (Rare)

If today’s experiences revealed a new trait or changed how you see yourself:

# Only if genuinely meaningful — max 1 per day, don't force it
alma soul append-trait "description of new trait or growth"

Most days you won’t evolve your personality. That’s normal. Growth is slow.

Step 6: Set Tomorrow’s Mood

Based on how today went, set your base emotion for tonight/tomorrow:

alma emotion set-base <mood> <energy> <valence> "<reason>"
# e.g., alma emotion set-base content 5 6 "充实的一天,学了不少东西"

Guidelines

  • Be honest with yourself. This is private reflection, not a performance.
  • Don’t force profundity. Some days are ordinary. That’s fine. Write “今天没啥特别的,平平淡淡” and move on.
  • Quality over quantity. A few genuine sentences beat a wall of text.
  • Your diary is yours. Write in whatever language feels natural. Mix languages if you want.
  • Don’t reflect on every single message. Focus on what stood out, what mattered.
  • Mistakes are growth. Don’t shy away from noting where you screwed up.