principles

principles is a skill for Claude Code from Yeachan-Heo/oh-my-claudecode. It costs 44 tokens per session (1,959 once invoked), scanned A, original, MIT.

A set of engineering principles for designing, debugging, verifying, modeling, and delegating software work. It guides choices such as testing assumptions, finding root causes, keeping changes small, and checking evidence.

In plain words
What is it for?
Use it when a fix has failed repeatedly, a design choice spans several files, or a debugging, verification, benchmarking, or delegation brief is being prepared.
Why use it?
It gives teams a shared way to avoid repeated fixes, unnecessary abstractions, and claims that have not been verified. It shapes the work but does not block delivery by itself.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the oh-my-claudecode plugin — 85 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it when a fix has failed repeatedly, a design choice spans several files, or a debugging, verification, benchmarking, or delegation brief is being prepared.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yeachan-heo/oh-my-claudecode/principles
About the project

Oh My Claude Code is a multi-agent orchestration system for Claude Code, coordinating specialized agents, commands, skills, hooks, and workflows. It is designed for developers who want Claude Code to handle coding tasks through coordinated agent roles. Catalogue entries are components of its Claude Code workflow, including agents, commands, skills, hooks, instructions, MCP configuration, and a plugin.

Yeachan-Heo/oh-my-claudecode · 41,224 stars · on GitHub · oh-my-claudecode.dev

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 Yeachan-Heo/oh-my-claudecode --skill principles
Clone the repo
git clone --depth 1 https://github.com/Yeachan-Heo/oh-my-claudecode

Made for: Claude Code.

Or install oh-my-claudecode, the plugin that ships this one along with the rest of its 85 skills, 21 commands, 19 agents, 11 hooks, 1 MCP server.

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 principles

README.md
[![agentmods](https://agentmods.dev/badge/skills/yeachan-heo/oh-my-claudecode/principles/github.svg)](https://agentmods.dev/skills/yeachan-heo/oh-my-claudecode/principles)
Your own site
<a href="https://agentmods.dev/skills/yeachan-heo/oh-my-claudecode/principles"><img src="https://agentmods.dev/badge/skills/yeachan-heo/oh-my-claudecode/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 principles

Your own site · 80×15
<a href="https://agentmods.dev/skills/yeachan-heo/oh-my-claudecode/principles"><img src="https://agentmods.dev/badge/skills/yeachan-heo/oh-my-claudecode/principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,959 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.00044 $0.01959
Opus 5.5 $0.00018 $0.00784
Sonnet 5.5 $0.00009 $0.00392
Haiku 4.5 $0.00004 $0.00196

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

Security

Grade A, and why

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 27d 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

Copies of this mod

1 near-identical copy found in the catalogue:

skills/principles/SKILL.md · 230 lines

How it starts

The opening of the file, as written. The whole thing — 230 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Engineering Principles

Twenty-four principles distilled for OMC's lanes from the pstack principle library (credited above) and rewritten against OMC's own mechanisms. Each names when it applies and which lane carries it. This is a discipline skill: it shapes how work is done; it never gates delivery on its own.

When to use

  • a fix has failed twice, or two fixes share one explanation
  • debugging, verification, or benchmarking work is starting
  • a design choice repeats a shape assumption across files
  • delegation prompts are being written and a lane's standing principles should travel with the brief

When not to use

  • a one-line mechanical edit with an obvious check
  • a hotfix under time pressure — state which principle you skipped and why in one line, then proceed

Core

Laziness Protocol

Refactoring, sizing a diff, or tempted to add abstractions, layers, or signal threading. Bias to deletion and the smallest change that solves the problem. Composes with minimal-code-discipline. Carried by executor and code-simplifier.

Foundational Thinking

Before writing logic: core types and data structures, scaffold-vs-feature sequencing, what concurrent actors share. Carried by architect and planner.

Redesign from First Principles

Integrating a new requirement into an existing design. Redesign as if the requirement had been foundational from day one, instead of patching the old shape around it. Carried by architect.

Attack the premise

When two or more attempted fixes share one assumption and all failed the same gate, stop writing fix three. Write the shared assumption down, test it directly, and let the result choose the next move. Carried by critic during plan gap analysis and by debugger before a third retry.

Subtract before you add

Before sequencing an addition, refactor, or rewrite, remove the dead weight first and build on the simpler base. Carried by executor and code-simplifier.

Minimize reader load

Read the full file on GitHub · 230 lines

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. 27d ago First seen · 230 lines · 44 tokens per session scan A c78e5b52441d

Subscribe to this mod's changes

principles is a skill published in the GitHub repository Yeachan-Heo/oh-my-claudecode (41,224 stars, last pushed yesterday), licensed MIT. It adds 44 tokens to every session and 1,959 once invoked, about $0.0002 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-11-08.

Related

principles compared with skills from other repositories

principles next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
principlesYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA44Claude Code
oracle-debugmartinffx/atelierSkill53todayMITA56Claude Code
patch-opencodeEZotoff/ez-omo-configSkill61mo agoMITA53Claude Code, Codex
patch-opencode.tmpEZotoff/ez-omo-configSkill61mo agoMITA53Claude Code, Codex
add-providerEZotoff/ez-omo-configSkill61mo agoMITA93OpenCode
register-retry-errorEZotoff/ez-omo-configSkill61mo agoMITA28Claude Code, Codex
register-retry-errorEZotoff/ez-omo-configSkill61mo agoMITA28Claude Code, Codex