侵权申诉企业服务帮助中心
闽ICP备2026002457号-1Copyright © 2006-2026ZCOOL站酷
看点高级的
拿点有用的
学点真干货
找点新财路
发布
登录注册

Agent自我反思改进

精选资产
北京/设计爱好者
适合谁
Agent 开发者、AI 研究员
目标结果
通过自我反思持续提升 Agent 表现
场景
其他
agent工具
ai agent
agent自我反思改进
自我反思
质量提升
经验总结
持续改进
ai工作流
Reflection

使用说明

帮助 Agent 对自身输出进行回顾与改进,通过结构化自评(预设评估维度→逐项打分→识别弱项)、错误识别、经验总结,持续提升 Agent 的表现质量与可靠性。适用场景:①Agent 在多轮对话后自我检查是否存在逻辑矛盾;②对比多次输出寻找质量退化的信号;③将每次纠正沉淀为可复用的经验规则。 GitHub 创作者:davidkiss;GitHub 链接:https://github.com/davidkiss/smart-ai-skills

安装命令详情

Agent 安装(提示词)

推荐

把安装 Prompt 交给兼容 Agent,即可在 ClaudeCode / Cursor / OpenClaw 这类宿主里按推荐方式拉起并启用 Skill。

请直接执行以下命令安装 skill,不要修改任何参数,也不要尝试其他安装方式: npx zcool-skills add reflection -g -y 要求: 1. 先检查 node、npm、npx 是否可用,若缺失、版本异常或环境变量未生效,请优先自动修复当前运行环境,再继续执行安装流程。 2. 执行完成后明确返回: - skill_name: reflection - success: true/false - message: 安装结果或错误原因 3. 如果失败,不要自行重试其他不确定命令。

下载 Skill 包

通用安装方式,适合手动归档、团队分享和离线留存。

reflection.zip

CLI 安装

适合已经在 openclaw / Cursor / 龙虾 里稳定使用 Skill 的团队,同步和脚本化部署效率最高。

$ npx zcool-skills add reflection -g -y

文件预览

SKill.md

---
name: reflection
description: "MUST use this skill when user provides feedback / ask to do things in certain way, or when a tool call fails - for self-improvement - to learn user preferences and store them in AGENT.md / CLAUDE.md, and to propose improvements to skills."
---

# Reflection Skill

## Overview
This skill is used to learn from interaction with the user and failures in tool calls. It analyzes what worked, what didn't (tool failures), and identifies recurring patterns or explicit user preferences that should be formalized.

## Objectives
- **Improve Skills:** Identify gaps or inefficiencies in existing skill definitions and propose concise updates.
- **Store Preferences:** Capture user preferences, project-specific rules, or recurring instructions in a `AGENT.md` or `CLAUDE.md` (when used in Claude Code) file.

## Process
1.  **Analyze:** Review the conversation history, tool calls, and any failures or corrections from the user.
2.  **Identify:** Determine if a specific behavior should be codified in a skill or if a user preference has emerged.
3.  **Propose:** Formulate a single, concise change.
    -   If updating a skill, show a diff of the proposed change.
    -   If adding a preference, show the proposed addition to `CLAUDE.md`.
4.  **Confirm:** Present the proposal to the user and ask for explicit confirmation without making any changes first.
5.  **Apply Changes:** Once user confirmed the changes, only then apply them

## Guidelines
- **One at a time:** Only propose one change per invocation to maintain focus and allow for careful review.
- **Conciseness:** Keep changes as brief as possible. Often a few words are enough to clarify a requirement or fix a common mistake.
- **Accuracy:** Ensure the proposal directly addresses a real issue or preference observed in the session.
- **Specificity:** Think how you could make the learnings more generic to apply to other use cases, but don't make the changes too generic so that it would not address the original learnings
- **Failure Analysis:** Pay special attention to tool failures or when the user has to correct your approach. These are primary candidates for reflection.
- **Conflict Resolution:** If a proposed change conflicts with details of an existing skill or user preference, propose a resolution that best serves the user's current intent.
声明
本站部分 Skill 技能内容来源于互联网或由用户上传,使用前请注意识别相关风险,内容版权归原作者所有。如Skill技能涉及版权问题,请发送邮件至 jubao@zcool.com.cn,我们将在收到通知后及时核实并予以下架处理。

使用评价

2000

安装使用

精选资产