principles

principles is a skill for Claude Code from watt-mind/factory. It costs 48 tokens per session (1,050 once invoked), scanned A, original, Apache-2.0.

An index of engineering guidance for coding, architecture, verification, delegation, and tool use. It tells the assistant to load only the specific principle needed and to follow repository rules first.

In plain words
What is it for?
Use it when designing, implementing, debugging, reviewing, or benchmarking software work.
Why use it?
It helps choose focused guidance instead of loading every rule at once. It also prevents a general principle from overriding project-specific instructions.

Skill for Claude Code

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

Part of the core plugin — 38 skills, 22 commands, 5 agents, 1 hook shipped together

Good fit Use it when designing, implementing, debugging, reviewing, or benchmarking software work.

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

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 22 commands, 5 agents, 1 hook.

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/watt-mind/factory/principles/github.svg)](https://agentmods.dev/skills/watt-mind/factory/principles)
Your own site
<a href="https://agentmods.dev/skills/watt-mind/factory/principles"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/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/watt-mind/factory/principles"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,050 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.00048 $0.01050
Opus 5.5 $0.00019 $0.00420
Sonnet 5.5 $0.00010 $0.00210
Haiku 4.5 $0.00005 $0.00105

Measured 11d ago against content hash 1ad930fbb3f0, 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 11d 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.

plugins/core/skills/principles/SKILL.md · 44 lines

How it starts

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

Engineering Principles

Read the matching leaf SKILL.md (../<slug>/SKILL.md) in full before applying a principle. Do not load all 19 into context at once.

Precedence: Repository AGENTS.md / Factory Floor rules (Owned Paths, Never auto-merge, escalate_paths, Blocked + factory notify, editorial publish gates, and data-honesty invariants) always take precedence over any principle below.

Core & Design

  • principle-laziness-protocol — Refactoring, sizing a diff, or tempted to add abstractions/layers. Consolidate decisions and minimize the diff without deleting required collateral or honest-gap metadata.
  • principle-foundational-thinking — Before writing logic: choose core types, data structures, scaffold-vs-feature sequencing, and shared state ownership.
  • principle-redesign-from-first-principles — Integrating a new requirement into an existing design. Redesign cleanly inside Owned Paths and compatibility boundaries; file Triage if it crosses them.
  • principle-subtract-before-you-add — Sequencing an addition or refactor. Remove dead weight and redundant stubs first while preserving security/boundary guards and required schema fields.
  • principle-minimize-reader-load — Reviewing or shaping code that is hard to trace. Collapse one-caller wrappers, shrink mutable scope, and reduce layers between question and answer.
  • principle-experience-first — Product, UX, typography, or copy work. Render actual pixels, run ≥1 cold visual self-polish pass over rough first drafts, and surface 2–4 bounded screenshots by default without weakening tenant or security invariants.
  • principle-build-the-lever — Any non-trivial or repeated work (migrations, bulk edits, checks). Build a rerunnable tool or script rather than doing it by hand.
  • principle-exhaust-the-design-space — Gated: Net-new UI surfaces, material layout redesigns, greenfield architecture, or when explicitly requested (never routine bugfixes). Diverge into 2–3 distinct options, autonomously select and commit the winner, and record the rationale.

Read the full file on GitHub · 44 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. 11d ago Changed 1ad930fbb3f0
  2. 14d ago First seen · 44 lines · 48 tokens per session scan A 66a2ffec57b5

Subscribe to this mod's changes

principles is a skill published in the GitHub repository watt-mind/factory (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 48 tokens to every session and 1,050 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-16.

Related

principles compared with skills from other repositories

principles next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
principleswatt-mind/factorySkill24yesterdayApache-2.0A48Claude Code
github-pr-workflowpaperclipai/paperclipSkill118ktodayMITA39Claude Code, Codex
ap-jurorSpielewoy/autoprompt-skillSkill1.3k1mo agoMITA24Claude Code
ap-reviewerSpielewoy/autoprompt-skillSkill1.3k1mo agoMITA23Claude Code
ap-sweeperSpielewoy/autoprompt-skillSkill1.3k1mo agoMITA24Claude Code
convergeJotJunior/cstkSkill24yesterdayMITA126Claude Code
go-review-serviceJotJunior/cstkSkill24yesterdayMITA17Claude Code