Skip to content
Back to skills

Precedent Regret

ASecurity

Mark a choice repeated across projects as a mistake, inverting its precedent. Use when the user says a past choice bit them, was a mistake, or that they would never do it that way again.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 9, 2026
ai-agentsgobash

Works with

  • cli

Security analysis

A100/100

Scanned October 9, 2026

npx -y skills add asm0dey/precedent --skill precedent-regret --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Precedent Regret?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Precedent Regret
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/asm0dey-precedent-regret/badge)](https://www.skillsdirectory.com/skills/asm0dey-precedent-regret)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: precedent-regret
description: Mark a choice repeated across projects as a mistake, inverting its precedent. Use when the user says a past choice bit them, was a mistake, or that they would never do it that way again.
---

# Invert a precedent you regret

```bash
uv run <cli> regret \
  --topic "<topic>" --chose "<option that was wrong>" \
  --because "<the lesson>" --instead "<what you prefer now>"
```

`<cli>` is this package's `precedent.py`; the `precedent` skill says how to
locate it. Read that skill first if it is not already loaded.

`--because` is the whole point: without the reason, a future session sees only
that the option is disfavoured and cannot tell whether the condition that made it
wrong applies to the case in front of it.

Show the user which decisions this will mark before running it — the scope is
every project at once. Nothing is deleted: the decisions keep their original
rationales, because a reason that looked good several times is what tells you the
lesson was expensive.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…