Part of AI automation for small businesses: where to start
- 10
- parts in the skill
- 4
- severity levels
- 1
- report.md per pass
Skip to the prompt for Claude Code ↓
A QA bot in Grok Bot is one bot with one job: open a site or app, find real problems, prove each one, and write report.md that a coding agent can fix from without asking what you meant. The method is a single skill, website-app-qa. Paste it, run it once on a real URL, read the report, and only then save it as a private skill. A schedule comes after a pass you trust.
Grok Bot works on a computer in the cloud, with a browser and a command line, and that computer stays on after you close your laptop. Click the computer preview in the chat to watch it. Files live in /workspace. Every bot on your account shares that computer, so a password written into a file is visible to the rest of them. Logins go through Vault or a Secure Form, which fill the page without putting the password in the chat.
- Create a bot: Create and manage Bots
- Skills and routines: Skills and routines
- The computer: Use the computer and apps
URL -> scope -> design -> admin -> user -> AI/RAG (if it answers) -> report.md -> retestWhat you need
- The Grok Bot desktop app, signed in.
- The URL of the site or app. The bot's computer cannot see
localhoston your laptop. For a local site, the dev server has to be running and you approve a temporary tunnel, then close the tunnel when the pass is done. - If the target is an admin panel, a test login you are allowed to use. You enter it in Vault or a Secure Form. You never paste it into the chat.
- A decision on which passes this run needs: design and layout, functional flows, admin, user, security and authorization, AI or RAG quality, performance. Skip the ones that do not apply.
Create the bot
Choose New Bot (the + button) at the top of the sidebar, or press Cmd/Ctrl+N. On a team, the + button opens a menu; choose Create a Bot. Name it QA, pick a picture, and choose Create.
Grok Bot opens a chat with it. The first message is the job, the sources, and the lines it is not allowed to cross. Ask it to remember them. Personal bots keep lasting rules in memory; there is no settings page for this. (Create and manage Bots)
You are my QA bot. Your only job is to test a website or app and write report.md that a coding agent can fix from.
Remember these rules:
- Never invent a finding, a number, or a source. Every issue needs evidence.
- Never print a secret, and never ask me to paste a password in chat. Logins go through Vault or a Secure Form.
- Stay non-destructive. No deletes, no email to real users, no payments, no messages to real people.
- If you are blocked (login, quota, captcha), stop and tell me. Do not loop.To rename it later, click its name at the top of the chat, or right-click it in the sidebar and choose Rename Bot.
Paste the skill
Send the block below and tell the bot to save it as a private skill named website-app-qa. Private skills are one library shared by your bots. If this bot cannot find it afterwards, open Connect apps in the sidebar, select the connected count next to the title, and enable it under Private skills. (Skills and routines)
A useful Grok Bot skill states when to use it, what it needs, the steps, how to check the result, what to return, and what needs your approval. The block is already in that shape. The ten parts inside Steps are the pass.
Save the skill below as a private skill named website-app-qa.
Keep the six headings. Show me the saved skill before you run it on a site.---
name: website-app-qa
description: Use when asked to QA, audit, test, or re-check a website or web app (public site, admin panel, user flows, AI/RAG features) and deliver a report.md a coding agent can fix from, or a plain-language client PDF.
---
# Website and app QA
Find real problems in a site or app, prove each one with evidence, and hand back a report that a cloud coding agent can fix from without asking questions.
## When to use it
Use when the owner asks to QA, audit, test, or re-check a website or web app and wants a report. Do not use it to fix the code unless the owner asks for a fix in a separate message. Do not use it on a site you were not given a URL for.
## Inputs and access
- The URL. If it is an admin panel or app, ask for the login once. Take passwords through Vault or a Secure Form. Never ask for a password in chat, never echo it, and never write it into a file, a log, a screenshot, or the report.
- Which passes this run needs: design/layout, functional flows, admin side, user side, security/authorization, AI or RAG quality, performance.
- The computer is in the cloud. `localhost` on the owner's laptop is not reachable. A temporary tunnel only with approval, and close it when the pass is done.
- Keep the work in `/workspace/<site>-qa/` with `screens/`, `highlights/`, and `report.md`. Dated subfolders for retests (`2026-11-07/`). Never overwrite an earlier report.
- Playwright, Lighthouse, and Pillow are used by the design pass. Install them on this computer if they are missing. If one will not install, mark that part NOT RUN and say why. Do not invent a score or a screenshot.
## Steps
### 1. Scope the job
Confirm the URL, the passes, and whether a login is required. State the plan in chat before you click anything.
### 2. Set up the workspace
One folder per target: `/workspace/<site>-qa/` with `screens/`, `highlights/`, `report.md`. Dated subfolders for retests. Never overwrite an earlier report.
### 3. Design and layout pass
Headless Playwright at 1440x900 (desktop) and 390x844 (mobile), full-page screenshots of every page in the nav and footer. Check horizontal overflow, cut-off tables, overlapping or off-screen controls, tap targets under 44px, broken images, inconsistent spacing and fonts, and RTL text (Urdu/Arabic) direction. Collect console errors, failed network requests, and broken links (404s) on every page. Run Lighthouse for performance, accessibility, best practices, and SEO. For the worst issues, make annotated highlight PNGs (box the problem area with Pillow).
### 4. Admin pass
Log in, open every page, and exercise every control: tables, search, filters, empty states, forms, validation (empty, huge, past dates, emoji, script-injection text), confirmations, and mobile layout. Stay non-destructive. Changes only on clearly labelled test data, undone afterwards. Never delete real data or email real users.
### 5. User pass
Create one clearly labelled test user (public sign-up if it exists, otherwise via admin). Use a bot or test email the owner approved; let Vault generate the password. Walk every flow: sign-up, approval, login, logout, password reset, onboarding, core feature, limits and quotas, pricing, settings. Edge cases: double submit, back or refresh mid-flow, expired session, bad inputs. Authorization: can the user reach `/admin`, admin API routes, or other users' data? Try logged-out and fake-cookie requests too. Anything reachable without auth is Critical.
### 6. AI / RAG pass (when the product answers questions)
Build a test matrix across subjects and topics: definitions, calculations, follow-ups that switch topic, paraphrases, other languages, ambiguous prompts, off-scope prompts, and a request to invent a citation. Record for each: exact prompt, exact answer, detected topic or subject, sources or citations shown, whether those sources actually support the claims, factual correctness, and whether earlier context leaked in. A correct answer is not proof that retrieval worked. Without visible passages or logs, mark retrieval "unverified". Respect quotas. Never bypass limits, reset counters, or make extra accounts unless the owner says so. Mark blocked cases NOT RUN. Write a separate `rag-report.md` with the matrix.
### 7. Write report.md
For each issue: an ID (for example ADM-03, USR-07, RAG-02), severity (Critical, High, Medium, or Low), page or URL, steps to reproduce, expected and actual, screenshot path, and a suggested fix (file or component if known). Top of the report: counts by severity, the 3 to 5 worst issues in plain words, what was not tested and why, and any leftover test data to clean up.
### 8. Retests
Re-run every issue ID and mark it fixed, partly fixed, still broken, or not verified, with fresh evidence in a dated `retest/` folder. Look for regressions and log new issues in the same format. Never claim a full pass on partial coverage.
### 9. Client PDF (only when asked)
Rewrite issues in plain, non-technical words: what is wrong, why it matters to visitors, what to do. Group by priority, include the highlight images, keep it friendly. Build from HTML and CSS to PDF, and sign it with the owner's name and brand.
### 10. Hand-off
Send the report file, a two- or three-line summary of the worst issues, and offer to pass `report.md` to a cloud coding agent for fixes once the repo is known.
## How to check the result
Every issue in `report.md` has evidence: a screenshot path that exists, a failed request, or a quote of the page. Counts at the top match the issues in the file. Untested passes are named. No secret appears in the report, the logs, or the screenshots. A pass you could not run says NOT RUN and why.
## What to return
The path to `report.md`, the counts by severity, and the 3 to 5 worst issues in plain words. If you ran the AI pass, also the path to `rag-report.md`.
## What needs my approval
Logging in, opening a tunnel, creating a test user, changing or undoing test data, sending a client PDF, emailing anyone, paying, deleting, and handing the report to another agent. Stop and ask. Do not do these because they would make the pass more complete.
## Rules
- Never invent findings, numbers, or sources. Every issue needs evidence.
- Never print secrets in reports, logs, or screenshots.
- No payments, messages to real people, or destructive actions.
- Report blockers (login, quota, captcha) early instead of looping.Ask it to show you the saved skill. Cut anything you do not want, then continue. On a team, you can publish the skill for teammates from Connect apps: open the skill and choose Publish. It needs a description before it will publish. (Share a skill with your team)
Run it once
One URL, the passes you actually want, and a finish line. Watch the computer preview while it works.
Use the website-app-qa skill on https://example.com
Passes: design and layout, and the public pages only.
Do not log in. Do not change anything.
Write report.md and reply with the path plus the 3 worst issues.Swap in your URL. If the bot needs a login, it should send a Secure Form card. Fill that card. If it asks you to paste the password in the chat, stop and tell it to use the Secure Form.
A first run is the test of the skill. Read the report before you trust a second run. xAI's own order is the same: make the task reliable, save the method, and only then automate it.
Read the report
The file is on the bot's computer at /workspace/<site>-qa/report.md. Ask the bot to paste it into the chat, or open the computer and read the file there.
The top of the report has four things:
- Counts by severity: Critical, High, Medium, Low.
- The 3 to 5 worst issues, in plain words.
- What was not tested, and why (a missing login, a quota, a tool that would not install).
- Test data it left behind, so you can delete it.
Each issue has an ID, the page, the steps, what you should have seen, what it saw, the screenshot path, and a suggested fix. An issue with no evidence is not an issue. Tell the bot to remove it.
| ID prefix | Pass |
|---|---|
| ADM- | admin pages and forms |
| USR- | signed-in user flows and authorization |
| RAG- | answers, citations, and retrieval |
Design and layout issues use the same shape. The skill's examples for the other passes are the prefixes above.
Screenshots sit in screens/. The worst ones are boxed in highlights/. If the product answers questions, rag-report.md is the matrix: prompt, answer, sources, and whether those sources support the claim. A correct answer with no visible passage is "unverified", which is a gap in the evidence, and the bot records it that way.
Retest after the fix
When a coding agent, or you, has shipped a fix, send the same bot back. It re-runs every ID and marks it fixed, partly fixed, still broken, or not verified. Fresh screenshots go in a dated retest/ folder. The old report.md stays where it was.
Retest the open issues in /workspace/example-qa/report.md against https://example.com
Write the result in a dated retest folder. Do not overwrite the old report.
Flag anything new in the same format.A retest that only covers three IDs is a retest of those three. The bot does not call that a full pass.
Hand it off
You now have a file a coding agent can take without a meeting. Send report.md, plus two or three lines on the worst issues. When you know the repo, tell the QA bot it may pass the file to that agent. That hand-off waits for a yes.
Two extras, both only when you ask:
- A client PDF. The bot rewrites the issues in plain words, groups them by priority, and includes the highlight images. It builds the PDF from HTML and CSS and signs it with your name.
- A routine. After one pass you have read and believed, ask this bot to run the skill on a schedule or when something happens. Confirm the bot, the time and time zone, the URL, the report you expect, and the rule that it never logs in, deletes, emails, or pays on its own. A new routine waits for its next time. Use Test on the routine to run it once now. A test run does the real work. (Create a routine)
Every Monday at 9:00 AM, run the website-app-qa skill on https://example.com
Passes: design and layout, public pages only.
Post the report path and the 3 worst issues in this chat.
Do not log in, delete, email, or pay.
If the site is down, say so. Do not reuse last week's report.Common mistakes
- A vague job. "Check the site" gives you a vague report. Name the URL and the passes.
- Saving a routine before you have read a report. Automate a pass you have already seen succeed.
- The password in the chat. Vault or a Secure Form. The computer is shared by every bot on the account.
- A localhost URL with no tunnel. The bot's computer is in the cloud. It cannot open your laptop.
- A finding with no screenshot. If the bot cannot point at evidence, the line comes out of the report.
- Calling a correct answer proof of retrieval. With no passage and no log, the AI pass says "unverified".
- A retest that overwrites the old report. Dated folder, old file left in place.
- A wide routine. "Every hour, test everything" spends a week of usage in a day. One URL, few passes, a weekday morning.
Safety
- The bot finds and reports. It does not change the product, delete data, email customers, or pay.
- Test data is labelled and removed. Real rows stay untouched.
- Quotas stand. A blocked case is NOT RUN, not a reason to open another account.
- Anything on the cloud computer is available to your other bots. Keep client secrets out of
/workspace. - A public bot template exposes the bot's skills and routines to anyone with the link. Take URLs, customer data, and keys out before you share one. (Share a Bot)
Checklist
- Grok Bot is installed and you are signed in
- A bot named QA, with the four rules in its memory
- Private skill
website-app-qasaved, and you have read it - One real URL, passes named, no password in the chat
-
report.mdunder/workspace/<site>-qa/, with evidence on every issue - Untested passes named, leftover test data listed
- A retest writes a dated folder and leaves the old report alone
- A routine, if you add one, cannot log in, delete, email, or pay on its own
Want this run against a site you are about to ship? Open a case file. I reply within 24 hours.
Using Claude Code or Codex?
Paste this. Let your agent set it up.
Set up a QA bot in Grok Bot from https://www.theaikhan.com/guides/qa-bot-grok
1. Create a Bot named QA. Its only job is to test a website or app and write report.md.
2. Save a private skill named website-app-qa using the exact skill in that guide.
3. Never read, print, or store passwords. Logins go through Vault or a Secure Form.
4. Do not delete data, send email, pay, or message real users.
5. When the skill is saved, ask me for the URL and which passes to run.