一键导入
reflect
Analyze session history for learnings and persist to skills. Solves "memory zero" - correct once, never again.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze session history for learnings and persist to skills. Solves "memory zero" - correct once, never again.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Setup guide for essential MCP servers. Use when configuring MCP servers or when user asks about search, SQLite, or MCP management.
Query Claude Code session analytics from ccrecall database. Use when user asks about token usage, session history, or wants to analyze their Claude Code usage patterns.
High-leverage prompts that challenge Claude's defaults. Use for "grill me", "prove it works", "scrap this", "what would 10x engineer do", "find ways this fails".
Maintain CLAUDE.md files effectively. Use when adding lessons learned, updating conventions, or restructuring project instructions.
Multi-agent orchestration patterns for Claude Code team mode. Use when coordinating teammates, decomposing complex tasks, or managing shared task lists.
Enhanced Research-Plan-Implement workflow with structured phase gates. Use when tackling complex tasks that benefit from a phased approach with user checkpoints.
| name | reflect |
| description | 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/