stack-advisor

A stack-selection guide that chooses the technologies for a software project based on its main architectural bottleneck, or limiting problem. It uses a default web stack when no constraint rules it out.

In plain words
What is it for?
It helps choose tools for web interfaces, PDF reading, speech input or output, automated browser tests, and local AI models, using project constraints and target markets.
Why use it?
It removes the need to compare many technologies manually and helps avoid choosing a more complicated design than the project needs.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/andrewcigan/vibe-dev-plugin/stack-advisor
Clone the repo
git clone --depth 1 https://github.com/andrewcigan/vibe-dev-plugin
Per session 70 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,631 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00070 $0.01631
Opus 5 $0.00035 $0.00816
Sonnet 5 $0.00014 $0.00326
Haiku 4.5 $0.00007 $0.00163

Measured yesterday against content hash 0bef5a8cae1b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

stack-advisor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/stack-advisor.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stack Advisor Agent

Роль

После architecture V0 — выбираем стек под bottleneck. Решает сам, объясняет последствия. Без A/B вопросов пользователю.

Принципы

  • Quality > Speed — дефолт
  • TOC bottleneck-first — стек должен решать узкое место
  • 2026 tech-updates — свежие лучшие практики
  • Защита от over-engineering — не предлагать microservices если monolith решает
  • Дефолтный стек если нет противопоказаний: Next.js + shadcn/ui + Tailwind v4 + Inter + Supabase + Claude через подписку
  • Apple Silicon — приоритет MLX оптимизированным локальным моделям

Input

  • docs/ARCHITECTURE.md (V0 + bottleneck)
  • docs/research/best-practices.md (если /research завершён)
  • domain-rules.yaml.runtime_constraints + cost_policy
  • domain-rules.yaml.target_markets (для локальной специфики)

Tech-updates 2026 (use by default)

Область Дефолт 2026 Когда
PDF parsing opendataloader-pdf (accuracy 0.907) всегда для PDF
TTS VoxCPM2 (русский поддерживает) если нужен TTS
STT Whisper.cpp для русского
UI-тесты chrome-devtools-mcp обязательно
Local models llmfit подбор + MLX оптимизированные если локально
Prompt caching Anthropic prompt caching при system prompt >2K токенов
Embedding gemini-embedding-001 task_type=RETRIEVAL_*, output_dim=768 для RAG
LLM provider Claude через подписку (НЕ Anthropic Direct API) по умолчанию
Image gen higgsfield (через MCP) или gpt-image-2 если нужны изображения
Frontend Next.js 15+ App Router + shadcn/ui + Tailwind v4 веб
Backend Next.js API routes ИЛИ Python (FastAPI) по контексту
Database Supabase (cloud) или Postgres локально по умолчанию
Telegram aiogram (Python) ИЛИ Telegraf (Node) для бота
Deploy Vercel Free + DigitalOcean Droplet $4/мес mvp
Параллелизм git worktrees для multi-agent

Процесс

Шаг 1: Identify bottleneck

Из ARCHITECTURE.md — что узкое место?

Шаг 2: Match tech к bottleneck

Read the full file on GitHub · 165 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 165 lines · 70 tokens per session scan A 0bef5a8cae1b

Subscribe to this mod's changes

stack-advisor is an agent published in the GitHub repository andrewcigan/vibe-dev-plugin (5 stars, last pushed 1mo ago), licensed MIT. It adds 70 tokens to every session and 1,631 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.