Logo Vibe Breakpoint

Vibe Breakpoint

Tổ chức
globalmpc
vibe-breakpoint

Find how many users a web app can handle at the same time before it slows down or fails, and which database queries get slower as data grows (N+1 queries, missing indexes, unbounded fetches). Runs on an isolated copy of the app with a throwaway database; never changes the project. Use when the user asks whether their app will scale, how many users it can handle, or why it is slow.

Tổng quan

Nhà phát hànhglobalmpc
Kho mãvibe-breakpoint
Tên kỹ năngvibe-breakpoint
Sao
61
Bản fork
0
Tệp đi kèm
14
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 14 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được globalmpc công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Vibe Breakpoint trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/globalmpc/vibe-breakpoint/tree/main/skills/vibe-breakpoint
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/globalmpc/vibe-breakpoint.git /tmp/vibe-breakpoint
mkdir -p .claude/skills
cp -r /tmp/vibe-breakpoint/skills/vibe-breakpoint .claude/skills/vibe-breakpoint
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Vibe Breakpoint trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Vibe Breakpoint ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Vibe Breakpoint với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

/vibe-breakpoint

Define once: VB = node "${CLAUDE_SKILL_DIR}/scripts/vibe-breakpoint.mjs". If the path above still contains the literal ${, stop and tell the user the skill path was not resolved. PROJECT = absolute path of the git root (git rev-parse --show-toplevel), or the current directory if there is none. Run every command non-interactively.

Never

  • Read env files yourself. Env var names come only from env_names in inspect.json: the CLI collects them from code, config and env files in-process and keeps names only (values are discarded, never stored or printed). Only .env.example, .env.sample and .env.template may be read directly.
  • Connect to any database, URL or host from the user's config (no psql, curl, fetch against them).
  • Modify anything outside PROJECT/.vibe-breakpoint/.
  • Invent numbers. Every number comes from result.json or the CLI output.
  • Put env values or secrets in any file or reply.

Step 1: Inspect

Run VB inspect PROJECT and read the JSON it prints.

  • supported is false and run_json_can_fix is not true: tell the user the unsupported_reason in plain words, then stop.
  • docker.available is false: follow No-Docker path, then stop.
  • supported is true: tell the user in 2-4 plain lines what you found: the app has no Dockerfile so it is built from package.json (or the project Dockerfile is used); the build and start commands it will use and where they come from (start_source); that a throwaway Postgres is used (from db_deps / migrations). If there is no Postgres support, say so and stop as for unsupported.
  • run_json_can_fix is true, or start is dev-like or null: read the code (package.json, ${CLAUDE_SKILL_DIR}/references/framework-notes.md) and write PROJECT/.vibe-breakpoint/run.json yourself (format in ${CLAUDE_SKILL_DIR}/references/inputs.md) without asking, then run VB inspect PROJECT again and say what you chose. Settings live only in the test copy; never edit package.json or any project file.

Step 2: Read the code, write the inputs

Use ${CLAUDE_SKILL_DIR}/references/framework-notes.md to find routes, auth and schema. Write PROJECT/.vibe-breakpoint/scenario.json and seed.json following ${CLAUDE_SKILL_DIR}/references/inputs.md. If has_scenario / has_seed is true, reuse the existing file, say so, and do not overwrite it.

Step 3: One message (questions and consent)

Ask only what the code cannot show (for example which flow matters most); skip the questions if there are none. In the same message give this consent text:

vibe-breakpoint will: copy this project to a temporary folder (your files are not changed; results go to .vibe-breakpoint/); build the app image (build command <build>, start command <start>; up to 3 builds if the first build needs fixing, with settings adjusted only in the test copy) and start containers on an offline Docker network: your app, a throwaway Postgres in memory, a mock for outside services, and k6 for load (image grafana/k6); download images: <missing_images from inspect.json, or "none, all are local">; take roughly 10-15 minutes (build 2-5 min, data seeding and query probe 2-5 min, load test up to 6 stages x 60 s, stops early when the app breaks); remove all containers and temp files at the end. OK to go ahead?

Without a clear yes, stop.

Step 4: Run

After the yes, run VB run PROJECT --pull with the Bash tool's run_in_background, and wait for it to exit. --pull only after consent.

  • Exit 0: continue.
  • Exit 2: unsupported; explain the reason in plain words.
  • Exit 1 with scenario.json: or seed.json: in the output: that file is invalid (this fails before Docker). Fix it and run once more without asking again.
  • Exit 1 with run.json: in the output: fix run.json and run once more without asking again.
  • Exit 1 and the output contains app build failed: or app did not start:: read the last lines and make ONE targeted fix in PROJECT/.vibe-breakpoint/run.json (add missing env names to env_names; set or adjust build or start; pnpm, yarn and other fixes only through run.json). Say in one plain line what you changed and why, then run again (no --pull needed, no new consent: the consent covered it). At most 2 retries (3 builds in total).
  • Stop early, without retrying, when the cause cannot be fixed offline: the build needs the database or an outside service while building, a native or private dependency, a private registry. Only then (or when the retries are used up) offer the code-reading report from the No-Docker path (no measured numbers), in at most 4 plain lines with ONE recommended step, and ask "Want me to do that?". Nothing in the project was changed.
  • Any other exit 1: say what failed in one plain sentence and that nothing in the project was changed.
  • Exit 129, 130 or 143, or the user stopped it: run VB cleanup and say the run was interrupted. Never run render after a failed run.

Step 5: Code locations

Read PROJECT/.vibe-breakpoint/out/result.json, key flags. For each flag find the handler using ${CLAUDE_SKILL_DIR}/references/query-patterns.md. Write PROJECT/.vibe-breakpoint/code-locations.md (overwrite every run):

### <flag> - <endpoint>
- <file>:<line> - <what the code does>
- Fix: <one line>

No secrets or env values. If the cause is not found, say so.

Step 6: Render and reply

Run VB render PROJECT. Reply in under 8 lines:

  • the breaking point ("handles about N users", "broke at N users, the first stage tested", or "no breaking point up to N") and the limiting resource,
  • the top data-growth issue with file:line,
  • limits that matter (for example OAuth-only login so only public endpoints were tested, SDKs that cannot reach the mock),
  • paths: .vibe-breakpoint/out/report.md and .vibe-breakpoint/out/chart.png.

No-Docker path

Read the code with ${CLAUDE_SKILL_DIR}/references/query-patterns.md and write PROJECT/.vibe-breakpoint/static-report.md, starting exactly with:

# vibe-breakpoint static report (no load test): <project name>

**No load test ran** because <docker.reason from inspect.json>. Nothing was measured; the findings below come from reading the code for known slow-query patterns. Start Docker and run /vibe-breakpoint again for real numbers.

Then, per finding: pattern name, file:line, why it grows, suggested fix. No measured-looking numbers (no users, ms or row counts). Reply in under 8 lines with the reason and the file path.

Cleanup

VB cleanup is always safe to run. Mention it whenever a run was interrupted.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Vibe Breakpoint làm được gì?

Find how many users a web app can handle at the same time before it slows down or fails, and which database queries get slower as data grows (N+1 queries, missing indexes, unbounded fetches). Runs on an isolated copy of the app with a throwaway database; never changes the project. Use when the user asks whether their app will scale, how many users it can handle, or why it is slow.

Vì sao nên dùng Vibe Breakpoint trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Vibe Breakpoint là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Vibe Breakpoint trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/globalmpc/vibe-breakpoint/tree/main/skills/vibe-breakpoint. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Vibe Breakpoint?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Vibe Breakpoint với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Vibe Breakpoint với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Vibe Breakpoint có miễn phí không?

Có. Kỹ năng này được globalmpc phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