principle-exhaust-the-design-space

principle-exhaust-the-design-space is a skill for Claude Code, OpenCode from painhardcore/pstack. It costs 41 tokens per session (215 once invoked), scanned A, a copy of principle-exhaust-the-design-space, MIT.

A design-exploration method for new user-interface interactions or architecture choices when the codebase has no established pattern. It calls for building two or three genuinely different prototypes or sketches and comparing them before choosing one.

In plain words
What is it for?
Use it to compare alternative interface behaviours, software structures, or product designs where the right choice depends on how they work or feel in practice.
Why use it?
It reduces the risk of committing to the first plausible design when several approaches could work. It is not intended for routine implementation, clear bug fixes, or refactoring.

Skill for Claude CodeOpenCode

Written for Claude Code and OpenCode: shipped in a Claude Code plugin, but also installed under .opencode/.

Part of the pstack plugin — 41 skills, 2 agents shipped together

Good fit Use it to compare alternative interface behaviours, software structures, or product designs where the right choice depends on how they work or feel in practice.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/painhardcore/pstack/principle-exhaust-the-design-space
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.

Any agent
npx skills add painhardcore/pstack --skill principle-exhaust-the-design-space
Clone the repo
git clone --depth 1 https://github.com/painhardcore/pstack

Made for: Claude Code, OpenCode.

Or install pstack, the plugin that ships this one along with the rest of its 41 skills, 2 agents.

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 principle-exhaust-the-design-space

README.md
[![agentmods](https://agentmods.dev/badge/skills/painhardcore/pstack/principle-exhaust-the-design-space/github.svg)](https://agentmods.dev/skills/painhardcore/pstack/principle-exhaust-the-design-space)
Your own site
<a href="https://agentmods.dev/skills/painhardcore/pstack/principle-exhaust-the-design-space"><img src="https://agentmods.dev/badge/skills/painhardcore/pstack/principle-exhaust-the-design-space/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for principle-exhaust-the-design-space

Your own site · 80×15
<a href="https://agentmods.dev/skills/painhardcore/pstack/principle-exhaust-the-design-space"><img src="https://agentmods.dev/badge/skills/painhardcore/pstack/principle-exhaust-the-design-space.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 215 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.00041 $0.00215
Opus 5.5 $0.00016 $0.00086
Sonnet 5.5 $0.00008 $0.00043
Haiku 4.5 $0.00004 $0.00021

Measured 1mo ago against content hash 67e7e29ab4f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

principle-exhaust-the-design-space 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 1mo 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.

Origin

This is a copy

97% identical to principle-exhaust-the-design-space — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.opencode/skills/principle-exhaust-the-design-space/SKILL.md · 21 lines

What it actually says

Exhaust the Design Space

When a novel interaction or architectural decision has no established precedent, explore several concrete alternatives before implementation. Building the wrong thing costs more than exploring three options.

The rule. When the right answer is not obvious, build 2-3 competing prototypes or sketches. Compare them side by side. Only then commit. Design it twice is this rule by another name. A second flavor of the first shape does not count.

When it applies:

  • Novel UI interactions (no prior art in the codebase)
  • Architectural choices with multiple viable approaches
  • Product design decisions where user experience depends on feel, not logic

When it doesn't:

  • Mechanical implementation where the pattern is established
  • Bug fixes or refactors with a clear target state
  • Changes where constraints dictate a single viable approach
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. 1mo ago First seen · 21 lines · 41 tokens per session scan A 67e7e29ab4f4

Subscribe to this mod's changes

principle-exhaust-the-design-space is a skill published in the GitHub repository painhardcore/pstack (13 stars, last pushed 12d ago), licensed MIT. It adds 41 tokens to every session and 215 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to principle-exhaust-the-design-space, differing in 15 lines, and is treated as a copy.

Related

Other skills, from other repositories

ui

Opinionated constraints for building better web interfaces with coding agents. Use this skill whenever the user asks you to build, review, or fix a UI — landing pages, dashboards, components, or any frontend code — and whenever you write Tailwind CSS, motion/react animations, accessible component primitives (Base UI…

svngoku/coding-agents-skills · 120 tokens

creating-figures

Creates publication-quality scientific figures for academic papers. Backend is chosen by host paper extension — .tex papers get TikZ figures, .typ papers get CeTZ figures; the two are never mixed. Use when creating block diagrams, system architectures, flowcharts, or technical illustrations for papers and theses.…

ai4paper/apaper-plugin · 86 tokens

logo-designer

Design and iterate on logos using SVG. Use this skill when the user asks to "create a logo", "design a logo", "make me a logo", "iterate on this logo", "logo for my project", or discusses logo design, branding icons, or wordmarks.

sutchan/Agent-Skills-Hub · 61 tokens

wp-patterns

A workflow for creating and updating WordPress block patterns, which are reusable layouts made from the block editor's content blocks. It also reviews their registration, accessibility, translations, and safe use of theme design settings.

sutchan/Agent-Skills-Hub · 84 tokens

ui-first-principles

A method for deciding which information and actions should appear first in a user interface or information architecture.

sd0xdev/sd0x-harness · 113 tokens

form-patterns

A Russian-language reference for designing managed 1C forms. It describes layout patterns, common conventions, user-experience rules, form archetypes, and advanced techniques.

IngvarConsulting/unica · 58 tokens