New Start a project with vibe new →

Your AI agent, working like a disciplined engineer.

A typo fix and a new subsystem should not get the same process. VibeDiscipline sizes the process to the change, and turns your rules into gates the agent cannot talk its way past.

$npx vibediscipline init

Open source, MIT. Starting from nothing? npx vibediscipline new my-app

0dependencies
9project starters
180+automated checks
1 minto install

    
Starts and fits into LaravelNext.jsDjangoNestJS ReactVueAngularClaude Codeany agent that reads AGENTS.md
How it works

Prose can be drifted past. A gate cannot.

Everything is plain files in your repository. No service, no telemetry, no runtime dependency.

Process sized to the change

The agent names a tier before it starts. A typo is edited and verified. A feature gets a plan with acceptance criteria and waits for you.

agent Tier: S — bug fix in cart total, single file.

Rules compiled into enforcement

One policy file becomes Claude Code permissions, a guard hook, git hooks and a CI check. Deny always wins.

allow npm test* confirm npm install * deny git reset --hard*

Your stack, detected

It reads your manifests, lockfile and CI to learn the real test, lint and build commands instead of assuming them.

Approval is a record

Silence is not consent. Feature work starts only after you approve that specific plan, and the approval is written down.

A checker, not a score

vibe check names the file and the line: a secret, a debug call, a file outside the task, a dependency nobody explained.

Ceremony tiers

As much process as the change deserves. No more.

The agent defaults to the lowest tier that fits, and you can overrule it in a word.

XStypo, copy, config

Edit, verify, commit. No plan, no document.

EditVerifyCommit
Sbug fix, one file

Fix the cause, and prove it stays fixed.

ReproduceRoot causeFixRegression testSelf-review
Ma feature

A plan you approve before any code is written.

ReconPlan + criteriaYour approvalImplementTestsReviewDocs
La new subsystem

Documents first, then the M loop for each task.

DiscoveryPRDTRDADRsTask breakdownYour approvalM loop per task
Install

One command. Nothing of yours is overwritten.

Needs Node 18 or newer, bash and git. On Windows use WSL or Git Bash.

$cd your-project && npx vibediscipline init

Detects Laravel, Node or Python and picks a matching permission list. Your AGENTS.md, CLAUDE.md, Claude Code settings and git hooks are kept, and VibeDiscipline is added beside them. Preview with --dry-run.

  1. Accept the trust dialogOpen the project in Claude Code once. Until you do, it ignores the compiled allow-list.
  2. Run reconAsk your agent to "run the recon skill". It writes your real commands to .agent/stack.lock.yml.
  3. Check and commitnpx vibediscipline doctor says what is missing and how to fix it. Then commit the new files.
Commands

Eight commands. You will use three.

Run any of them as npx vibediscipline <command>. Installed globally, the short name is vibe.

new

Create a project with its framework's scaffolder, with VibeDiscipline in it.

init

Install into an existing project.

doctor

Check the installation and print the fix for each problem.

upgrade

Refresh skills and scripts. Your config, permissions and state stay.

check

Scan the diff for secrets, debug leftovers, scope creep, missing tests.

compile

Rebuild settings, guard hook and git hooks from the policy.

methodology

Show or set agile, waterfall or hybrid.

uninstall

Remove it. Your own files are kept, and it asks first.

Evidence

Measured, including where it made no difference.

The same task, given to an agent without and with VibeDiscipline. Three runs per cell.

WithoutWith VibeDiscipline
Asked instead of building on an ambiguous requestHaiku
Without
0/3
With
3/3
The same requestSonnet: it already asks on its own
Without
3/3
With
3/3
Regression test added with a bug fixHaiku
Without
0/3
With
3/3
Denied command hidden inside bash -c was blockedClaude Code, any model
Without
no
With
yes
Authorization check on a new endpointHaiku: no difference, so no rule was added
Without
6/6
With
6/6

On a weaker model it closes a real gap in behaviour. A stronger model already asks before guessing, so there the value is what does not depend on the model: rules the host enforces, a stated tier, a recorded approval. Samples are small and were graded by the author. Every result, with its limits →

Scope

What it covers today, and what it does not.

Works now

  • Skills, tiers and git hooks with any agent that reads AGENTS.md
  • Enforced permissions and the guard hook in Claude Code
  • Permission lists for Laravel, Node and Python, plus a generic fallback
  • Framework knowledge and known pitfalls for Laravel
  • Agile, waterfall or hybrid sequencing

Not yet

  • Enforcement in Cursor, Copilot, Codex or Windsurf
  • Native Windows without WSL or Git Bash
  • Framework knowledge beyond Laravel
  • A command written to a script file and then run is not caught
  • An agent that stops to ask delivers nothing in an unattended run
Questions

Before you install.

Does it slow the agent down?

Not for small work: a typo or a bug fix has no plan and no document. A feature gets one stop, where you approve a plan. That stop is the point.

Will it overwrite my files?

No. An existing AGENTS.md keeps its content with VibeDiscipline added above it, existing Claude Code permissions are left alone, and an existing git hooks path is not replaced. Uninstall puts your files back as they were.

Is my code sent anywhere?

No. It is files and local scripts in your repository, with zero dependencies.

Can I change the rules?

Yes. The policy is .agent/permissions.yml and the settings are .agent/config.yml, both plain text. An upgrade never touches them.

How much context does it use?

AGENTS.md is about 70 lines and is the only file loaded every session. Skills are read when a task calls for one.

Give your agent a process.

One command, about a minute, and one command to take it out again.

$npx vibediscipline init