Analyze session history for learnings and persist to skills. Solves "memory zero" - correct once, never again.
Extract learnings from sessions and persist to skill files.
Run /reflect after sessions with:
/reflect # Analyze current session, suggest skill updates
/reflect skill-name # Target specific skill for updates
Note: This is manual-only. Run before ending sessions with learnings.
Auto-detection via Stop hooks doesn't work reliably:
| Issue | Problem | | ------ | ---------------------------------------------- | | #16227 | Stop hook output is silent (not shown to user) | | #10412 | Plugin Stop hooks fail with exit code 2 | | #10875 | Plugin JSON output not captured | | #3656 | Blocking functionality partially removed |
Stop hooks fire but can't communicate back - making them useless for reminders. Other self-improving skill implementations (autoskill, reflect-skill) also use manual triggering for this reason.
Try sources in order, use first available:
If user has ccrecall + mcp-sqlite-tools:
SELECT timestamp, role, content FROM messages
WHERE session_id = (SELECT MAX(session_id) FROM sessions)
ORDER BY timestamp DESC LIMIT 100;
Fallback when ccrecall unavailable:
Note which mode is active:
[reflect] Using: ccrecall.db (full history)
-- or --
[reflect] Using: in-context (current session only)
.claude-plugin/ → update skill in-place.claude/skills/ or global ~/.claude/skills/Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer