Bto Page Quality logo

Bto Page Quality

Community
sonpiaz
bto-page-quality

Đo và cải thiện chất lượng trang web — tốc độ, Core Web Vitals, trải nghiệm theo quốc gia, hiển thị trên search, cache edge. Dùng khi hỏi "trang chậm", LCP/INP/CLS, bounce theo nước, điểm Lighthouse, hoặc trước/sau thay đổi frontend. Khớp Buổi 5 (log, cảnh báo) và Buổi 8 (đo sau launch).

Overview

Publishersonpiaz
Repositorybto-skills
Skill namebto-page-quality
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 Page Quality 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-page-quality
  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-page-quality .claude/skills/bto-page-quality
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bto Page Quality 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 Page Quality 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 Page Quality 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-page-quality

Một câu hỏi: site có tốt không, và với ai? Trả lời bằng nhiều nguồn — không một tab duy nhất.


Bốn bẫy đã từng gây kết luận sai

1. Headless browser chiếm p75 trang ít traffic. PostHog/Web Vitals có thể báo LCP 20–30s trong khi PageSpeed mobile ~99. Mẫu hai cụm: nhanh hoặc >10s, không giữa — thường là bot Linux desktop (FCP = LCP). Lọc LCP ≥ 10s trước khi tin tab RUM thô.

2. Operator không phải thị trường. /admin với vài chục sample có thể là một người. Loại path admin/internal khỏi báo cáo công khai.

3. Một lần chạy Lighthouse mobile không phải đo. Cùng code, cùng ngày, delta hàng trăm ms là bình thường. Mobile: median ≥3 lần; spread nhỏ hơn delta mới là delta. Spread = 0 có thể là cache PSI — so across reports, không trong một report.

4. CrUX thiếu quốc gia ≠ "ổn ở đó". Chỉ có đủ traffic Chrome thật mới publish. Không có row = chưa đủ data, không phải nhanh.


Năm nguồn — mỗi nguồn trả lời một câu

NguồnCâu hỏi duy nhấtCách lấy (generic)
field — CrUXChrome user thật đo gì; số Google ranking dùngCrUX API hoặc BigQuery chrome-ux-report
lab — PageSpeedInput cố định → deploy nào gây thay đổiPageSpeed Insights API
rum — analyticsCountry × path; trang chậm chỉ ở đâu đóPostHog, Plausible, GA4 BigQuery, …
search — Search ConsoleGoogle show gì; market thấy mà không clickGSC API
edge — headersHTML từ cache gần user hay bay xacurl -I production

CrUX API không có country; BigQuery country_summary có — ~1.5 GB/scan, lag ~2 tháng. Dùng sizing reach, không chỉ speed.


Script đo trong repo (khuyến nghị)

Tạo một lệnh (ví dụ npm run quality:page hoặc script trong scripts/) gom nguồn:

bash
# Ví dụ shape — thay bằng repo bạn
bun run quality:page                  # full (~ vài phút nếu có PSI)
bun run quality:page --skip=lab       # bỏ Lighthouse
bun run quality:page --only=rum
bun run quality:page --json
bun run quality:page --days=7

Secret đọc từ env (CRUX_API_KEY, analytics key, GSC service account JSON). Script fail loudly khi thiếu nguồn — không in zero giả.


Sửa cái script tìm ra

Trang logged-in quan trọng hơn landing nếu khách trả tiền dùng dashboard hàng ngày. Cả hai trên list thì ưu tiên app/authenticated trước marketing.

Cache HTML ở edge + App Router RSC dễ gãy: một URL, hai body (vary: rsc). Cache rule match nhầm → client navigation nhận HTML document. Trước khi cache HTML: verify RSC vẫn bypass; có rollback snapshot; không overwrite snapshot rollback.

Rank tốt, CTR thấp → xem QUERY trước title. Brand query (tên bạn + api) tự nhiên CTR thấp ở page phụ. Chỉ sửa title khi query là intent không-brand. Loại site: search tự gây impression.

Byte weight là lever bạn kiểm soát. Budget ảnh (KB, max width), guard SSR payload trong CI.


Gap thường gặp (ưu tiên theo giá trị/giờ)

GapHậu quảFix
Không uptime monitor bên thứ ba"Không hỏng" không có witnessUptimeRobot/Better Stack free tier
Crash email bị filterProduction die im lặngBỏ filter hoặc route Telegram
Node/runtime EOLBuild fail đột ngộtTheo deadline platform
RLS/table mới thiếu policyData leak flagAudit + CI guard
Không CWV gate CIDeploy regress LCP im lặngquality:page --json + threshold

Workflow tuần: cron GitHub Actions chạy report vào summary; cần secret trong repo settings.


Email / alert nên skim hàng tháng

Search Console (indexing, structured data), analytics weekly digest, deploy fail platform, host crash, DB security advisor, DMARC XML — bổ sung những gì API không expose.


Mở rộng skill

Thêm nguồn chỉ khi trả lời câu hỏi mà năm nguồn trên không trả lời được. Ngưỡng đổi thì đổi trong script kèm lý do đo được.

Rule of three: lần thứ ba viết ad-hoc query CWV/GSC cho cùng câu hỏi → đưa vào script/skill.

Frequently asked questions

What does the Bto Page Quality AI skill do?

Đo và cải thiện chất lượng trang web — tốc độ, Core Web Vitals, trải nghiệm theo quốc gia, hiển thị trên search, cache edge. Dùng khi hỏi "trang chậm", LCP/INP/CLS, bounce theo nước, điểm Lighthouse, hoặc trước/sau thay đổi frontend. Khớp Buổi 5 (log, cảnh báo) và Buổi 8 (đo sau launch).

Why use Bto Page Quality on TypingMind?

Because you install it once and use it with any model. Bto Page Quality 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 Page Quality in TypingMind?

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

Which AI models can use Bto Page Quality?

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 Page Quality?

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

Is the Bto Page Quality 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 👇