Vibeflow

Stop vibe-coding blind. Spec it, then ship it.
AI agents write code fast — but without specs, they write the wrong code fast. Vibeflow adds a thinking layer before coding: you define what to build with specs, guardrails, and quality gates. The agent implements following your project's real patterns.
Works with Codex, Claude Code and Hermes Agent through one shared plugin, plus Cursor (rules + skills), GitHub Copilot (prompts + agents) and OpenCode (agents + commands + the shared skills).
3 commands to start
analyze → scans your codebase, builds .vibeflow/ knowledge base
gen-spec "feature" → generates spec with Definition of Done, scope, patterns
implement <spec> → implements with guardrails (budget, DoD, tests)
Run analyze once, then gen-spec → implement for each feature. That's it.
The pipeline
Think before you code. Build from specs. Verify against DoD.
analyze → discover → gen-spec → implement → audit
| Command | What it does | When to use |
|---|
| analyze | Deep-scans codebase → .vibeflow/ knowledge base | Setup, or after major changes |
| discover | Dialogue that turns a vague idea into a PRD | Idea isn't clear yet |
| gen-spec | Generates spec with binary DoD, scope, anti-scope | Ready to specify |
| implement | Implements from spec with guardrails (budget, DoD, patterns); --loop runs the execution loop below | Spec approved, ready to code |
| prompt-pack | Self-contained prompt for another agent/session | Need to delegate |
| audit | Verifies DoD + patterns + tests + destructive-op gate from a review package of the diff, with a severity and a cause on every finding; --reaudit checks a fix round, --probes writes probe tests and sabotages risk code when run by hand, --consolidate-hotfixes reclassifies hotfix trace docs | After implementation |
| hotfix | Traceable fix in one call: trace doc + fix + regression test written before the fix | Observed defect with reproducible evidence |
Utility: quick (fast-track small tasks), teach (update knowledge base), stats (audit trends, plus the loop's numbers when you use it).
How you call a command depends on the host: /vibeflow:analyze in Claude
Code; /vibeflow-analyze in Cursor, Copilot and OpenCode (in OpenCode, from
its interactive terminal); plain words in Codex and Hermes, which pick the
skill from its description, as OpenCode also does.
The execution loop (opt-in)
implement --loop splits the work between sessions that cannot grade
themselves: the session you call becomes the orchestrator, an executor
implements each part in a fresh session, an independent audit checks it in
another one, and at most two fix rounds follow, each re-audited on its own
diff. With your OK, asked once per feature, every round is committed on the
feature branch, and the loop ends in company mode: a pull request whose body
carries the evidence (verdicts, DoD, findings, probes, commands run), opened
after the suite runs in the CI's environment when your machine differs from it
(when that run is not possible, the PR opens anyway and says why). The agent
never merges, deploys, migrates a shared environment or reads production.
The loop is off by default and runs only when you turn it on:
implement --loop for one run, or loop: true in .vibeflow/loop/config.md
for the project (--no-loop turns it off for one run). Requirements: