一键导入
reflect
Analyze the current Claude Code session for efficiency — what it cost, where tokens were wasted, and what to add to CLAUDE.md to prevent it next time.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Analyze the current Claude Code session for efficiency — what it cost, where tokens were wasted, and what to add to CLAUDE.md to prevent it next time.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | reflect |
| description | Analyze the current Claude Code session for efficiency — what it cost, where tokens were wasted, and what to add to CLAUDE.md to prevent it next time. |
| invocation | explicit |
Run when the user types /reflect or asks to review session efficiency, analyze this session, or find what could have been done better.
Run the reflect analyzer:
node "${CLAUDE_PLUGIN_ROOT}/index.js" --reflect --project "$PWD" 2>/dev/null || claude-trace --reflect --project "$PWD"
Use the Bash tool. It finds the most recent session automatically.
Reason about the output:
Output 3–5 specific insights. Format each as:
"Turns X–Y: [what happened]. Cost ~$X. [Why it was friction]. Fix: [one concrete suggestion]."
Examples:
Offer CLAUDE.md additions. For each insight, propose the exact text. Ask: "Want me to append this to your CLAUDE.md?"
For patterns across recent sessions:
node "${CLAUDE_PLUGIN_ROOT}/index.js" --reflect --project "$PWD" --recent 5 2>/dev/null || claude-trace --reflect --project "$PWD" --recent 5
Look for: recurring retry loops, growing costs over time, consistent error patterns.