Look back after a goal finishes, stalls or breaks: record 1 to 5 lessons in Goals memory and offer sanitized engine findings upstream. Use once `goals check` reports the goal complete, or after a painful, stalled or broken goal. Not for a clean goal with nothing to learn, judging the change itself (P4), or planning the next goal.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Goals Reflect?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/shivamgupta42-goals-reflect)
---
name: goals-reflect
description: "Look back after a goal finishes, stalls or breaks: record 1 to 5 lessons in Goals memory and offer sanitized engine findings upstream. Use once `goals check` reports the goal complete, or after a painful, stalled or broken goal. Not for a clean goal with nothing to learn, judging the change itself (P4), or planning the next goal."
---
# Goals Reflect
Keep only what will change the next run.
## Outcome rules, never traded away
| Rule | Measured by |
|---|---|
| 1. You record 1 to 5 memory entries by hand. | Your `goals memory record` calls match the entries in `REFLECTION.md`: 1 to 5. |
| 2. Every lesson changes what happens next run. | Each note names an action and carries `--evidence` (a phase, event or `file:line`). |
| 3. The tool's faults and your own stay apart. | Each finding is tagged `tool` or `agent`; one that is both becomes two. |
| 4. No duplicates. | Each lesson names the entry or doc it extends, or says none matched. |
| 5. No issue is filed without the user's recorded yes. | Each filed issue maps to a checkpoint the user's reply closed. |
| 6. Nothing is invented. | Missing logs are listed as missing. |
## Steps
1. **Gather the trace.** Run `goals check`, `goals lineage` and
`goals assess journey`. Note failed reviews, re-recorded evidence, flipped
assumptions and waived checkpoints. A clean pass has no lesson: say so and stop.
2. **Absorb the obvious.** `goals memory absorb` imports gaps, blockers and
failed reviews; these do not count toward rule 1.
3. **Sort the findings.** For each: what happened, `tool` or `agent`, the root
cause, the change for next time. Be specific.
4. **Pick the lessons.** Keep at most 5 likely to repeat. Check
`goals memory suggest --json` and the project's docs first; extend an entry
rather than add a twin. A lesson about the project's own rules is a
proposed edit to its AGENTS.md or CLAUDE.md: show it, do not apply it.
5. **Record each one.**
```bash
goals memory record "Check phase evidence against the Evidence schema before submitting." \
--area gate --kind learning --severity medium --phase P1 --evidence "P1 lineage: 2 re-records"
```
`--kind` is friction, gap, learning or success.
6. **Incident mode, when something broke.** Add a blameless timeline, the
impact, and a root cause: keep asking "why" until you reach a flaw in the
process or tooling. Blaming a person or a rare case is not a root cause. Name where you got lucky.
Each action item gets an owner, a date and a check.
7. **Look across goals.** `goals memory suggest --json` shows repeats in this
project. `goals memory sync <other-goal-root>` dry-runs importing
sanitized lessons from another project; `--apply` only if the user agrees.
A problem that shows up in two runs deserves a skill change or an upstream issue.
Never turn a lesson into a standing preference unless the user says yes;
then use `goals user record`.
8. **Write `REFLECTION.md`** in the goal worktree: What went well, Tool friction,
Agent friction, Root causes, Next-time changes, each linked to its entry.
9. **Upstream is opt-in.** Find the repo in `homepage` of
`.claude-plugin/plugin.json`; if unclear or `gh` is not signed in, stay local. For each `tool` finding keep only the symptom, `file:line` and a fix;
strip all goal content. Run `gh issue list --repo <repo> --search "<symptom>" --state all`
and link a match instead of filing. Show the sanitized text, record a
checkpoint "file this upstream?", and run `gh issue create` (label
`agent-friction`) only after the user's reply closes it. A pull request
only for a one-line mechanical fix, and only if they ask.
## Done when
- 1 to 5 memory entries are recorded.
- No issue is filed without the user's recorded yes.
## When nobody is watching
- An open question must never just sit in chat. Find facts on your own.
- For a routine choice, take the safe default that can be undone and log it:
`goals decision record "<question>" --choice "<what you chose>" --by agent`.
- If the decision belongs to the user, write the question down before you ask:
`goals checkpoint record <PHASE> <id> --kind approval --status needs_user --needs-user --title "<the question>" --summary "<your recommended answer; what it blocks>"`.
Use `--kind understanding` for questions about meaning.
- Next, complete everything the answer cannot change, then hand the turn back.
- Only the user's reply closes that checkpoint. Silence never counts as agreement.
- Reach for `--unverified` only on the user's instruction, such as when the
host has no way to record their answer.
- Here only upstream filing waits: record its checkpoint, file nothing, finish the rest.