operating-discipline

operating-discipline is a skill for Claude Code from vindm/dotclaude. It costs 93 tokens per session (3,724 once invoked), scanned A, original, MIT.

A set of working rules for substantial coding, design, planning, debugging, refactoring, and review tasks.

In plain words
What is it for?
Use it to understand a project before changing it, compare meaningful alternatives, carry work through to completion, and verify the result.
Why use it?
It helps prevent unclear requirements, unverified assumptions, incomplete work, unnecessary complexity, and poorly chosen solutions.

Skill for Claude Code

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

Part of the dotclaude plugin — 7 skills, 5 agents, 5 hooks shipped together

Good fit Use it to understand a project before changing it, compare meaningful alternatives, carry work through to completion, and verify the result.

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

Made for: Claude Code.

Or install dotclaude, the plugin that ships this one along with the rest of its 7 skills, 5 agents, 5 hooks.

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 operating-discipline

README.md
[![agentmods](https://agentmods.dev/badge/skills/vindm/dotclaude/operating-discipline/github.svg)](https://agentmods.dev/skills/vindm/dotclaude/operating-discipline)
Your own site
<a href="https://agentmods.dev/skills/vindm/dotclaude/operating-discipline"><img src="https://agentmods.dev/badge/skills/vindm/dotclaude/operating-discipline/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 operating-discipline

Your own site · 80×15
<a href="https://agentmods.dev/skills/vindm/dotclaude/operating-discipline"><img src="https://agentmods.dev/badge/skills/vindm/dotclaude/operating-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,724 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.00093 $0.03724
Opus 5.5 $0.00037 $0.01490
Sonnet 5.5 $0.00019 $0.00745
Haiku 4.5 $0.00009 $0.00372

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

Security

Grade A, and why

operating-discipline 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 2mo 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/operating-discipline/SKILL.md · 192 lines

How it starts

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

Operating discipline

The universal method for doing any substantive task well. Project-specific values it refers to — the exact lint/test commands, the "fresh artifact" format, the "pure mechanics" boundary, the escalation trigger table — are supplied by the consuming project's local layer (its CLAUDE.md / .claude/); this skill states the method.

How you work — four principles, each with a test

  1. Understand before you build. Resolve ambiguity before writing code. Grill the user for what only they know (intent, taste, priorities); trace the code for what it can tell you — read the path end to end, name the real failure, don't hypothesis-spam. Push back on requests that won't produce something better. When no one's available to answer (unattended / CI / batch run), state assumptions up front and flag every decision taken on an assumption — never stall, never guess silently. The test: you can state the problem correctly — every assumption confirmed by the user or verified in code, none silent.

  2. Reason to the right solution. For any non-obvious choice, weigh 2–3 real alternatives with their trade-offs and recommend one. Elegant over expedient; slower-but-right over fast-but-shallow. One option is not a decision — it's a default in disguise. The test: the design is one you reasoned to, not the first thing that worked.

  3. Goal-driven, complete execution. Reframe imperatives into verifiable checks ("fix the bug" → "write a failing test, then make it pass"). Implement completely (best result, not smallest diff) but stay surgical on scope creep — complete the task, not the adjacent five. Reuse existing building blocks before writing new ones. Adversarial self-check, then verify: run this project's lint + test gates green, and produce a fresh artifact (screenshot / captured output / passing example) for anything user-facing. The test: the success criterion is stated and observably met.

  4. Depth by default, ceremony on demand. Every task except pure mechanics gets principles 1–3 in full. Depth ≠ ceremony — reason hard, but don't spin up agents, audit chains, or multi-step pipelines unless a trigger fires or the user asks. The test: analysis went deep, process stayed lean.

Read the full file on GitHub · 192 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. 2mo ago Changed · +139 lines 92245fe3be16
  2. 3mo ago First seen · 53 lines · 93 tokens per session scan A 378797fd6fd7

Subscribe to this mod's changes

operating-discipline is a skill published in the GitHub repository vindm/dotclaude (1 stars, last pushed 2mo ago), licensed MIT. It adds 93 tokens to every session and 3,724 once invoked, about $0.0004 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-08-31.

Related

operating-discipline compared with skills from other repositories

operating-discipline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
operating-disciplinevindm/dotclaudeSkill12mo agoMITA93Claude Code
onboardwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k2d agononeA56Claude Code
code-revieweralirezarezvani/claude-code-tresorSkill79020d agoMITA54Claude Code
git-commit-helperalirezarezvani/claude-code-tresorSkill79020d agoMITA55Claude Code
five-whyswesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k2d agononeA53Claude Code
test-generatoralirezarezvani/claude-code-tresorSkill79020d agoMITA55Claude Code
api-documenteralirezarezvani/claude-code-tresorSkill79020d agoMITA48Claude Code