โ† All skills
Tencent SkillHub ยท Productivity

Self Reflection

Periodic self-reflection on recent sessions. Analyzes what went well, what went wrong, and writes concise, actionable insights to the appropriate workspace f...

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Periodic self-reflection on recent sessions. Analyzes what went well, what went wrong, and writes concise, actionable insights to the appropriate workspace f...

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/summarize-sessions.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 18 sections Open source page

Self-Reflection Skill

Reflect on recent sessions and extract actionable insights. Runs hourly via cron.

Step 1: Gather Recent Sessions

# List sessions active in the last 2 hours openclaw sessions --active 120 --json Parse the output to get session keys and IDs. Skip subagent sessions (they're task workers, not interesting for reflection). Focus on: Telegram group/topic sessions (real user interactions) Direct sessions (1:1 with Brenner) Cron-triggered sessions (how did automated tasks go?)

Step 2: Read Session History

For each interesting session from Step 1, read the JSONL transcript: # Read the last ~50 lines of each session file (keep it bounded!) tail -50 ~/.openclaw/agents/main/sessions/<sessionId>.jsonl โš ๏ธ CRITICAL: Never load full session files. Use tail -50 or Read with offset/limit. Sessions can be 100k+ tokens. Parse the JSONL to understand what happened. Look for: type: "user" or type: "human" โ€” what was asked type: "assistant" โ€” what you responded type: "tool_use" / type: "tool_result" โ€” what tools were called and results Error patterns, retries, confusion

Step 3: Analyze & Extract Insights

For each session, ask yourself:

What went well?

Tasks completed smoothly on first try Good tool usage patterns worth reinforcing Efficient approaches to remember

What went wrong?

Errors, retries, wrong approaches Misunderstandings of user intent Tools that didn't work as expected Context that was missing

Lessons learned?

"Next time, do X instead of Y" "Remember that Z works this way" "Tool A needs parameter B or it fails" "When user says X, they usually mean Y" Quality bar: Each insight must be: Specific โ€” not "be more careful" but "check if file exists before editing" Actionable โ€” something future-you can directly apply Non-obvious โ€” skip things any competent agent would know New โ€” don't repeat insights already captured

Step 4: Route Insights to the Right Files

Each insight belongs somewhere specific. Route them:

โ†’ AGENTS.md

Process improvements (how to handle sessions, memory, etc.) New conventions or workflow rules Safety lessons

โ†’ TOOLS.md

Tool-specific gotchas ("gog needs --json flag for parsing") Environment details (paths, configs, quirks) New tool patterns discovered

โ†’ memory/YYYY-MM-DD.md (today's date)

Session-specific context ("Brenner asked about X project") Temporary facts that matter today but not forever What happened today (events, decisions, requests)

โ†’ memory/about-user.md

New preferences discovered Communication style observations Project/interest updates

โ†’ skills/<skill-name>/SKILL.md

Improvements to specific skill instructions Bug fixes in skill workflows New parameters or approaches for a skill

โ†’ MEMORY.md

Updates to the memory index if new memory files are created

Step 5: Write the Insights

  • For each insight, append or edit the appropriate file. Use the Edit tool for surgical changes to existing content. Use append (write to end) for daily memory files.
  • Format for daily memory files:
  • ## Self-Reflection โ€” HH:MM ET
  • ### Insights
  • [source: session-key] Lesson learned here
  • [source: session-key] Another insight
  • ### Tool Notes
  • Discovered: tool X needs Y configuration
  • ### User Context
  • Brenner mentioned interest in Z

Step 6: Summary

After writing all insights, produce a brief summary of what you reflected on and what you wrote. This is your output โ€” keep it to 2-4 sentences max. If there's nothing interesting to reflect on (quiet period, only heartbeats), just say so. Don't manufacture insights.

Quality Checklist

Before writing any insight: Is this actually new? (Check existing files first) Is this specific and actionable? Am I routing it to the right file? Am I keeping daily memory files concise (not dumping full transcripts)? Did I respect the token budget (no huge file reads)?

Anti-Patterns (Don't Do These)

โŒ Don't summarize every session โ€” only extract lessons โŒ Don't read full JSONL files โ€” tail/limit only โŒ Don't write vague insights ("improve response quality") โŒ Don't duplicate existing knowledge โŒ Don't create new files when appending to existing ones works โŒ Don't reflect on your own reflection sessions (skip cron:self-reflection sessions)

Category context

Workflow acceleration for inboxes, docs, calendars, planning, and execution loops.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
1 Docs1 Scripts
  • SKILL.md Primary doc
  • scripts/summarize-sessions.sh Scripts