Bto Agent Team logo

Bto Agent Team

Community
sonpiaz
bto-agent-team

Playbook duyệt một lần rồi chạy tới xong — build → review độc lập → sửa → merge → verify — với nhiều agent theo role (backend, frontend, design, data) trong các wave. Dùng khi nói "chia wave", "duyệt một lần chạy tới xong", "/bto-agent-team", hoặc giao thay đổi nhiều phần cùng lúc. Khớp Buổi 7 Build to Own.

Overview

Publishersonpiaz
Repositorybto-skills
Skill namebto-agent-team
Stars
29
Forks
22
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by sonpiaz on GitHub. Read the source before you install it.

Installation

Install the Bto Agent Team AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/sonpiaz/bto-skills/tree/main/bto-agent-team
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/sonpiaz/bto-skills.git /tmp/bto-skills
mkdir -p .claude/skills
cp -r /tmp/bto-skills/bto-agent-team .claude/skills/bto-agent-team
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bto Agent Team in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Bto Agent Team on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Bto Agent Team is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/bto-agent-team

Mô hình: gom hết ngữ cảnh → một lần duyệt → agent chạy tới xong (build, review, sửa, merge, test, verify) → bạn chỉ kiểm kết quả cuối.

Ngày: duyệt + viết brief. Đêm: agent chạy. Hai vai tách biệt trên một máy:

  • Executor — spawn agent theo role, push code, giữ báo cáo.
  • Coordinator — review, merge, apply migration, đo sau deploy. Không tự sửa code feature.

Người viết không bao giờ tự duyệt code của mình.


0. Trước khi chạy: một file brief, một lần duyệt

Viết docs/plans/handoff/<date>-<work>-wave<N>.md (hoặc thư mục plan của repo) với đủ các mục:

  1. Đọc trước — tối đa 3 file (plan, bằng chứng, START-HERE nếu có).
  2. Trạng thái xuất phát — cái gì đã live, số đo hiện tại.
  3. Setup — một worktree hoặc nhánh per role; lock file per role; tên file scratchpad không trùng; cài dependency đủ (kể cả sub-package).
  4. Contract per ticket — bảng: hạng mục · file được phép chạm · bằng chứng chấp nhận (một con số hoặc guard đỏ khi vi phạm). Contract cross-role (shape API, tên event, cache key) viết ở đây, không thương lượng trong chat.
  5. Luật — phần §3 dưới + luật riêng repo.
  6. Handoff — file report: 5 trường/ticket (output · done · evidence · left · next owner) + thời gian/token.

Liệt kê mọi quyền run sẽ cần (DB prod, merge, secret, env, gửi mail) trong cùng tin duyệt. Bị classifier chặn giữa chừng: ghi đúng lệnh để bạn chạy, làm tiếp phần khác.

Prompt dài: đặt brief trong file; lệnh spawn chỉ một câu ngắn trỏ tới file đó. Prompt cắt giữa chuỗi = agent không start.


1. Roles (executor spawn; mỗi role = một job)

RoleSở hữuModel gợi ýDeliverable
Backendserver, migration, RPCmạnhshape endpoint + số before/after
Frontendpage, hook, componentmạnhkey cache, skeleton, số before/after
Designdesign system, primitivevừaspec + screenshot chấp nhận
Datascript đo, dashboardvừabaseline + link + ngưỡng
Reviewer (coordinator)không editmạnhMERGE / FIX FIRST kèm file:dòng

Luật: hai agent không cùng một file (lock); design trước frontend khi dùng chung component; migration writer dừng sau dry-run, giao file cho coordinator; frontend phụ thuộc backend shape merge sau backend deploy.


