craft-discipline

craft-discipline is a skill for Claude Code from SebastienDegodez/skraft-plugin. It costs 51 tokens per session (876 once invoked), scanned B, original, GPL-3.0.

A self-check for software changes that are ready to be committed or have just passed a project phase.

In plain words
What is it for?
Use it to inspect completed changes before committing or reporting a green phase.
Why use it?
It provides a final discipline check before claiming the work is complete, while leaving independent review to a reviewer.

Skill for Claude Code

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

Part of the skraft plugin — 36 skills, 15 agents, 5 hooks shipped together

Good fit Use it to inspect completed changes before committing or reporting a green phase.

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

Made for: Claude Code.

Or install skraft, the plugin that ships this one along with the rest of its 36 skills, 15 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 craft-discipline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sebastiendegodez/skraft-plugin/craft-discipline"><img src="https://agentmods.dev/badge/skills/sebastiendegodez/skraft-plugin/craft-discipline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 876 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00051 $0.00876
Opus 5 $0.00026 $0.00438
Sonnet 5 $0.00010 $0.00175
Haiku 4.5 $0.00005 $0.00088

Measured 12d ago against content hash 5184f45667ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

craft-discipline scanned grade B with 1 finding 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 12d 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.

Strips warnings and disclaimersmediumAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

All projects compile without warnings. Treat warnings as errors.
plugins/skraft-framework/skills/craft-discipline/SKILL.md · 121 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 121 lines · 51 tokens per session scan B 5184f45667ac

Subscribe to this mod's changes

craft-discipline is a skill published in the GitHub repository SebastienDegodez/skraft-plugin (8 stars, last pushed 4d ago), licensed GPL-3.0. It adds 51 tokens to every session and 876 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

audit

Audits recent work against its Definition of Done and project patterns. Runs the test suite, compares code against the spec, and reports PASS / PARTIAL / FAIL. Also runs the Critical Gate — a safety scan of the diff for destructive or dangerous operations. Generates an incremental prompt pack for any gaps found. With…

pe-menezes/vibeflow · 93 tokens

deep-review

Evidence-based deep code review rubric — severity + confidence findings across maintainability, correctness, security, performance, and testing. Push for ambitious structural simplification (code judo), not just local cleanup. Escalate hands-on triage to the code-reviewer agent.

ulises-jeremias/agent-toolkit · 57 tokens

gh-address-comments

Triage and address open GitHub PR review and conversation comments using the gh CLI. Use when the user wants to "address PR comments", "resolve review threads", or "respond to reviewers" on the current branch's pull request.

ulises-jeremias/agent-toolkit · 51 tokens

deslop

Remove AI-generated code slop and clean up code style.

ulises-jeremias/agent-toolkit · 14 tokens

threnody-swarm-review

Run a complexity-gated review swarm: fans out one agent per (file × dimension) — logic, security, edge/null, types, performance — then synthesizes findings into a ranked report. Model selection per agent routed through Threnody. Use for deep parallel review, security-critical audit, threat-modeling, or explicit…

timjensgrossinger/threnody · 99 tokens

threnody-fast-review

Fast broad code review swarm: one read-only host agent per file, then one synthesis agent. Use when asked for a fast swarm review, one-agent-per-file review, broad review sweep, ordinary swarm review, or when reviewing many files where coverage and speed matter more than per-dimension depth.

timjensgrossinger/threnody · 64 tokens