← 返回 Skills 市场
sharoonsharif

reflexion

作者 Sharoon Sharif · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
150
总下载
0
收藏
1
当前安装
2
版本数
在 OpenClaw 中安装
/install reflexion
功能描述
Closed-loop learning for AI coding agents. Auto-captures errors and corrections, recalls relevant past solutions when similar situations arise, and promotes...
安全使用建议
This skill appears to do what it says: it captures command outputs and user corrections and stores learnings under .reflexion/, recalls relevant entries before prompts, and can auto-append promoted rules to CLAUDE.md. Before installing, consider: (1) .reflexion/ contains captured command outputs and commands (the scripts attempt to redact tokens but redaction is heuristic and may miss things) — add .reflexion/ to your .gitignore and review entries before committing; (2) installing the hooks globally enables cross-project capture (privacy risk for multi-project/multi-user machines); (3) promoted rules will modify project files (CLAUDE.md) automatically when criteria are met — if you prefer manual control, run promote.sh manually rather than enabling background promotion; (4) the code requires common tools (git, python3) but no secrets; review the scripts yourself if you want to confirm redaction/behavior. Overall the skill is internally consistent and not requesting unexpected privileges or credentials.
功能分析
Type: OpenClaw Skill Name: reflexion Version: 1.0.1 The reflexion skill bundle implements a local 'Verbal Reinforcement Learning' loop for AI agents, allowing them to capture command errors and recall solutions in future sessions. The scripts (capture.sh, recall.sh, promote.sh) operate entirely on the local filesystem within the project's .reflexion directory and include explicit logic to redact sensitive information like API keys and Bearer tokens before storage. The behavior is transparently documented and strictly aligned with the stated purpose of improving agent performance through episodic memory.
能力评估
Purpose & Capability
Name/description (closed-loop learning for coding agents) match the provided scripts and SKILL.md. The hooks, capture, recall, promote, index rebuild and status scripts align with the declared functionality. Optional env var CLAUDE_PROJECT_ROOT and use of git/python3 are reasonable for determining project root and JSON handling. No extraneous credentials, network endpoints, or unrelated binaries are required.
Instruction Scope
SKILL.md instructs adding hooks that cause capture.sh to run after Bash tool use and recall.sh before prompts; the scripts implement that behavior and intentionally write entries to .reflexion/ and may append to CLAUDE.md. This is expected, but it means command outputs and commands (redacted heuristically) are captured and persisted in the repo. The SKILL.md example JSON includes a cwd field that the actual capture.sh does not produce — a minor documentation mismatch.
Install Mechanism
No install spec is present (instruction-only), so nothing is fetched from remote URLs. The skill is distributed as script files in the skill bundle; it relies on local copying or git clone per the docs. This is low risk from an install perspective.
Credentials
The skill declares no required environment variables or secrets. Runtime code optionally uses CLAUDE_PROJECT_ROOT to locate project root and checks for python3/git; these are proportional to its tasks. It does not request API keys or other credentials.
Persistence & Privilege
The skill writes persistent data into the project's .reflexion/ directory and may append promoted rules to CLAUDE.md. always is false and it does not change other skills' configs, but the recommended global hook installation (in ~/.claude/settings.json) would enable cross-project capture — consider this when installing globally. recall.sh also triggers promote.sh in the background which can modify project files during prompt handling.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install reflexion
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /reflexion 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Add paper citation: Shinn et al. (2023) Reflexion: Language Agents with Verbal Reinforcement Learning (arXiv:2303.11366)
v1.0.0
Initial release: closed-loop learning for AI coding agents. Auto-captures errors, recalls past solutions via keyword matching, auto-promotes recurring patterns to CLAUDE.md.
元数据
Slug reflexion
版本 1.0.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 2
常见问题

reflexion 是什么?

Closed-loop learning for AI coding agents. Auto-captures errors and corrections, recalls relevant past solutions when similar situations arise, and promotes... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 150 次。

如何安装 reflexion?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install reflexion」即可一键安装,无需额外配置。

reflexion 是免费的吗?

是的,reflexion 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

reflexion 支持哪些平台?

reflexion 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 reflexion?

由 Sharoon Sharif(@sharoonsharif)开发并维护,当前版本 v1.0.1。

💬 留言讨论