Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
danielmiessler avatar

Iterativedepth

  • 104 installs
  • 17.2k repo stars
  • Updated August 1, 2026
  • danielmiessler/personal_ai_infrastructure

Progressively deepen PAI research by looping shallow scans into layered analysis—each pass adds context, questions, and detail until a topic is understood at the depth you need.

About

The iterativedepth skill guides Personal AI Infrastructure agents through repeated research passes that start broad and narrow intelligently, adding context and follow-up questions each cycle until complex topics are explored at the depth required for sound decisions.

  • Layered inquiry loops
  • Progressive detail
  • Adaptive follow-up questions
  • Reduced shallow answers
  • Depth-controlled research

Iterativedepth by the numbers

  • 104 all-time installs (skills.sh)
  • Ranked #4,219 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/danielmiessler/personal_ai_infrastructure --skill iterativedepth

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs104
repo stars17.2k
Last updatedAugust 1, 2026
Repositorydanielmiessler/personal_ai_infrastructure

What it does

Progressively deepen PAI research by looping shallow scans into layered analysis—each pass adds context, questions, and detail until a topic is understood at the depth you need.

Files

SKILL.mdMarkdownGitHub ↗

Customization

Before executing, check for user customizations at: ~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/IterativeDepth/

If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.

IterativeDepth

Structured multi-angle exploration of the same problem to extract deeper understanding and richer ISC criteria.

Grounded in 20 established scientific techniques across cognitive science (Hermeneutic Circle, Triangulation), AI/ML (Self-Consistency, Ensemble Methods), requirements engineering (Viewpoint-Oriented RE), and design thinking (Six Thinking Hats, Causal Layered Analysis).

Core Concept

Instead of analyzing a problem once, run 2-8 structured passes through the same problem, each from a systematically different lens. Each pass surfaces requirements, edge cases, and criteria invisible from other angles. The combination yields ISC criteria that no single-pass analysis could produce.

Use / Win

When to use: Any time you have time budget beyond Standard tier and the task is important enough that getting the ISC right matters more than speed. This is the single most valuable thinking capability for the OBSERVE phase. If you're at Extended effort or above, you should be asking "why NOT use IterativeDepth?" rather than "why use it?"

Concrete triggers:

  • Extra time available — Extended+ effort means you have the budget. Spend it on understanding the problem deeply before writing ISC, not on writing more code faster.
  • Deep analysis of what's actually being asked — The user said X. But what do they actually need? What are they trying to accomplish? What would make them rate this 9-10? Single-pass reverse engineering catches the obvious. IterativeDepth catches the rest.
  • Different angles of approach — Before committing to an approach, explore the problem from stakeholder, failure, temporal, experiential, and constraint-inversion angles. The right approach often only becomes obvious after seeing the problem from 3-4 directions.
  • Important or critical tasks — When the user says "this is critical" or the task has high blast radius, the cost of missing a dimension is much higher than the cost of 2-5 extra minutes of analysis.
  • Tasks you've never done before — Novel work has the highest density of hidden requirements. IterativeDepth is insurance against the things you don't know you don't know.

What you win:

  • ISC criteria that single-pass analysis cannot produce. Each lens surfaces requirements invisible from other angles. A 4-lens pass routinely discovers 30-50% more criteria than direct analysis.
  • Blind spot elimination before they become mid-EXECUTE surprises. Rework from missed requirements is 5-10x more expensive than the upfront analysis. IterativeDepth pays for itself by preventing restarts.
  • Approach clarity. Seeing the problem from failure, stakeholder, and constraint-inversion angles often reveals that the obvious approach is wrong and a better path exists.
  • Confidence. When ISC criteria are built on multi-angle analysis, you can execute with conviction instead of discovering gaps halfway through.

The default mental model should be: At Extended+ effort, IterativeDepth is not optional enrichment — it's the standard way to understand what you're building before you build it.

Workflow Routing

TriggerWorkflow
"iterative depth", "explore deeper", "multi-angle"Workflows/Explore.md
"quick depth", "fast angles"Workflows/Explore.md (Fast mode: 2 lenses)

Quick Reference

  • 8 Lenses available, scaled by SLA (2-8)
  • Each lens is a structurally different exploration angle
  • Output is new/refined ISC criteria per pass
  • Integration point: Deeper understanding through structured multi-angle analysis

Full Documentation:

  • Scientific grounding: ScientificFoundation.md
  • Lens definitions: TheLenses.md

Gotchas

  • 2-8 lens passes, not infinite. Diminishing returns after ~5 passes for most topics.
  • Each pass should surface genuinely NEW requirements, not restate previous findings. If passes start repeating, stop early.
  • This is a BPE-fragile skill. Monitor whether smarter models make it unnecessary. Quarterly test recommended.

Examples

Example 1: Surface hidden requirements

User: "use iterative depth on this API redesign"
→ Pass 1: Functional requirements
→ Pass 2: Security implications
→ Pass 3: Performance constraints
→ Pass 4: Backward compatibility
→ Each pass surfaces new requirements missed by previous

Execution Log

After completing any workflow, append a single JSONL entry:

echo '{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","skill":"IterativeDepth","workflow":"WORKFLOW_USED","input":"8_WORD_SUMMARY","status":"ok|error","duration_s":SECONDS}' >> ~/.claude/PAI/MEMORY/SKILLS/execution.jsonl

Replace WORKFLOW_USED with the workflow executed, 8_WORD_SUMMARY with a brief input description, and SECONDS with approximate wall-clock time. Log status: "error" if the workflow failed.

Related skills

AI & Agent Buildingagentsresearchllm

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.