Agent skill

Vow Enforcement

by athola in athola/claude-night-market

Classifies and enforces constraints via soft vows, hard vows, and Nen Court layers.

MITAuto-check passedAgent Workflows

Install Vow Enforcement

skills CLI
$ npx skills add athola/claude-night-market --skill vow-enforcement -a claude-code

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

GitHub CLI
$ gh skill install athola/claude-night-market vow-enforcement --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/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/imbue/skills/vow-enforcement .claude/skills/vow-enforcement && 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
vow-enforcement
GitHub stars
341
Token cost
~2.4k tokens
SKILL.md length
1,027 words
Files
1
Skills in repo
152
Repo updated
First seen
Licence
MIT

At a glance

Classifies and enforces constraints via soft vows, hard vows, and Nen Court layers.

  • Works in 3 steps: Start as Soft Vow → Monitor Violation Rate → Graduate if Needed
  • Auditing enforcement mechanisms for project rules
  • SKILL.md covers The Problem, Three Enforcement Layers, Vow Classification Protocol and Night Market Vow Inventory, plus 7 more sections
  • Calls python

What it does

Vow Enforcement is an agent skill from athola/claude-night-market. Classifies and enforces constraints via soft vows, hard vows, and Nen Court layers. Use when designing or auditing enforcement mechanisms for project rules.

Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.

When your agent uses it

  • Auditing enforcement mechanisms for project rules

Example prompts

  • “Use the vow-enforcement skill to classify and enforces constraints via soft vows, hard vows, and Nen Court layers”
  • “/vow-enforcement”

Requirements

  • Python 3

Workflow steps

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

  1. Start as Soft Vow
  2. Monitor Violation Rate
  3. Graduate if Needed

What it can do on your machine

Read from SKILL.md and the folder at commit 9f3eb00. 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:

    • python

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

  • Network

    No URLs in SKILL.md.

    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

Vow Enforcement loads about 2.4k tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 1,027 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~2.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

The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 1,027 words, ~2,380 tokens.

