reflect
하는 일
스킬은 현재 대화를 돌아보며 간직할 가치가 있는 교훈을 찾습니다. 실제 세션으로 스킬이 나아지기를 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓채팅에서 다음에도 저장해 둘 가치가 있는 유용한 교훈이 나왔을 때.
- ✓기존 스킬이 막았어야 했을 실수를 에이전트가 저지른 경우.
- ✓세션에서 배운 내용으로 스킬을 업데이트하고 싶을 때.
스킬 링크
https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/reflect/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 대화를 돌아보고, 우리가 찾은 교훈이 필요한 스킬이 있다면 업데이트해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 현재 채팅의 기록을 찾고, 여러 검토자가 동시에 살펴보게 합니다. 그 결과를 기존 스킬의 구체적인 편집과 맞춥니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Reflect
In Claude Code, read the Claude Code adapter once per session before you follow this skill. It maps the Cursor names in pstack skills to Claude Code.
Mine the current conversation for durable learnings, then route them into skill edits.
Invoke when the user says "reflect" or "/reflect". Skip when the conversation is trivial, off-topic, or already covered by an existing skill the parent followed correctly. One-offs are not learnings.
1. Locate the active transcript
Before fanning out, find this conversation's transcript in the agent-transcripts/ directory the system prompt names. Do not glob across ~/.cursor/projects/*/. That crosses workspace boundaries and reads private chats from unrelated projects.
ls -t <agent-transcripts>/*.jsonl <agent-transcripts>/*/*.jsonl <agent-transcripts>/*/subagents/*.jsonl 2>/dev/null | head -10
That covers the legacy flat (<id>.jsonl), current nested (<id>/<id>.jsonl), and subagent (<parent>/subagents/<child>.jsonl) layouts. For each candidate, read the first JSONL line. Take the file whose message.content[0].text contains the conversation's opening user prompt. If none matches, pass a tight digest of the session instead.
2. Spawn three reviewers in parallel
One message, three Task calls, subagent_type: generalPurpose, agent mode (readonly: false). Reviewers need MCP access to look up the tickets, chat threads, and observability traces the transcript references, and readonly strips MCPs.
Each reviewer and the synthesizer name a role line in the pstack-models.mdc rule and a default. Set model to that line's value, or to the default if the rule or the line is missing. Leave model unset when the value is auto or inherit-parent. If the Task tool rejects a slug, use the default and say so. If it rejects the default, use the closest valid slug of the same family from its error message. Pick each subagent's reasoning level and fast or standard speed for the job, per the Subagents section of the poteto-mode skill.
| Lens | Role line | Default model |
Prompt template |
|---|---|---|---|
| Judgment | reflect judgment, divergent, synthesizer |
claude-opus-5-5-xhigh |
references/judgment-reviewer.md |
| Tooling | reflect tooling |
grok-4.7-xhigh-fast |
references/tooling-reviewer.md |
| Divergent | reflect judgment, divergent, synthesizer |
claude-opus-5-5-xhigh |
references/divergent-reviewer.md |
Pass each template verbatim, substituting the transcript path or digest where marked. Reviewers return findings in the Task response body.
3. Synthesize
One Task call, subagent_type: generalPurpose, model from the reflect judgment, divergent, synthesizer line (default claude-opus-5-5-xhigh), agent mode (readonly: false). It spot-verifies citations through MCP, and readonly strips MCPs. Pass references/synthesizer.md verbatim, with each reviewer's full output inlined where marked. It returns an Accepted / Rejected / Backlog list.
4. Structural enforcement check
Move any Accepted item that a lint rule, script, metadata flag, or runtime check would enforce more reliably to Backlog. See the encode-lessons-in-structure principle skill.
5. Apply
Present the synthesizer's full Accepted / Rejected / Backlog output and wait for explicit approval before applying any Accepted edit. The user picks the subset and may redirect routings. Skill changes affect every future agent in the org. Do not auto-apply.
File each Backlog item to your team's devex or backlog tracker without waiting. Only the Accepted list waits for approval.
Never edit a skill under plugins/cache/. Before approval, show its destination, .cursor/skills/<skill>/ or ~/.cursor/skills/<skill>/. After approval, copy the skill folder there and edit the copy. Never open a PR or push.
Follow each approved row's Routing exactly:
- Trivial existing-skill edit (a one-line bullet, a tightened sentence, a stale fact corrected): the parent does it directly.
- Substantive existing-skill edit (a new section, a new pattern table, more than ~10 lines): hand to Cursor's built-in
create-skillskill and run its draft / test / iterate loop. tune description: <skill path>(the skill exists but didn't trigger when it should have): hand tocreate-skilland run its description-optimization loop.new skill via create-skill: <kebab-name>: hand creation tocreate-skill. Do not invent the shape
자주 묻는 질문
어떤 교훈을 저장할 가치가 있나요?
오래 쓸 수 있는 교훈만 해당합니다. 일회성 세부 사항과 사소한 채팅은 건너뜁니다.
주제에서 벗어난 채팅도 돌아볼 수 있나요?
아니요. 사소하거나 주제에서 벗어났거나, 기존 스킬에 이미 담긴 대화는 건너뜁니다.
검토자는 몇 명인가요?
세 번의 검토가 동시에 실행되고, 그 결과가 합쳐집니다.
상세 정보
작성자의 원본 설명
Spawn three parallel review subagents over the active transcript, surface learnings, and route each to a concrete edit on an existing skill. Use when the user says reflect.
repo: cursor/plugins
인기도
- GitHub 스타
- 15k
- 순위
- #10993
- 라이선스
- —
- 업데이트
- 2026. 10. 31.
댓글
- …
이 저장소의 다른 스킬
advisor
15k사용자가 켜 두면, 큰 결정 전이나 오류에 막혔을 때처럼 핵심 시점에 에이전트가 더 강력한 두 번째 모델에게 자문을 구하도록 합니다.
check-agent-compatibility
15kAI 코딩 에이전트가 저장소를 시작하고, 검증하고, 문서화할 수 있는지 전체 점검해, 하나의 호환성 점수와 주요 문제를 돌려줍니다.
cli-for-agents
15kAI 에이전트가 프롬프트 없이 실행할 수 있도록 명령줄 도구를 설계하거나 검토하며, 명확한 도움말과 예시를 담도록 에이전트를 가르칩니다.
continual-learning
15k과거 채팅을 검토하는 일을 전담 메모리 업데이터에게 맡겨서 AGENTS.md 메모를 최신 상태로 유지합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.