discipline

discipline is a plugin for Claude Code from melodic-software/claude-code-plugins. Its manifest loads nothing; the 18 skills it bundles cost 1,899 tokens per session together, scanned A, original, MIT.

A collection of review plugins that help an agent research carefully, follow project standards, avoid copied content, question inherited choices, and check upstream documentation.

In plain words
What is it for?
Use its individual checks to verify facts, review conventions, reduce duplication, examine decisions, and compare work with upstream sources.
Why use it?
It gives an agent reminders for common sources of error in reasoning, communication, and software work.

Plugin for Claude Code

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

Good fit Use its individual checks to verify facts, review conventions, reduce duplication, examine decisions, and compare work with upstream sources.

Compare 6 plugins from other repositories ↓
Install in Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
/plugin install 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.

Clone the repo
git clone --depth 1 https://github.com/melodic-software/claude-code-plugins

Made for: Claude Code.

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 discipline

README.md
[![agentmods](https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/discipline/github.svg)](https://agentmods.dev/plugins/melodic-software/claude-code-plugins/discipline)
Your own site
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/discipline"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/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 discipline

Your own site · 80×15
<a href="https://agentmods.dev/plugins/melodic-software/claude-code-plugins/discipline"><img src="https://agentmods.dev/badge/plugins/melodic-software/claude-code-plugins/discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 18 skills cost 1,899 tokens a session between them.
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.
Security

Grade A, and why

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 yesterday.

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/discipline/.claude-plugin/plugin.json · 71 lines

How it starts

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

{
  "name": "discipline",
  "version": "0.21.1",
  "description": "Correctors that re-anchor a rule, audit work in flight, and fix drift: do-your-research, follow-our-standards, point-dont-copy, reason-dont-recite, tighten-your-output, recheck-against-upstream, pick-for-the-problem, mind-your-maxims, script-the-deterministic-work, use-your-skills, reuse-or-replace, scrutinize-dont-coast. sweep-all runs them as one batch. wait-what re-pitches a message that did not land. hold-my-hand shows work one phase at a time. be-ambitious raises one request's ambition.",
  "author": {
    "name": "Melodic Software",
    "email": "[email protected]"
  },
  "license": "MIT",
  "keywords": [
    "re-anchor",
    "discipline",
    "corrector",
    "research",
    "standards",
    "duplication",
    "incumbency",
    "terseness",
    "upstream",
    "conformance",
    "selection",
    "dependencies",
    "communication",
    "determinism",
    "scripting",
    "skills",
    "consistency",
    "reuse",
    "skill",
    "self-scrutiny",
    "adversarial",
    "runbook",
    "posture",
    "batch"
  ],
  "userConfig": {
    "batch_exclude": {
      "type": "string",
      "title": "Posture batch excluded correctors",
      "description": "Comma-separated corrector skill names to drop from the posture batch (for example: point-dont-copy). Overrides the corrector's own declared tier. Empty runs the tiers exactly as the correctors declare them.",
      "default": ""
    },
    "batch_promote": {
      "type": "string",
      "title": "Posture batch always-run correctors",
      "description": "Comma-separated situational corrector skill names to always run in the batch instead of gating them on relevance to the conversation. Situational-only: a never-tier, core, or unknown name draws a visible warning and is not promoted.",
      "default": ""
    },
    "batch_demote": {
      "type": "string",
      "title": "Posture batch relevance-gated correctors",
      "description": "Comma-

Read the full file on GitHub · 71 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. yesterday Changed 6be568b8bac2
  2. 3d ago Changed 5d390a69096f
  3. 5d ago Changed 537e7445be1b
  4. 6d ago Changed 54cbf2975935
  5. 8d ago Changed · +7 lines 713e8cc6211a
  6. 9d ago Changed 2c9f9450eceb
  7. 11d ago Changed e9149eeb1a82
  8. 12d ago Changed 0b49ec145873
  9. 15d ago Changed 4e8c725b3a19
  10. 16d ago First seen · 64 lines scan A a50f4babd960

Subscribe to this mod's changes

discipline is a plugin published in the GitHub repository melodic-software/claude-code-plugins (26 stars, last pushed today), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-09-03.