v0.1.0
First release of Buy vs Build — an always-on buy-before-build ruleset for AI coding agents.
Before writing code, the agent classifies the work (core vs context, commodity vs novel), walks a reuse ladder, and builds in-house only for core, novel work:
do-nothing → built-in → native-platform → installed-dependency → open-source → commercial → in-house
Highlights
- One rule, every host. Ships the same canonical rule to Codex, Claude Code, Gemini, Cursor, GitHub Copilot, Windsurf, Cline, Kiro, OpenCode, and OpenClaw — kept byte-in-sync by a drift check.
- Strategic routing. Core-vs-context + commodity-vs-novel 2×2, reversibility (one-way vs two-way doors), and total-cost-of-ownership framing on top of the reuse ladder.
- Skills + lifecycle hooks for applying, reviewing, auditing, and writing decision memos.
- Behavior benchmarks for both Codex and Claude (
npm run benchmark:behavior[:claude]). Latest Claude run: baseline 18/30 → enabled 29/30 (+11), correct-rung hits 4/6 → 6/6.
Install
- Codex:
codex plugin marketplace add stdin/buy-vs-build - Gemini CLI:
gemini extensions install https://github.com/stdin/buy-vs-build - Claude Code / instruction-only hosts: use the plugin, or copy the matching rule file (
CLAUDE.md,AGENTS.md,.cursor/rules/..., etc.).