principle-redesign-from-first-principles

principle-redesign-from-first-principles is a skill for Claude Code from mintuz/skills. It costs 34 tokens per session (286 once invoked), scanned A, original, MIT.

A software-design rule for handling a requirement that challenges an existing design. It derives the desired design from the outcome and constraints, then makes the smallest coherent change rather than starting an unauthorised rewrite.

In plain words
What is it for?
It is for changing APIs, data types, validation, consumers, examples, and documentation when a requirement affects the design. It helps deliver the change in bounded, verifiable steps.
Why use it?
It prevents isolated flags or special cases from leaving different parts of the system with conflicting assumptions. It also keeps compatibility, security, migration, and rollback in view.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the principle plugin — 54 skills shipped together

Good fit It is for changing APIs, data types, validation, consumers, examples, and documentation when a requirement affects the design. It helps deliver the change in bounded, verifiable steps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mintuz/skills/principle-redesign-from-first-principles
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 mintuz/skills --skill principle-redesign-from-first-principles
Clone the repo
git clone --depth 1 https://github.com/mintuz/skills

Made for: Claude Code.

Or install principle, the plugin that ships this one along with the rest of its 54 skills.

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-redesign-from-first-principles

README.md
[![agentmods](https://agentmods.dev/badge/skills/mintuz/skills/principle-redesign-from-first-principles/github.svg)](https://agentmods.dev/skills/mintuz/skills/principle-redesign-from-first-principles)
Your own site
<a href="https://agentmods.dev/skills/mintuz/skills/principle-redesign-from-first-principles"><img src="https://agentmods.dev/badge/skills/mintuz/skills/principle-redesign-from-first-principles/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-redesign-from-first-principles

Your own site · 80×15
<a href="https://agentmods.dev/skills/mintuz/skills/principle-redesign-from-first-principles"><img src="https://agentmods.dev/badge/skills/mintuz/skills/principle-redesign-from-first-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 286 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 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.1 $0.00034 $0.00286
Opus 5.5 $0.00014 $0.00114
Sonnet 5.5 $0.00007 $0.00057
Haiku 4.5 $0.00003 $0.00029

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

Security

Grade A, and why

principle-redesign-from-first-principles 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.

src/principle/skills/principle-redesign-from-first-principles/SKILL.md · 19 lines

What it actually says

Redesign From First Principles

Read affected paths and identify the required outcome, invariants, supported consumers and operational constraints. Ask what design you would choose if the new requirement had always existed.

Compare that design with the current system. Choose the smallest coherent evolution that meets the outcome; clean-slate reasoning does not authorize clean-slate implementation. Preserve explicit analysis-only scope, compatibility, security and unrelated work.

Carry the accepted design through affected types, validation, consumers, examples and documentation. Avoid a local flag or special case that leaves conflicting assumptions elsewhere.

Deliver authorized changes in bounded, verifiable slices with migration and rollback where needed. For an exploratory question, present the design, tradeoffs and next reviewable step. Verify the changed behavior before claiming the redesign is delivered.

Distinct from: principle-exhaust-the-design-space (a novel choice with material uncertainty), principle-migrate-callers-then-delete-legacy-apis (replacing an API), principle-foundational-thinking (adding infrastructure for later).

Done: the smallest coherent evolution is chosen and carried through every affected type, validation path, consumer, example and document, and the changed behaviour is verified before the redesign is called delivered.

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 · 19 lines · 34 tokens per session scan A b8ae8882c30c

Subscribe to this mod's changes

principle-redesign-from-first-principles is a skill published in the GitHub repository mintuz/skills (38 stars, last pushed 6d ago), licensed MIT. It adds 34 tokens to every session and 286 once invoked, about $0.0001 per session on Opus 5.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-10-20.

Related

principle-redesign-from-first-principles compared with skills from other repositories

principle-redesign-from-first-principles next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
principle-redesign-from-first-principlesmintuz/skillsSkill386d agoMITA34Claude Code
mcp-builderHKUDS/DeepCodeSkill17kyesterdayMITA61Claude Code, Codex
data-warehouse-experimentationrampstackco/claude-skillsSkill1.1k14d agoMITA157Claude Code
cro-optimizationrampstackco/claude-skillsSkill1.1k14d agoMITA123Claude Code
media-asset-managementrampstackco/claude-skillsSkill1.1k14d agoMITA111Claude Code
skill-creation-walkthroughrampstackco/claude-skillsSkill1.1k14d agoMITA135Claude Code
analytics-strategyrampstackco/claude-skillsSkill1.1k14d agoMITA126Claude Code