build-vs-buy
Skill1 starsChanged 7 days agoMITView on GitHub
Decide whether to build in-house, buy a vendor/SaaS product, or adopt OSS — core-vs-commodity framing, multi-year total cost of ownership, integration and maintenance burden, vendor viability, lock-in and exit costs. Triggers: build vs buy, build or buy, vendor evaluation, SaaS vs in-house, should we adopt this open source, TCO, total cost of ownership, lock-in, exit cost, make or buy, off the shelf. Internal-structure decisions (patterns, service boundaries, ADRs for your own code) → architecture-design.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- mattmireles/gemma-tuner-multimodaltheir own version, first seen Nov 1, 2026
- CheckPickerUpper/skillstheir own version, first seen Oct 25, 2026
- gmanch94/claude-code-aidlc-templatetheir own version, first seen Jul 11, 2026
- aakash-dhar/claude-skillstheir own version, first seen Feb 19, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- CheckPickerUpper/skills★ 9same name
- gmanch94/claude-code-aidlc-template★ 2same name
- aakash-dhar/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-designSkill
- ai-evaluationSkill
- api-designSkill
- architecture-designSkill
- architecture-documentationSkill
- brainstormingSkill
- browser-verificationSkill
- bug-investigatingSkill
- cicd-pipelineSkill
- code-archaeologySkill
- code-reviewingSkill
- code-slop-cleanupSkill
- compliance-privacySkill
- configuration-strategySkill
- containerizationSkill
- data-modelingSkill
- data-pipeline-designSkill
- data-qualitySkill
- dependency-impact-analysisSkill
- dependency-managementSkill
- deployment-checklistSkill
- deployment-repoSkill
- dx-auditSkill
- effort-estimationSkill
- exploratory-data-analysisSkill
- feature-planningSkill
- finops-cost-optimizationSkill
- frontend-architectureSkill
- gitops-deliverySkill
- git-workflowSkill
- incident-responseSkill
- infrastructure-as-codeSkill
- llm-app-engineeringSkill
- metrics-and-okrsSkill
- ml-experiment-trackingSkill
- ml-model-deploymentSkill
- ml-pipeline-designSkill
- mobile-architectureSkill
- mobile-releaseSkill
- notebook-to-productionSkill
- observability-designSkill
- performance-optimizationSkill
- plan-executionSkill
- prd-writingSkill
- project-documentationSkill
- project-proposalSkill
- project-reviewSkill
- refactoringSkill
- release-managementSkill
- research-methodologySkill
- resilience-engineeringSkill
- retrospectiveSkill
- rollback-strategySkill
- security-auditSkill
- skill-routerSkill
- statistical-analysisSkill
- strategic-reviewSkill
- subagent-orchestrationSkill
- tdd-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 39
Verify current facts (pricing, licensing, maintenance status) with live sources — vendor pricing pages and OSS repos, not memory.
- Distinctive: line 61
Write the exit plan now, while you have leverage — the exit cost you can't estimate is the one that traps you:
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build vs Buy
Make the build/buy/adopt decision on total cost and strategic fit, not on
whichever option the room already favors. The two systematic errors this skill
exists to counter: engineers underestimate the ongoing cost of building
(maintenance routinely exceeds the initial build within a few years), and
everyone underestimates the exit cost of buying (discovered only when
leaving). Boundary: this skill decides whether the capability comes from
outside; how you structure your own code is architecture-design's ADR
territory, and vetting an individual library is dependency-management.
Workflow
Step 1: Frame the Capability — Core or Commodity?
Name the capability precisely, then ask the question that dominates the whole decision: does doing this better than anyone else win you customers? If yes (core differentiator), building earns strategic control; if it's commodity plumbing (auth, feature flags, payments, analytics infra, CRUD admin), every engineer-month spent building it is a month not spent on what differentiates you. Then split requirements into must-have and nice-to-have — a vendor covering 90% of must-haves usually beats a build covering 100% of a wishlist.
Step 2: Inventory the Real Options
There are usually more than two:
- Build in-house
- Buy a vendor/SaaS product
- Adopt OSS self-hosted (you're not buying — you're taking an operations job)
- Hybrid — buy/adopt the commodity core, build the thin differentiating layer
- Defer — do nothing yet; a legitimate option when the need is unproven
Verify current facts (pricing, licensing, maintenance status) with live sources — vendor pricing pages and OSS repos, not memory.
Step 3: TCO Over 3 Years — Not the Sticker Price
Cost each finalist over a 3-year horizon; year-1 comparisons systematically favor building (the build cost is visible, the ownership cost isn't):
- Build: initial engineering + ongoing ownership (maintenance, on-call, security patching, feature parity as needs grow — commonly comparable to the initial build per year for actively-used systems) + opportunity cost (what those engineers would otherwise ship — usually the largest and least-counted line).
- Buy: subscription at projected usage, not today's (model the pricing curve at 3× growth — usage-based pricing is where vendors recover their discounts) + integration + admin.
- Adopt (OSS): hosting + operations + upgrades + security response + the expertise to run it; "free" describes the license, not the ownership.
- Everyone forgets: migration of existing data/flows, training, compliance and security review, vendor management overhead.
Step 4: Risk — Lock-in, Exit, and Viability
Write the exit plan now, while you have leverage — the exit cost you can't estimate is the one that traps you:
- What does leaving take? Data export (format? completeness? egress fees?), proprietary APIs/features you'd re-implement, contract terms (lock-in period, auto-renewal, price-increase caps).
- Vendor viability: funding/profitability, roadmap alignment, acquisition risk, what happens to your data if they fold.
- OSS health: maintainer bus factor, release cadence, CVE responsiveness,
license (copyleft implications, and watch relicensing-to-source-available
history in the space) — delegate a deep package-level check to
dependency-management. - Build risk is real too: key-person dependency, and the "internal vendor" failure mode — a team obligated to maintain a product nobody funds.
Step 5: Decide and Record
Score the finalists in a weighted matrix — criteria and weights fixed before scoring (after, the matrix just rationalizes the favorite). State a clear recommendation with the dominant reasons, name the runner-up and what would have flipped the decision, and set a revisit trigger ("revisit if usage exceeds X / pricing changes >Y% / the maintainer goes dark"). Record it like an ADR — decision, context, alternatives, consequences — so the next team understands why, not just what.
Step 6: De-risk Before Committing
For close calls or large commitments, run a time-boxed pilot against your top must-haves and your real data volumes before signing multi-year terms or staffing a build. A two-week PoC is the cheapest insurance in this workflow — and pilot the exit too (run the data export once and look at what comes out).
Principles Applied
- Commodity → buy bias; differentiator → build bias — most wrong decisions invert this because building is more fun than integrating.
- Compare TCO, not sticker price — the build's cost is mostly after launch; the vendor's is mostly at renewal and exit.
- A decision without a revisit trigger is dogma — pricing, vendors, and your scale all change.
Cross-Skill References
architecture-design— internal-structure decisions and the ADR formatdependency-management— deep evaluation of a specific library/packageproject-proposal— wrap the decision in a business case for approvaleffort-estimation— sizing the build option honestlystrategic-review— when the decision touches positioning or the moat
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

