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.
npx agentmods add commands/anhtester/claude-testing-kit/generate_requirements_from_websitegit clone --depth 1 https://github.com/anhtester/claude-testing-kitWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/anhtester/claude-testing-kit/generate_requirements_from_website)<a href="https://agentmods.dev/commands/anhtester/claude-testing-kit/generate_requirements_from_website"><img src="https://agentmods.dev/badge/commands/anhtester/claude-testing-kit/generate_requirements_from_website.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00008 | $0.01754 |
| Opus 5 | $0.00004 | $0.00877 |
| Sonnet 5 | $0.00002 | $0.00351 |
| Haiku 4.5 | $0.00001 | $0.00175 |
Grade A, and why
generate_requirements_from_website 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 5d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Workflow: Generate Requirements from Website Module
BẮT BUỘC (MANDATORY SKILL): Bạn PHẢI nạp và đọc kỹ nội dung của skill
skills-requirements-analyzer(tại.claude/skills/skills-requirements-analyzer/SKILL.md) để biết định dạng chuẩn của tài liệu Requirements trước khi bắt đầu thực hiện tác vụ này.Workflow này chạy nhánh UI Recon — dùng mục 2 + 2.1 (đánh mã), 3.1 (trích xuất từ UI), 4 (AMB/RISK), 5 (quy mô/tách file), 6 (cấu trúc đầu ra), 7.1 + 7.2 (strict rules). ❌ KHÔNG dùng mục 3.2 (Document Analysis) trừ khi user cung cấp kèm tài liệu — khi đó chạy 3.2 trước, 3.1 sau và đối chiếu theo mục 3.3.
Workflow này giúp bạn phân tích một module hoặc trang web được cung cấp và sinh ra tài liệu Yêu cầu (Requirements) chi tiết, chuẩn xác, có mã REQ ID truy vết được, phục vụ cho quá trình kiểm thử hoặc phát triển.
Các bước thực hiện:
-
Tiếp nhận thông tin (Information Gathering):
- Đọc kỹ hướng dẫn từ kỹ năng (skill)
skills-requirements-analyzerđể nắm bắt chuẩn đầu ra. - Lấy thông tin URL của trang web, tên module, hoặc mô tả/hình ảnh mà người dùng cung cấp.
- Nếu cần thiết, hỏi người dùng về thông tin đăng nhập hoặc các trạng thái đặc biệt cần lưu ý.
- Nếu hệ thống có nhiều role → hỏi user account của từng role để phân tích phân quyền.
- Đọc kỹ hướng dẫn từ kỹ năng (skill)
-
Khảo sát hệ thống (Recon & Investigation):
- Sử dụng các công cụ duyệt web (Browser tools/MCP) để truy cập vào module trang web được yêu cầu (
navigate → resize 1920x1080 → snapshot). - Inspect kỹ lưỡng cấu trúc HTML, DOM, các form nhập liệu, các nút tương tác (buttons, links), và các thông báo lỗi (validation messages — ghi nguyên văn).
- Trigger từng validation để thu thập error messages thực tế.
- Lưu ý: Không tự đoán các trường thông tin nếu không nhìn thấy trên giao diện thực tế.
- Sử dụng các công cụ duyệt web (Browser tools/MCP) để truy cập vào module trang web được yêu cầu (
-
Phân tích chức năng và tương tác (Analyze UI & Interactions):
- Phân tích luồng thao tác (User Flows).
- Ghi nhận các trường dữ liệu tĩnh và động (Ví dụ: TextBox, Dropdown, Checkbox).
- Ghi nhận các quy tắc nghiệp vụ hiển thị ở giao diện (Business Rules): trường bắt buộc, định dạng hợp lệ, giới hạn ký tự.
- Ghi nhận phân quyền theo role (nếu có) và các trạng thái của entity (nếu có status flow).
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.
- 5d ago First seen · 66 lines · 8 tokens per session scan A 0495806043a7
generate_requirements_from_website is a command published in the GitHub repository anhtester/claude-testing-kit (50 stars, last pushed 26d ago), licensed MIT. It adds 8 tokens to every session and 1,754 once invoked, about $0.0000 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-30.
Other commands, from other repositories
generate_api_tests_from_swagger
Sinh API test cases và automation scripts từ Swagger/OpenAPI specification. Hỗ trợ 2 mode — SPEC (chỉ test cases) và FULL (test cases + automation scripts).
generate_cross_module_test_plan
Phân tích tính năng đi qua nhiều modules nối tiếp, xây dựng Module Map + Dimension Catalog, và sinh ma trận kết hợp (Pairwise/Business-critical/Full Cartesian). Hỗ trợ 2 modes — DOCUMENT (từ tài liệu) và BROWSER (inspect DOM thực tế).
generate_combinatorial_test_data
Sinh test data cho ma trận kết hợp đa chiều bằng pipeline chạy thật qua nhiều modules. Input từ /generatecrossmoduletestplan.
analyze_requirement_document
Phân tích requirement document (Jira ticket, .doc, user story) — sinh tài liệu phân tích chi tiết, KHÔNG sinh test cases.
generate_testcases_from_requirements
Sinh manual test cases nhanh từ requirements (QUICK mode — không qua quy trình 6 bước).
generate_manual_testcases_rbt
Sinh manual test cases chất lượng cao theo quy trình AI-RBT 6 bước (Risk-Based Testing) từ requirements.