ysskrishna logoysskrishna
Cover image for 17 Thinking Skills for AI Agents: Pre-Mortem, Five Whys, Six Hats and More

17 Thinking Skills for AI Agents: Pre-Mortem, Five Whys, Six Hats and More

ysskrishna profile photoysskrishna
4 min read
AI Apps & Assistants
Agent Skills

You do not need another generic "be thoughtful" prompt. You need thinking methods the agent can run: find the real cause of a bug, stress-test Friday's launch, pick between two designs, or estimate a number fast.

Most chats mix those jobs in one reply. Ideas, worries and a verdict show up together. Fine for a quick take, not if you want the same structure next week.

What Thinking Methods is

Thinking Methods (repo: ai-agent-skills) packages 17 structured thinking methods as installable SKILL.md workflows for Cursor, Claude Code and other tools that follow the Agent Skills standard.

Three things make it different from a prompt library:

  • Describe the problem, not the method. Each skill's description lists the situations and phrases it fits ("what could go wrong?", "A or B?", "why does this keep happening?") and when to skip it. You do not need to know the method's name.
  • Not sure which one? Start with thinking-method-selector. It picks a method for your situation and runs it.
  • Each skill stands alone. Install one or all. Every skill has a light path for small questions and a worked example in its references/ folder.

New to skills? Start with Your AI Agent Shouldn't Start From Zero Every Session.

Install

All 17, in 70+ agents:

npx skills add ysskrishna/ai-agent-skills

One skill:

npx skills add ysskrishna/ai-agent-skills --skill pre-mortem

Claude Code plugin:

/plugin marketplace add ysskrishna/ai-agent-skills
/plugin install ai-agent-skills@ai-agent-skills

GitHub CLI (v2.90.0+):

gh skill install ysskrishna/ai-agent-skills pre-mortem

OpenClaw users can install each skill from ClawHub, for example pre-mortem.

After a skills.sh or gh skill install, call a skill by name with /skill-name (for example /pre-mortem). Claude Code plugin installs namespace them as /<plugin>:<skill>. Or just describe your situation.

The 17 skills at a glance

Start here

SkillUse it when
thinking-method-selectorYou have a problem or decision but no method in mind. It picks one and runs it

Understand a problem

SkillUse it when
five-whysSomething failed or keeps recurring and you need the real cause
analytical-thinkingA number moved, or a question needs a driver tree, hypotheses and evidence
systems-thinkingA change may have side effects, or a problem keeps coming back across teams or services
first-principles-thinkingYou want to test an inherited default or a copied approach from scratch
design-thinkingYou need to understand users before designing or building

Assess and decide

SkillUse it when
swot-analysisYou want to assess where a team, product or company stands, then act on it
tradeoff-analysisYou must pick between concrete options (A or B, build vs buy)
prioritizationThere is more work than capacity and you need an order and a cut line
strategic-thinkingYou must choose a direction under constraints
fermi-estimationYou need a rough number fast (capacity, cost, size)

Check and de-risk

SkillUse it when
critical-thinkingYou want a claim, plan or decision checked for weak spots
pre-mortemBefore a launch or commitment: imagine it failed and find out why
ethical-thinkingA plan could harm or unfairly burden people

Generate ideas

SkillUse it when
creative-thinkingYou want many fresh options before choosing
lateral-thinkingIdeas feel stuck or incremental and you need a different angle

See it from several angles

SkillUse it when
six-thinking-hatsYou want facts, feelings, risks, benefits and new ideas examined separately.

Which skill when?

If you are asking…Start with
"Why did last night's deploy fail?"five-whys
"What could go wrong with the cutover on Friday?"pre-mortem
"Postgres, Redis or a managed queue?"tradeoff-analysis
"Twelve tickets, one sprint. What first?"prioritization
"Roughly how many servers do we need?"fermi-estimation
"Is this claim in the proposal actually right?"critical-thinking
"Where do we stand against competitors?"swot-analysis
"Will this change break something two teams away?"systems-thinking
"We always do it this way. Should we?"first-principles-thinking
"I need fresh ideas"creative-thinking or lateral-thinking
"One decision, every angle, kept apart"six-thinking-hats
"I don't know which method"thinking-method-selector

Try it with plain language

You do not have to name a skill. These prompts come from the README and should each trigger a matching method:

We have to pick a job queue: Postgres, Redis or a managed service. Team of four.

What could go wrong with the database cutover next Friday?

Why did last night's deploy fail? Keep asking why until we reach something we can fix.

I have a pile of problems and no idea how to approach them.

Trust before you install

Read each SKILL.md, skim any scripts, and try a skill in a throwaway project first. These skills are instruction-only, but the habit matters.

What to do next

  • Pick a row in "Which skill when?" that matches something on your desk.
  • Install that one skill, or all 17, and describe the task in plain language.
  • For one decision with many angles, install six-thinking-hats from the list above.

Further reading

Continue exploring

Productnpm+3Thinking Methods

Thinking Methods

17 well-known thinking methods your AI coding assistant can actually run.
Agent Skills
AI Apps & Assistants
+4
ToolCover image for AI Token Counter

AI Token Counter

AI token counter with model pricing and context-window comparison in your browser.

Chat & AI
AI Apps & Assistants
+1
BlogCover image for How to Install Caveman in Cursor and Claude Code

How to Install Caveman in Cursor and Claude Code

AI Apps & Assistants
Agent Skills
+1
3 min read
CourseCover image for Prompt Engineering for Coding Agents

Prompt Engineering for Coding Agents

Write prompts that coding agents act on: clear goals, the right context, output contracts, examples, structured thinking, shorter answers and a tiny eval set.

Agent Skills
Chat & AI

8 chapters · 17 min

Productskills.sh+1Claude Code Subagents for Cursor

Claude Code Subagents for Cursor

Your Cursor subagents can finally run on the model you picked in each agent file.
Chat & AI
Agent Skills
+2
CourseCover image for Agent Building Blocks: Skills, Subagents, MCP and Hooks

Agent Building Blocks: Skills, Subagents, MCP and Hooks

A free, hands-on course on the four pieces behind Cursor and Claude Code agents: skills, subagents, MCP servers and hooks. Build each one, then combine them.

Agent Skills
Chat & AI
+1

9 chapters · 25 min