Download SKILL.mdSave it as .claude/skills/vow-enforcement/SKILL.md (or your agent's skills folder).
name
vow-enforcement
description
Classifies and enforces constraints via soft vows, hard vows, and Nen Court layers. Use when designing or auditing enforcement mechanisms for project rules.
alwaysApply
false
category
workflow-methodology
tags
enforcement, constraints, hooks, compliance, governance
dependencies
imbue:proof-of-work, imbue:scope-guard, imbue:justify
usage_patterns
constraint-classification, vow-graduation, compliance-auditing, enforcement-design
complexity
intermediate
model_hint
standard
estimated_tokens
2800
role
hook-target

Rules that depend on willpower fail under pressure. Enforcement earns trust by making the right path the only path.

Vow Enforcement

The Problem

ODCV-Bench found that agents break self-imposed constraints 30-50% of the time when goals conflict. Practitioner consensus confirms: past 150 soft rules, compliance drops for ALL rules, not just the new ones.

The core insight: "settings.json is a firewall; CLAUDE.md is an employee handbook." Handbooks work for guidance. Firewalls work for enforcement. Mixing them up creates a false sense of security.

Three Enforcement Layers

LayerMechanismComplianceExamples
Soft VowSkill instructions, CLAUDE.md rules~80%"Write tests first", "Keep commits small"
Hard VowHooks (PreToolUse/PostToolUse), settings.json permissions~100%Block --no-verify, enforce file size limits
Nen CourtExternal validator agents checking outputDeterministicLint checks, test runs, constraint audits

Soft Vows rely on model compliance. Cheap to add and easy to iterate, but unreliable under goal conflict. Use when the constraint requires judgment, violation is annoying but not dangerous, or you are still learning what the right rule is.

Hard Vows block forbidden actions before they execute via hooks and settings.json permissions. Use when the constraint is binary, violation causes real damage, or the soft vow version was violated repeatedly.

Nen Court spawns external validator agents that audit output after a phase completes. Use when the constraint requires analysis (not pattern matching), a hook cannot express the rule, or the check needs codebase context.

Vow Classification Protocol

When adding a new constraint, follow this sequence:

Step 1: Start as Soft Vow

Add the rule to the relevant skill or CLAUDE.md. This is the cheapest path: zero cost, minutes to deploy, ~80% compliance.

Step 2: Monitor Violation Rate

Track violations via execution logs, post-hoc audits (imbue:justify reports), user complaints, and Nen Court findings from related audits.

Step 3: Graduate if Needed

If violation rate exceeds 20% over a 30-day window:

  • Binary constraint? Graduate to Hard Vow (hook).
  • Judgment constraint? Graduate to Nen Court.
  • Ambiguous? Try Hard Vow first. If false positives exceed 10%, move to Nen Court.

Night Market Vow Inventory

Current classification of existing constraints:

ConstraintCurrent LayerTarget LayerNotes
Iron Law (no impl without failing test)Nen CourtNen Courtvalidators/iron_law.py audits commit order (#406)
No --no-verifyHardHardAlready hook-enforceable
Scope-guard worthiness scoringSoftSoftRequires judgment, not binary
Proof-of-work evidenceNen CourtNen Courtvalidators/proof_of_work.py checks [Ex] refs and status (#406)
Bounded discovery readsHardHardvow_bounded_reads.py with fcntl.flock for parallel safety (#418)
No AI attribution in commitsHardHardHook pattern-matches git commit command
Markdown line wrapping at 80 charsNen CourtNen Courtvalidators/markdown_wrap.py flags >80-char prose lines (#406)
No emojis in commitsHardHardHook pattern-matches git commit command
Validator Invocation

The three Nen Court validators are standalone scripts under plugins/imbue/validators/. Each reads JSON on stdin and writes a verdict JSON on stdout, using exit codes 0 (pass), 1 (violation), and 2 (inconclusive). Examples:

bash
# Markdown wrap audit on a list of files
echo '{"files": ["README.md", "docs/guide.md"]}' \
  | python plugins/imbue/validators/markdown_wrap.py

# Iron Law audit on an explicit commit log
echo '{"commits": [
  {"sha": "abc", "ts": 100, "files": ["tests/test_x.py"]},
  {"sha": "def", "ts": 200, "files": ["src/x.py"]}
]}' | python plugins/imbue/validators/iron_law.py

# Proof-of-work audit on agent output
echo '{"text": "Tested foo [E1] [E2] [E3]. Status: PASS.", "min_evidence": 3}' \
  | python plugins/imbue/validators/proof_of_work.py

Mission orchestrator integration: dispatch the appropriate validator at each phase boundary (see Nen Court Protocol below) and treat exit code 1 as a blocking gate, exit code 2 as advisory.

Vow Graduation Criteria

A vow graduates when any of these conditions hold:

  1. Frequency: 3+ violations detected in 30 days
  2. Severity: Single violation caused rollback, data loss, or broken CI
  3. User escalation: User explicitly requests enforcement ("make it impossible to X")
Graduation Process
  1. Document the violation pattern with evidence
  2. Design the hook or validator agent
  3. Test the enforcement mechanism in isolation
  4. Deploy alongside the soft vow (shadow mode)
  5. After 1 week with no false positives, retire the soft vow
Demotion

Hard Vows can be demoted back to Soft if:

  • The hook produces > 10% false positive rate
  • The constraint was too aggressive (blocking legitimate work)
  • The underlying concern no longer applies
Show full SKILL.md (398 more words)Show less

Nen Court Protocol

Nen Court runs at phase boundaries in the mission orchestrator lifecycle:

  • After specify: validate spec completeness
  • After plan: validate plan feasibility
  • After execute: validate Iron Law, additive bias, proof-of-work
  • Before pr-prep: final compliance audit
Validator Agent Contract
yaml
validator:
  name: iron-law-court
  constraint: "Tests must drive implementation"
  inputs:
    - git log with timestamps
    - diff of test files vs implementation files
  checks:
    - test file modified before implementation file
    - no test assertions changed to match output
    - coverage did not decrease
  output:
    verdict: pass | violation | inconclusive
    evidence: [list of specific findings]
    recommendation: [action if violation]
Verdicts
VerdictMeaningAction
passConstraint satisfiedPhase advances
violationConstraint broken with evidencePhase blocked until fixed or user overrides
inconclusiveCannot determine complianceFlag for human review, do not block
User Override

The user can override any Nen Court verdict:

  • "Proceed anyway" or "override" clears the block
  • The override is logged for future audit
  • Frequent overrides on the same constraint suggest the constraint needs revision, not more enforcement

Integration Points

  • imbue:scope-guard: Soft vow layer. Worthiness scoring is a judgment call that belongs in skills.
  • imbue:proof-of-work: Mixed enforcement. Evidence rules are soft; evidence content can be verified by a Nen Court validator.
  • imbue:justify: Post-hoc Nen Court audit. Already functions as a validator agent for additive bias, Iron Law, and test mutations.
  • Mission Orchestrator: Phase-routing with Nen Court checkpoints between phases as gates:
specify -> [Nen Court: spec review] -> plan
plan    -> [Nen Court: plan review] -> execute
execute -> [Nen Court: justify]     -> pr-prep

Phase advances only when Nen Court returns pass or the user provides an explicit override.

When To Use

  • Designing new constraints for the codebase
  • Auditing existing constraints for enforcement gaps
  • Deciding whether a rule needs a hook or a skill
  • Reviewing Nen Court findings at phase boundaries
  • Proposing constraint graduations after audits

When NOT to Use

  • One-off rules that apply to a single task
  • Constraints that are already hard-enforced and working
  • Exploratory work where constraints would slow learning
  • imbue:karpathy-principles - the discursive layer this skill governs (vow-enforcement decides which principles graduate from skills to hooks)
  • imbue:scope-guard, imbue:proof-of-work, leyline:additive-bias-defense - example soft vows that vow-enforcement classifies and may promote
  • See docs/quality-gates.md#skill-level-quality-gate-composition for the federation this skill governs

Exit Criteria

  • Every constraint under review is assigned to exactly one enforcement layer (Soft Vow, Hard Vow, or Nen Court) with the classification rationale recorded
  • Graduation criteria evaluated for any soft vow with 3+ violations in 30 days: binary constraints graduate to Hard Vow, judgment constraints graduate to Nen Court
  • Nen Court validators called at phase boundaries return one of three verdicts (pass, violation, inconclusive) via exit codes 0, 1, 2; exit code 1 blocks phase advancement unless the user provides an explicit override
  • Any demotion of a Hard Vow back to Soft is documented with the false positive rate (>10%) or the specific concern that no longer applies

© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/imbue/skills/vow-enforcement of athola/claude-night-market.

Open the folder on GitHubat commit 9f3eb00

Compare with similar skills

Vow Enforcement 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.

Vow Enforcement compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Vow Enforcement this skillathola/claude-night-market341—~2.4kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k36 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 36 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from athola/claude-night-market

All 152 skills in this repo
  • Night Market Diagnostics Toolkit

    athola/claude-night-market

    Run and interpret repo diagnostic scripts (ratchets, validators, token stats).

    341 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Skills Eval

    athola/claude-night-market

    Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.

    341 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Agent Teams

    athola/claude-night-market

    Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.

    341 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Delegation Core

    athola/claude-night-market

    Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).

    341 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Elegant Code

    athola/claude-night-market

    Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.

    341 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Skill Library Mission

    athola/claude-night-market

    Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.

    341 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Vow Enforcement

What does Vow Enforcement do?

Classifies and enforces constraints via soft vows, hard vows, and Nen Court layers. Vow Enforcement is an agent skill from athola/claude-night-market. Classifies and enforces constraints via soft vows, hard vows, and Nen Court layers.

When should I use Vow Enforcement?

Vow Enforcement fits situations like: auditing enforcement mechanisms for project rules.

How do I install Vow Enforcement in Claude Code?

Run `npx skills add athola/claude-night-market --skill vow-enforcement -a claude-code`. Or copy the skill folder (plugins/imbue/skills/vow-enforcement in athola/claude-night-market) into .claude/skills/vow-enforcement in your project. Claude Code loads it when a task matches its description.

How do I install Vow Enforcement in Codex?

Run `npx skills add athola/claude-night-market --skill vow-enforcement -a codex`. Or copy the skill folder (plugins/imbue/skills/vow-enforcement in athola/claude-night-market) into .agents/skills/vow-enforcement in your project. Codex loads it when a task matches its description.

Can I use Vow Enforcement 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 athola/claude-night-market --skill vow-enforcement -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/vow-enforcement, .gemini/skills/vow-enforcement, .github/skills/vow-enforcement and .opencode/skills/vow-enforcement in your project.

What does Vow Enforcement need to run?

Going by SKILL.md and its folder, Vow Enforcement needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Vow Enforcement access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Vow Enforcement 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 Vow Enforcement use?

Vow Enforcement is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Vow Enforcement use?

About 2.4k tokens (SKILL.md is roughly 9.5k 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 Vow Enforcement?

Skills that share tags, products or a category with Vow Enforcement: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Vow Enforcement?

athola (a GitHub user) maintains it in athola/claude-night-market, which has 341 GitHub stars. The repository holds 152 skills in this directory. The repository was last updated on October 9, 2026.

Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.