wrap

WRAP decision framework countering the four villains—narrow framing, confirmation bias, short-term emotion, and overconfidence. Use for major decisions or when stuck between options.

16 stars

Best use case

wrap is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

WRAP decision framework countering the four villains—narrow framing, confirmation bias, short-term emotion, and overconfidence. Use for major decisions or when stuck between options.

Teams using wrap should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/wrap/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/development/wrap/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/wrap/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How wrap Compares

Feature / AgentwrapStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

WRAP decision framework countering the four villains—narrow framing, confirmation bias, short-term emotion, and overconfidence. Use for major decisions or when stuck between options.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# WRAP Decision Framework

Apply the complete WRAP framework to make a better decision by countering the four villains of decision-making.

## Instructions

Work through all four phases sequentially. Each phase targets a specific cognitive bias that undermines good decisions.

### Output Format

**Decision**: [What are we deciding?]
**Context**: [Key constraints and stakes]

---

## W: WIDEN Your Options

*Counter: Narrow Framing ("Should I do X?" → "What are all my options?")*

**Current Framing**
How is the decision currently framed? (Often as "whether or not")

**Expanded Options**
| # | Option | Why It's Worth Considering |
|---|--------|---------------------------|
| 1 | [option] | [rationale] |
| 2 | [option] | [rationale] |
| 3 | [option] | [rationale] |
| 4 | [option] | [rationale] |

**Option-Finding Techniques**
- Vanishing options test: "If you couldn't do X, what would you do?"
- Opportunity cost: "What else could you do with this time/money?"
- Find someone who solved it: "Who's had this problem?"

---

## R: REALITY-TEST Your Assumptions

*Counter: Confirmation Bias (seeking evidence that confirms what we want)*

**Key Assumptions**
| Assumption | How Would We Know If Wrong? |
|------------|----------------------------|
| [assumption 1] | [test] |
| [assumption 2] | [test] |

**Consider the Opposite**
For each option, what would it take to be convinced it's wrong?

**Ooch**
Is there a small experiment we can run to test this before fully committing?

| Option | Small Test | What We'd Learn |
|--------|-----------|-----------------|
| [option] | [test] | [insight] |

---

## A: ATTAIN Distance Before Deciding

*Counter: Short-term Emotion (deciding when angry, excited, or desperate)*

**10/10/10**
| Time Horizon | How will you feel about this decision? |
|--------------|----------------------------------------|
| 10 minutes | [how you feel now] |
| 10 months | [how you'll likely feel] |
| 10 years | [long-term perspective] |

**What Would I Tell My Best Friend?**
If someone you loved faced this decision, what would you tell them?

---

## P: PREPARE to Be Wrong

*Counter: Overconfidence ("I'm sure this will work")*

**Premortem**
Imagine this decision failed completely. What went wrong?

| Failure Mode | How to Prevent/Detect |
|--------------|----------------------|
| [what could fail] | [safeguard] |

**Tripwires**
Set a future point to reconsider:

| Tripwire | Action If Triggered |
|----------|-------------------|
| [date or condition] | [what we'll do] |

---

## Decision

**Recommendation**
Based on the WRAP analysis:
> [Your decision and reasoning]

**Key Safeguards**
- [Safeguard 1]
- [Safeguard 2]

**Review Date**: [When to reassess]

## Guidelines

- Don't skip phases—each counters a different bias
- "Should I?" is almost always narrow framing
- Look for the third option beyond the obvious two
- Ooch when you can—small tests beat big analysis
- Set tripwires before you need them

$ARGUMENTS

Related Skills

ai-wrapper-product

16
from diegosouzapw/awesome-omni-skill

Expert in building products that wrap AI APIs (OpenAI, Anthropic, etc.) into focused tools people will pay for. Not just "ChatGPT but different" - products that solve specific problems with AI. Covers prompt engineering for products, cost management, rate limiting, and building defensible AI businesses. Use when "AI wrapper, GPT product, AI tool, wrap AI, AI SaaS, Claude API product, " mentioned.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

actions-cicd-practices

16
from diegosouzapw/awesome-omni-skill

GitHub Actions and CI/CD best practices for automated testing, building, and deployment.

act-docker-setup

16
from diegosouzapw/awesome-omni-skill

Use when configuring Docker environments for act, selecting runner images, managing container resources, or troubleshooting Docker-related issues with local GitHub Actions testing.

ack-resources

16
from diegosouzapw/awesome-omni-skill

AWS Controllers for Kubernetes (ACK) for Kubernetes-native AWS resource management. Use when managing AWS resources via kubectl, implementing GitOps for infrastructure, creating self-service developer platforms, integrating AWS services with EKS workloads, or adopting existing AWS resources into Kubernetes.

acdc-badge-sniper

16
from diegosouzapw/awesome-omni-skill

Plan and rank Arctic Cloud Developer Challenge (ACDC) badges and judge categories based on a team's current build and constraints. Use when asked to map a project to ACDC badges/awards, choose high-ROI targets, produce time-boxed action plans, evidence checklists, dependency/risk flags, and short judge-pitch scripts; must fetch the current badge/category requirements from the official ACDC site.

acc-outbox-pattern-knowledge

16
from diegosouzapw/awesome-omni-skill

Outbox Pattern knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for transactional outbox, polling publisher, and reliable messaging audits.

acc-event-sourcing-knowledge

16
from diegosouzapw/awesome-omni-skill

Event Sourcing knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for Event Sourcing architecture audits.

acc-create-specification

16
from diegosouzapw/awesome-omni-skill

Generates DDD Specification for PHP 8.5. Creates reusable business rule objects for validation, filtering, and querying with composite pattern support. Includes unit tests.

acc-create-circuit-breaker

16
from diegosouzapw/awesome-omni-skill

Generates Circuit Breaker pattern for PHP 8.5. Creates resilience component protecting against cascading failures with state management, fallback support, and metrics. Includes unit tests.

abstraction-laws

16
from diegosouzapw/awesome-omni-skill

Law-driven abstraction protocol: evidence first, seam test, minimal algebra, executable law check.

abaqus-modal-analysis

16
from diegosouzapw/awesome-omni-skill

Complete workflow for modal/frequency analysis - extract natural frequencies and mode shapes. Use for vibration analysis and resonance avoidance.