second-order-thinking

second-order-thinking is a skill for Claude Code, Codex from tupe12334/instinct. It costs 23 tokens per session (1,968 once invoked), scanned A, original, MIT.

A decision-making method that traces the consequences of an action beyond its immediate result by repeatedly asking what happens next.

In plain words
What is it for?
Use it to examine design, product, or process decisions and identify longer-term consequences before committing to them.
Why use it?
It reveals downstream effects and reactions that are easy to miss when considering only the first outcome.

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/second-order-thinking
Any agent
npx skills add tupe12334/instinct --skill second-order-thinking
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 second-order-thinking

README.md
[![agentmods](https://agentmods.dev/badge/skills/tupe12334/instinct/second-order-thinking.svg)](https://agentmods.dev/skills/tupe12334/instinct/second-order-thinking)
Your own site
<a href="https://agentmods.dev/skills/tupe12334/instinct/second-order-thinking"><img src="https://agentmods.dev/badge/skills/tupe12334/instinct/second-order-thinking.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,968 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 $0.00023 $0.01968
Opus 5 $0.00012 $0.00984
Sonnet 5 $0.00005 $0.00394
Haiku 4.5 $0.00002 $0.00197

Measured 3d ago against content hash de08cfa600bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

second-order-thinking 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 3d 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/second-order-thinking/SKILL.md · 152 lines

How it starts

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

Second-Order Thinking

Overview

Second-order thinking is the practice of tracing the chain of consequences that flows from a decision — past the obvious first effect and into the downstream reactions it triggers. Most people stop at the first-order effect ("if we do X, then Y happens"). Second-order thinking asks "and then what?" repeatedly until the full consequence tree is visible.

DECISION
    │
    ▼
[1st-order effect]  ← what everyone sees
    │
    ▼
[2nd-order effect]  ← reactions to the first effect
    │
    ▼
[3rd-order effect]  ← reactions to the reactions
    │
    ▼
[...] ← diminishing returns; stop when effects become negligible

The goal is not to predict the future with certainty but to expose non-obvious consequences before they become surprises.

Core Concepts

First-Order Effect

The direct, immediate result of an action. It is usually obvious and often the entire basis of a bad decision. Example: cutting prices increases sales volume.

Second-Order Effect

The response that the first-order effect triggers in the system. Example: increased sales volume strains the supply chain, leading to fulfillment delays and customer complaints — erasing the revenue gain.

Feedback Loops

Consequences can circle back and amplify or dampen the original action. A positive feedback loop (effect accelerates the cause) is often the source of both explosive growth and catastrophic collapse. Identify whether the chain you are tracing has a loop.

Time Horizon

SHORT TERM          MEDIUM TERM         LONG TERM
(days–weeks)        (months–quarters)   (years+)
─────────────────────────────────────────────────
1st-order           2nd-order           3rd-order
effects dominate    effects emerge      effects compound

                         ▲
                 Most decisions are made
                 with only this in view

Most decisions are optimized for short-term first-order gains while second- and third-order costs accumulate in the medium and long term.

Read the full file on GitHub · 152 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. 3d ago First seen · 152 lines · 0 tokens per session scan A de08cfa600bb

Subscribe to this mod's changes

second-order-thinking is a skill published in the GitHub repository tupe12334/instinct (1 stars, last pushed 17d ago), licensed MIT. It adds 23 tokens to every session and 1,968 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:system-upgrade

Upgrade ALIVE to the current version. Handles v1/v2/v3.x source states, multi-surface aware (alive-mcp / Hermes / Codex), retroactive version detection, partial-failure resume, dry-run previews, and rollback inspection.

alivecontext/alive · 57 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