5w2h

5w2h is a skill for Claude Code, Codex from tupe12334/instinct. It costs 27 tokens per session (2,232 once invoked), scanned A, original, MIT.

A task-scoping framework built around seven questions: what, why, where, when, who, how, and how much.

In plain words
What is it for?
It is for defining projects, assigning tasks, and investigating problems before execution.
Why use it?
It exposes missing details before work begins, reducing ambiguity about the task, people, timing, method, and cost.

Skill for Claude CodeCodex

Part of the instinct plugin — 54 skills, 1 hook shipped together

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.

agentmods
npx agentmods add skills/tupe12334/instinct/5w2h
Any agent
npx skills add tupe12334/instinct --skill 5w2h
Clone the repo
git clone --depth 1 https://github.com/tupe12334/instinct

Made for: Claude Code, Codex.

Or install instinct, the plugin that ships this one along with the rest of its 54 skills, 1 hook.

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 5w2h

README.md
[![agentmods](https://agentmods.dev/badge/skills/tupe12334/instinct/5w2h.svg)](https://agentmods.dev/skills/tupe12334/instinct/5w2h)
Your own site
<a href="https://agentmods.dev/skills/tupe12334/instinct/5w2h"><img src="https://agentmods.dev/badge/skills/tupe12334/instinct/5w2h.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,232 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00027 $0.02232
Opus 5 $0.00014 $0.01116
Sonnet 5 $0.00005 $0.00446
Haiku 4.5 $0.00003 $0.00223

Measured 5d ago against content hash e6b81c917236, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

5w2h 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 5d 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.

skills/5w2h/SKILL.md · 170 lines

How it starts

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

5W2H

Overview

5W2H is a problem-definition and task-scoping framework that forces you to answer seven questions before work begins. It eliminates ambiguity by covering every dimension a task or problem can have: identity, purpose, location, timing, ownership, method, and cost.

┌──────────┬──────────────────────────────────────────────────────┐
│ Question │ What it pins down                                    │
├──────────┼──────────────────────────────────────────────────────┤
│ WHAT     │ The subject — what exactly is being done/solved      │
│ WHY      │ The justification — why this matters right now       │
│ WHERE    │ The location/scope — where it happens or applies     │
│ WHEN     │ The timeline — start, end, milestones                │
│ WHO      │ The people — owner, doers, approvers, stakeholders   │
│ HOW      │ The method — steps, process, tools                   │
│ HOW MUCH │ The cost — budget, effort, resources consumed        │
└──────────┴──────────────────────────────────────────────────────┘

Use it at the start of any project, task delegation, or problem investigation. If you cannot answer all seven, the task is not ready to execute.

The Seven Questions

WHAT

The precise subject. Vague "WHAT" answers produce vague work.

Ask: What is the deliverable? What is the problem? What is in scope and explicitly out of scope?

Bad: "Fix the checkout flow" Good: "Reduce checkout abandonment on the payment step — scoped to the web app only, not mobile"

WHY

The reason this work exists. The "WHY" justifies priority and guides decisions when the plan hits a fork.

Ask: Why is this a problem worth solving now? What outcome does success produce? What happens if we don't act?

Bad: "Leadership asked for it" Good: "Payment-step abandonment is 40% vs industry benchmark of 20%; each point costs $15k/month in lost revenue"

WHERE

The physical or logical location — geography, system, team, product area.

Ask: In which system, market, region, or team does this apply? What is the blast radius if something goes wrong?

Read the full file on GitHub · 170 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. 5d ago First seen · 170 lines · 27 tokens per session scan A e6b81c917236

Subscribe to this mod's changes

5w2h is a skill published in the GitHub repository tupe12334/instinct (1 stars, last pushed 19d ago), licensed MIT. It adds 27 tokens to every session and 2,232 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

thinking-theory-of-constraints

When throughput or latency is pipeline-limited, identify the single binding constraint and exploit, subordinate, elevate, then recheck—ignore non-constraints.

tjboudreaux/cc-thinking-skills · 37 tokens

thinking-lindy-effect

Use when longevity of a non-perishable option matters. Treat survival duration as a remaining-life prior, then check domain drift before favoring the proven.

tjboudreaux/cc-thinking-skills · 35 tokens

thinking-kepner-tregoe

Use when a selective defect needs IS/IS-NOT difference analysis or a consequential option choice needs must/want weighting and adverse-consequence comparison.

tjboudreaux/cc-thinking-skills · 37 tokens

alive:demo

Generate a believable, lived-in ALIVE world from a free-text persona description (custom path) or a deterministic sandbox preset. Routes the create/list/activate/deactivate/delete/status surface and orchestrates the 5-stage subagent generation pipeline.

alivecontext/alive · 52 tokens

alive:session-history

Revive sessions (quick or heavy), browse, and search — 'what happened recently?', 'find the session where we discussed X', 'revive yesterday's session'. For single-session recall and multi-session browsing. If the human needs to merge multiple sessions into one working context or detect conflicts between parallel…

alivecontext/alive · 76 tokens

alive:world

The human doesn't know what to work on, or wants to see everything at once. They need the big picture — what's active, what's stale, what needs attention. Renders a live world view grouped by ALIVE domain, then routes to open, tidy, find, history, or map.

alivecontext/alive · 63 tokens