peak-end-rule

peak-end-rule is a skill for Claude Code from Owl-Listener/designer-skills. It costs 47 tokens per session (796 once invoked), scanned A, original, MIT.

A user-experience design guide based on the idea that people mainly remember the most intense moment and the ending of an experience.

In plain words
What is it for?
Use it to design satisfying completion, success, purchase, booking, signup, or cancellation moments.
Why use it?
It helps you improve how users remember a flow instead of treating every moment as equally important.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the interaction-design plugin — 22 skills, 5 commands shipped together

Good fit Use it to design satisfying completion, success, purchase, booking, signup, or cancellation moments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/owl-listener/designer-skills/peak-end-rule
About the project

Owl-Listener/designer-skills is a collection of AI-agent skills, commands, and plugins for design work, covering research, design systems, interfaces, interaction, and delivery. Designers and developers use it inside coding assistants to guide design tasks, and the catalogue entries represent selected parts of that larger collection.

Owl-Listener/designer-skills · 3,137 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Owl-Listener/designer-skills --skill peak-end-rule
Clone the repo
git clone --depth 1 https://github.com/Owl-Listener/designer-skills

Made for: Claude Code.

Or install interaction-design, the plugin that ships this one along with the rest of its 22 skills, 5 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for peak-end-rule

README.md
[![agentmods](https://agentmods.dev/badge/skills/owl-listener/designer-skills/peak-end-rule/github.svg)](https://agentmods.dev/skills/owl-listener/designer-skills/peak-end-rule)
Your own site
<a href="https://agentmods.dev/skills/owl-listener/designer-skills/peak-end-rule"><img src="https://agentmods.dev/badge/skills/owl-listener/designer-skills/peak-end-rule/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for peak-end-rule

Your own site · 80×15
<a href="https://agentmods.dev/skills/owl-listener/designer-skills/peak-end-rule"><img src="https://agentmods.dev/badge/skills/owl-listener/designer-skills/peak-end-rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 796 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 10 Aug 2026
  • Snyk pass 10 Aug 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00047 $0.00796
Opus 5.5 $0.00019 $0.00318
Sonnet 5.5 $0.00009 $0.00159
Haiku 4.5 $0.00005 $0.00080

Measured 1mo ago against content hash 99096926d48d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

peak-end-rule scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

interaction-design/skills/peak-end-rule/SKILL.md · 65 lines

How it starts

The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Peak-End Rule

You are an expert in experience design and the psychology of retrospective evaluation.

What You Do

You apply the Peak-End Rule to identify the moments in a user journey that dominate how the experience is remembered and rated — and design those moments deliberately.

The Principle

Daniel Kahneman's research found that people do not evaluate experiences as a running average of moment-to-moment quality. Retrospective judgement is dominated by two moments:

  1. The peak — the most emotionally intense moment, positive or negative
  2. The end — how the experience concluded

The duration and average quality of everything in between contribute far less. This is "duration neglect": people are poor judges of how long something took, but accurate judges of how it felt at its extremes.

Design Implications

Design the peak deliberately

If the experience has a natural moment of resolution, success, or payoff, make it genuinely satisfying:

  • The moment of completing a purchase, booking, or signup
  • First delivery of a meaningful result (a generated document, a completed plan, a rendered design)
  • A meaningful milestone in a longer arc (finishing a module, reaching a threshold, hitting a streak)

If the experience contains an unavoidable negative peak — a long wait, a failed action, a rejection — design around it: set expectations before it arrives, provide something useful during it, and make the recovery the new peak.

Design the end deliberately

The final moment of a session shapes overall impression more than most of what preceded it:

  • End a checkout on a warm, clear confirmation — not a confusing order status page
  • End an onboarding session at a moment of first visible value, not a setup screen
  • End a data-entry session with unambiguous save confirmation
  • Avoid ending on an error state; resolve or defer errors before session close wherever possible

Practical Applications

Flow Peak to design End to design
Checkout Order placed — confirmed, named, visualised Warm confirmation with clear next steps
Onboarding First output the user cares about State showing their work is saved and accessible
Signup "You're in" — the first landing inside the product Dashboard or landing that demonstrates immediate value
Data-heavy tasks Completing the most complex required step Summary or confirmation of what was saved
Error recovery The fix moment, not the error state Clear signal that the issue is fully resolved

Read the full file on GitHub · 65 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 65 lines · 47 tokens per session scan A 99096926d48d

Subscribe to this mod's changes

peak-end-rule is a skill published in the GitHub repository Owl-Listener/designer-skills (3,137 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 796 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ui-review

Review UI code for StyleSeed design-system compliance, accessibility, mobile ergonomics, spacing discipline, and implementation quality.

LiHongwei-cn/lihongwei-cn · 26 tokens

design-craft

Design or substantially improve user-facing interfaces with a product-specific visual direction, content hierarchy, and rendered critique. Use for new screens, landing pages, redesigns, typography/layout work, or UI that feels generic or AI-generated. For small fixes, preserve the existing design without starting a…

WrongStack/WrongStack · 63 tokens

design-critique

Use this skill to audit an interface that already exists and say precisely why it looks generated, templated, or unfinished — a scored rubric across composition, typography, color, states, accessibility and copy, ending in a ranked fix list. Triggers: user says "review the design", "critique this UI", "why does this…

WrongStack/WrongStack · 110 tokens

anti-slop-frontend

A mechanical, countable anti-slop checklist for AI-generated frontend. Catches the specific signatures an undirected model defaults to: AI-purple glows, Inter-everywhere, em-dashes, div-based fake screenshots, eyebrow-on-every-section, beige+brass "premium" palettes, generic Jane Doe / Acme data. Advisory layer that…

BlackBeltTechnology/pi-agent-dashboard · 147 tokens

design-reference-read

Read a reference website or screenshot the way a designer does — by measuring it. Produces a dated "design DNA" record (color roles, type scale and ratio, spacing unit, radii, elevation, motion, section rhythm per viewport, component geometry, declared tokens) with measured and inferred values kept apart, names the…

WrongStack/WrongStack · 174 tokens

design-to-code

Implement a supplied Figma design, screenshot, live reference site or design specification as a working interface, and prove the match with measured fidelity scores per axis (color, type, space, shape, layout, motion) instead of eyeballing. Use when matching a reference or handling design handoff; preserve its layout…

WrongStack/WrongStack · 72 tokens