2. Pipeline mỗi PR (coordinator)

  1. Executor gửi: số PR, ticket, bảng before/after, guard đã chạy.
  2. Coordinator chạy full CI local trên PR head song song CI remote — CI đã từng miss.
  3. Coordinator đọc slice nhạy cảm (auth, cache, migration, tiền).
  4. Review agent độc lập với checklist rủi ro cụ thể; phải có file:dòng, scenario, verdict. Spot-check — agent cũng báo sai.
  5. Fix list về executor: BLOCKING / fold-in-if-cheap / next-wave. Cùng nhánh, SHA mới.
  6. Verify fix trong code, CI xanh, local xanh → squash-merge → đo production → ghi số → PR kế.

Thứ tự merge: backend → deploy → migration cần code mới → frontend.


3. Luật không thương lượng (mỗi cái từng incident thật)

  • Branch từ origin/main mới nhất; không stack PR; git status sau mỗi rebase.
  • Rule quan trọng → guard chứng minh đỏ khi vi phạm có chủ ý; guard duyệt cây, không liệt tay file.
  • Review mọi nhánh RETURN của endpoint với mọi consumer (fallback shape lệch = crash).
  • GET không ghi (hover không được tạo bản ghi).
  • Cache/trigger phụ không rollback write chính (EXCEPTION + reconcile).
  • View với security_invoker; kiểm anon surface sau migration.
  • Đọc error từ mọi RPC/DB; SELECT không giới hạn qua helper phân trang; clamp query param.
  • Migration: dry-run script riêng (ROLLBACK, ON_ERROR_STOP); apply từng file; lock_timeout; index CONCURRENTLY khi cần.
  • Đo thứ quyết định: cùng transaction, cùng độ ấm, hai lần; biết body nào đang live trước khi gán nhãn.
  • Tên scratchpad unique per agent.
  • Worktree mới: cài đủ sub-package dependency.
  • Không pkill -f, không kill theo cổng; chỉ PID bạn start.
  • Runner local phải fail khi log rỗng; CI là signal of record.
  • Free GitHub không có branch protection: đợi check xanh trước gh pr merge; không dùng --auto như cách chờ.
  • Prefetch server-side HTML = mọi thứ endpoint trả về có thể lọt cache/proxy — không prefetch endpoint có secret.

4. Quota / gián đoạn

≥ 80% quota: mỗi agent commit + push WIP theo unit; executor giữ block ## RESUME ở đầu report (branch, commit, file đang làm, lệnh kế, per role), refresh 15 phút; không bước không thu hồi trong 15 phút cuối.


5. Đóng một wave

Executor: report (5 trường/ticket, token/time, lessons, next-wave, việc bạn phải làm tay) → docs PR → coordinator merge.

Coordinator: số production sau deploy, START-HERE cập nhật, brief wave kế viết xong trước khi executor rảnh.

Wave cuối: FINAL report một trang — before/after per wave, incident, việc manual, nợ còn lại.


6. Permission boundary (Buổi 7)

Ghi rõ trong brief và AGENTS.md:

  • Agent nào đọc/ghi/chạy lệnh/gọi API nào.
  • Việc nào agent tự quyết, việc nào chờ bạn duyệt (production deploy, mail khách, tiêu API tiền).
  • Mỗi agent có identity (tên, log) để audit.

Ba sai lầm chết người cần chặn ở tầng tool: tự deploy prod, tự gửi mail khách, tự tiêu tiền API.

Frequently asked questions

What does the Bto Agent Team AI skill do?

Playbook duyệt một lần rồi chạy tới xong — build → review độc lập → sửa → merge → verify — với nhiều agent theo role (backend, frontend, design, data) trong các wave. Dùng khi nói "chia wave", "duyệt một lần chạy tới xong", "/bto-agent-team", hoặc giao thay đổi nhiều phần cùng lúc. Khớp Buổi 7 Build to Own.

Why use Bto Agent Team on TypingMind?

Because you install it once and use it with any model. Bto Agent Team is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Bto Agent Team in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/sonpiaz/bto-skills/tree/main/bto-agent-team. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Bto Agent Team?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Bto Agent Team?

As many as you like. As long as a model supports skills, you can use Bto Agent Team with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Bto Agent Team AI skill free?

Yes. It is published on GitHub by sonpiaz under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