Clairvoyance

ESP for AI Coding

Good software isn't written. It's designed.

Open your agent's third eye and see what it's been missing.

Claude Code

1 /plugin marketplace add codybrom/clairvoyance
2 /plugin install clairvoyance@clairvoyance-plugins

Other Agents (via Skills.sh)

$ npx skills add codybrom/clairvoyance --skill '*'

Universal (LLMs.txt)

clairvoyance.fyi/llms-full.txt

Using Codex or OpenCode? See install instructions

Extrasensory Perspective

Your agent already knows how to code. Teach it how to sense. Battle-tested philosophy on software design, grounded in decades of engineering experience.

Structure

  • Deep Modules
  • Module Boundaries
  • Information Hiding
  • Pull Complexity Down
4 skills

Abstraction

  • General Vs Special
  • Error Design
  • Abstraction Quality
3 skills

Clarity

  • Naming Obviousness
  • Comments Docs
2 skills

Process

  • Strategic Mindset
  • Design It Twice
  • Code Evolution
  • Complexity Recognition
4 skills

Diagnostic

  • Red Flags
  • Design Review
  • Diagnose
3 skills

Read the Tea Leaves

Complexity hides all over your code. Each skill teaches your AI assistant exactly where to look.

Browse all skills or take the quiz →
Structure

Deep Modules

Measures module depth, whether the interface is simple relative to the implementation behind it.

Read →
Structure

Module Boundaries

Evaluates where module boundaries are drawn and whether modules should be merged or split.

Read →
Structure

Information Hiding

Checks for information leakage across module boundaries.

Read →
Structure

Pull Complexity Downwards

Checks whether complexity is pushed to callers or absorbed by implementations.

Read →
Abstraction

General vs. Special-Purpose

Evaluates whether interfaces are appropriately general-purpose.

Read →
Abstraction

Error Design

Reviews error handling strategy and exception design.

Read →
Abstraction

Abstraction Quality

Evaluates whether abstractions genuinely provide a fundamentally different way of thinking or are structurally shallow.

Read →
Clarity

Naming & Obviousness

Reviews naming quality and code obviousness.

Read →
Clarity

Comments & Documentation

Reviews comment quality and documentation practices.

Read →
Process

Strategic Mindset

Assesses whether code reflects strategic or tactical thinking.

Read →
Process

Design It Twice

Generates and compares design alternatives before committing.

Read →
Process

Code Evolution

Evaluates whether modifications to existing code maintain or degrade design quality.

Read →
Process

Complexity Recognition

Diagnoses what makes code complex and why, using the three-symptom two-root-cause framework.

Read →
Diagnostic

Red Flags Diagnostic

Scans code against 17 named design smells and produces a structured diagnostic report.

Read →
Diagnostic

Design Review Orchestrator

Orchestrates a structured design review by running existing skills in a diagnostic funnel, from complexity triage through structural, interface, and surface checks to a full red-flags sweep.

Read →
Diagnostic

Diagnose

Routes a vague symptom or complaint to the most relevant Clairvoyance skill via a decision tree.

Read →

See It in Action

Check out how Clairvoyance skills activate in real coding sessions. Your agent sees the design problem, applies the right principle and rewrites with intent.

clairvoyance · session replay
 

See through complexity

The principles behind Clairvoyance are inspired by the teachings of John Ousterhout and his book A Philosophy of Software Design. If you haven't read it, you really should.

Star on GitHub