BC

bayramannakov/claude-reflect

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1981 stars 质量 68 趋势 17MIT

一个自学的Claude代码系统,能捕捉纠正、正反馈和偏好——然后将它们与 CLAUDE.md 和 AGENTS.md 同步。

概览

一个自学的Claude Code系统,能够捕捉修正并发现工作流程模式——将其转化为永久记忆和可重复使用的技能。 当你纠正Claude(“不,用gpt-5.1而不是gpt-5”)时,它会永远记住。 分析你的会话历史,找出可能被重复使用的重复任务。 举个例子:你问了12次“review my productivity”,→建议创建/daily-review(每日回顾) 安装后,(退出并重新打开)。然后钩子自动配置,命令就绪。 当你第一次运行/反思时,系统会提示你浏览过去的会话以获取学习内容。 - 已安装的 Claude Code CLI - Python 3.6+(大多数系统包含) - :完全支持 - :完全支持 - :完全支持(原生 Python,无需 WSL)

概述(AI 翻译)

一个自学的Claude Code系统,能够捕捉修正并发现工作流程模式——将其转化为永久记忆和可重复使用的技能。

两种运行方式:

插件(Python) Mod(reflect-mod,3.3新增)
你纠正了 Claude 一个钩子排队 模型检查一次能看到它,任何语言
你会评论 稍后,/reflect 立即,在提示词上方的乐队中
运行于 Claude Code,加上 Codex/Cursor,通过 AGENTS.md Claude Code 2.1.286+ 带模组

选一个。安装插件或模组。

它的作用

1.向纠正学习

当你纠正Claude(“不,用gpt-5.1而不是gpt-5”)时,它会永远记住。

2.发现工作流程模式(v2新增)

分析你的会话历史,找出可能被重复使用的重复任务。

举个例子:你问了12次“review my productivity”,→建议创建/daily-review

主要特色

特色 功能
永久记忆 修正同步到 CLAUDE.md——克劳德跨会话记忆
技能发现 在你的历史中发现重复的模式→生成命令

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

claude-reflect

A self-learning system for Claude Code that captures corrections and discovers workflow patterns — turning them into permanent memory and reusable skills.

Two ways to run it:

Plugin (Python) Mod (reflect-mod, new in 3.3)
You correct Claude a hook queues it a model check sees it at once, in any language
You review later, with /reflect right away, in a band above the prompt
Runs on Claude Code, plus Codex/Cursor via AGENTS.md Claude Code 2.1.286+ with mods

Pick one. Install the plugin or the mod.

What it does

1. Learn from Corrections

When you correct Claude (“no, use gpt-5.1 not gpt-5”), it remembers forever.

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│  You correct    │ ──► │  Hook captures  │ ──► │  /reflect adds  │
│  Claude Code    │     │  to queue       │     │  to CLAUDE.md   │
└─────────────────┘     └─────────────────┘     └─────────────────┘
      (automatic)            (automatic)            (manual review)

2. Discover Workflow Patterns (NEW in v2)

Analyzes your session history to find repeating tasks that could become reusable commands.

┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐
│  Your past      │ ──► │ /reflect-skills │ ──► │   Generates     │
│  sessions       │     │ finds patterns  │     │   /commands     │
└─────────────────┘     └─────────────────┘     └─────────────────┘
    (68 sessions)         (AI-powered)            (you approve)

Example: You’ve asked “review my productivity” 12 times → suggests creating /daily-review

Key Features

Feature What it does
Permanent Memory Corrections sync to CLAUDE.md — Claude remembers across sessions
Skill Discovery Finds repeating patterns in your history → generates commands
Multi-language AI understands corrections in any language
Skill Improvement Corrections during /deploy improve the deploy skill itself

Installation

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add bayramannakov/claude-reflect
新手?先看 mcpskill.org 教程 →