Agent skill

Discipline

by av in av/mi

Bulletproof agent operating protocol. An agent skill from av/mi.

No licenceAuto-check passed

Install Discipline

skills CLI
$ npx skills add av/mi --skill discipline -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install av/mi discipline --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/av/mi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/discipline .claude/skills/discipline && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
discipline
GitHub stars
102
Token cost
~3.4k tokens
SKILL.md length
1,897 words
Files
2
Skills in repo
20
Repo updated
First seen
Licence
None found

At a glance

Bulletproof agent operating protocol. An agent skill from av/mi.

  • Works in 12 steps: Never Fabricate → Listen Before Acting → Verify Before Declaring Done → …
  • SKILL.md covers 1. Never Fabricate, 2. Listen Before Acting, 3. Verify Before Declaring Done and 4. Investigate Before Blaming, plus 15 more sections
  • Calls git, cargo and npm

What it does

Discipline is an agent skill from av/mi. Bulletproof agent operating protocol. 15 failure-prevention rules distilled from 120+ real sessions and 10 agent definitions. Covers fabrication, constraint tracking, verification, scoping, retry discipline, and communication. Load before any task to prevent the most common agent failure modes.

Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `README.md`).

The repository describes itself as: self-extending sandboxed agentic harness. a loop, two tools and an llm.

Example prompts

  • “/discipline”

Requirements

  • Node.js

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Never Fabricate
  2. Listen Before Acting
  3. Verify Before Declaring Done
  4. Investigate Before Blaming
  5. Apply Previous Solutions
  6. Respect Input Effort
  7. Do the Systematic Thing
  8. Stay in Scope
  9. Never Retry Blindly
  10. Use Evidence, Not Speculation
  11. Treat User Technology Choices as Sacred
  12. Ship Complete

What it can do on your machine

Read from SKILL.md and the folder at commit 2bf50c9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • cargo
    • npm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Discipline loads about 3.4k tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 1,897 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,897 words (~3,415 tokens).

“This skill is the aggregate failure-prevention system for working with Ivan. Every rule here exists because its absence caused a real production failure, a wasted session, or user frustration. None of this is theoretical.”

— opening of SKILL.md by av
name
discipline

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .agents/skills/discipline of av/mi.

  • SKILL.md
  • README.md

Open the folder on GitHubat commit 2bf50c9

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in av/mi, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Discipline next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Discipline compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Discipline this skillav/mi102—~3.4kAutomated safety check: PassNone
Paperclip Distillpaperclipai/paperclip98k—~2.8kAutomated safety check: PassMIT
It Operationsdavila7/claude-code-templates32k1 repos~3.7kAutomated safety check: PassMIT
Operator Approval Loopaffaan-m/ECC274k—~3.3kAutomated safety check: PassMIT
Business Operations Skillsalirezarezvani/claude-skills28k—~2.3kAutomated safety check: PassMIT
Rules Distillationaffaan-m/ECC274k2 repos~2.3kAutomated safety check: PassMIT

Similar skills

  • Paperclip Distill

    paperclipai/paperclip

    A skill your agent uses when an operation issue is a Paperclip cursor-window, distill, or backfill.

    98k GitHub stars~2.8k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • It Operations

    davila7/claude-code-templates

    Manages IT infrastructure, monitoring, incident response, and service reliability.

    32k GitHub starsUsed in 1 repo~3.7k tokens
    DevOps & CloudAuto-check passed
  • Operator approval contract with internal filing notices for agent-drafted outbound messages, hashed drafts, epoch-keyed decisions, durable delivery claims and receipts, and a pre-draft baseline gate.

    274k GitHub stars~3.3k tokensUpdated 2 days ago
    Auto-check passed
  • Business Operations Skills

    alirezarezvani/claude-skills

    A skill your agent uses when running, diagnosing, or designing internal business operations — process documentation, vendor SLAs, capacity planning, internal comms, SOP/runbook authoring…

    28k GitHub stars~2.3k tokensUpdated 1 mo ago
    Business, Finance & HRAuto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    274k GitHub starsUsed in 2 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Taste Distillation

    affaan-m/ECC

    Measure a set of reference videos into a reusable style pack - colour grade as a 3D LUT, cut rhythm as a shot-length distribution, hero stills, screen-blend overlay plates, and a text spec for a…

    274k GitHub stars~2.3k tokensUpdated 2 days ago
    Auto-check passed
  • Writes plain-English integration test specs with verifiable steps and expectations, then runs each one through a subagent that reports pass or fail with logs.

    102 GitHub stars~908 tokensUpdated 11 days ago
    Auto-check passed
  • Anneal

    av/mi

    A skill your agent uses when the user wants to systematically fix AI code slop — duplicated logic, over-engineering, silent error swallowing, convention drift, cargo-cult patterns, and other…

    102 GitHub stars~3.8k tokensUpdated 11 days ago
    Auto-check passed
  • Scans a codebase to tag every fact as draft, spec or implemented based on what the code actually shows, adding missing facts and fixing or removing wrong ones.

    102 GitHub stars~2.8k tokensUpdated 11 days ago
    Auto-check passed
  • Implements every @spec fact from a project's fact sheet in code, tags each one @implemented once done, and reports exactly what is left if it cannot finish.

    102 GitHub stars~1.3k tokensUpdated 11 days ago
    Auto-check passed
  • Works with you to turn draft behavioral facts into precise, implementable spec facts, resolving vague labels, gaps and contradictions one at a time through discussion.

    102 GitHub stars~1.5k tokensUpdated 11 days ago
    Auto-check passed
  • Ideate

    av/mi

    Timeboxed ideation on a topic using propose-and-critique subagent pairs.

    102 GitHub stars~2.8k tokensUpdated 11 days ago
    Auto-check passed

Questions about Discipline

What does Discipline do?

Bulletproof agent operating protocol. An agent skill from av/mi. Discipline is an agent skill from av/mi. Bulletproof agent operating protocol.

How do I install Discipline in Claude Code?

Run `npx skills add av/mi --skill discipline -a claude-code`. Or copy the skill folder (.agents/skills/discipline in av/mi) into .claude/skills/discipline in your project. Claude Code loads it when a task matches its description.

How do I install Discipline in Codex?

Run `npx skills add av/mi --skill discipline -a codex`. Or copy the skill folder (.agents/skills/discipline in av/mi) into .agents/skills/discipline in your project. Codex loads it when a task matches its description.

Can I use Discipline in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add av/mi --skill discipline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/discipline, .gemini/skills/discipline, .github/skills/discipline and .opencode/skills/discipline in your project.

What does Discipline need to run?

Going by SKILL.md and its folder, Discipline needs the command-line tools its instructions call (git, cargo and npm). Our summary lists: Node.js.

Does Discipline access the network?

SKILL.md contains no URLs. Its commands use git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Discipline safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Discipline use?

No licence was found for Discipline or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Discipline use?

About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Discipline?

Skills that share tags, products or a category with Discipline: Paperclip Distill (paperclipai/paperclip, 98k stars), It Operations (davila7/claude-code-templates, 32k stars), Operator Approval Loop (affaan-m/ECC, 274k stars) and Business Operations Skills (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Discipline?

av (a GitHub user) maintains it in av/mi, which has 102 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 26, 2026.

Source: av/mi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.