# OK Skills: bộ AI coding agent skills cho Codex, Claude Code, Cursor, OpenClaw và hơn thế nữa [English](README.md) | [简体中文](README.zh-CN.md) | [繁體中文](README.zh-TW.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [Deutsch](README.de.md) | [Español](README.es.md) | Tiếng Việt | [Русский](README.ru.md) | [हिन्दी](README.hi.md) [![Mentioned in Awesome Codex CLI](https://awesome.re/mentioned-badge.svg)](https://github.com/RoggeOhta/awesome-codex-cli) Bộ sưu tập AI coding agent skills và playbook `CLAUDE.md` / `AGENTS.md` được tuyển chọn cho Codex, Claude Code, Cursor, OpenClaw, Trae và các công cụ khác tương thích với `SKILL.md`. Kho này hiện gồm **28 skill có thể tái sử dụng**, tất cả được duy trì trực tiếp dưới dạng thư mục skill cấp cao nhất trong repo này. Chỉ cần clone vào `~/.agents/skills/ok-skills`; các thư mục bên trong đã khớp với bố cục mà workflow dựa trên `AGENTS.md` mong đợi, và [`CLAUDE_AGENTS.md`](CLAUDE_AGENTS.md) cung cấp agent playbook hướng tới Claude Code. Nếu bạn đang tìm **Codex skills**, **Claude Code skills**, **Cursor skills**, **OpenClaw skills**, các playbook **CLAUDE.md / AGENTS.md** có thể tái dùng, hoặc các ví dụ **SKILL.md** thực dụng, repo này được tổ chức để vừa dễ tìm kiếm vừa có thể dùng ngay. **Các tình huống dùng phổ biến:** tra cứu tài liệu, tự động hóa trình duyệt, prompt engineering, workflow lập kế hoạch, thiết kế frontend, và xử lý PDF/Word/PPTX/XLSX. ## Repo này phù hợp với ai - Bạn dùng Codex, Claude Code, Cursor, OpenClaw, Trae hoặc một AI coding agent khác và muốn dùng lại skill thay vì viết prompt ad-hoc. - Bạn duy trì workflow với `CLAUDE.md` / `AGENTS.md` / `SKILL.md` và muốn có hướng dẫn có thể dùng xuyên nhiều dự án. - Bạn cần các skill đã được kiểm chứng cho tra cứu tài liệu, tự động hóa trình duyệt, lập kế hoạch, prompt engineering, thiết kế frontend, PDF, tài liệu Office, slide deck và bảng tính. ## Bắt đầu từ đây Nếu lúc đầu bạn chỉ cài vài skill, hãy bắt đầu với những skill sau: - [planning-with-files](planning-with-files/SKILL.md): lập kế hoạch dựa trên file cho tác vụ phức tạp, nghiên cứu và công việc kéo dài. - [find-docs](find-docs/SKILL.md): lấy tài liệu thư viện mới nhất, tham chiếu API và ví dụ được Context7 hỗ trợ. - [agent-browser](agent-browser/SKILL.md): tự động hóa trình duyệt cho ảnh chụp màn hình, biểu mẫu, scraping và web QA. ## Quick Start trong 1 phút ```bash mkdir -p ~/.agents/skills cd ~/.agents/skills git clone https://github.com/mxyhi/ok-skills.git ok-skills ``` Sau khi clone, repo sẽ nằm tại `~/.agents/skills/ok-skills`, và các thư mục bên trong đã theo đúng bố cục mong đợi: ```text ~/.agents/skills/ok-skills/ CLAUDE_AGENTS.md planning-with-files/ SKILL.md find-docs/ SKILL.md agent-browser/ SKILL.md ... ``` Với chỉ dẫn toàn cục cho Claude Code hoặc Codex, hãy bắt đầu từ [`CLAUDE_AGENTS.md`](CLAUDE_AGENTS.md), rồi sao chép hoặc gộp vào `CLAUDE.md` của Claude Code hoặc `AGENTS.md` của Codex. File này đóng gói workflow Chinese-first, theo KISS, kiểm tra tài liệu/source mới nhất, ưu tiên multi-agent, bật mặc định `planning-with-files` / `karpathy-guidelines`, kỳ vọng TypeScript nghiêm ngặt và quy tắc định tuyến context-mode. Trước khi tái sử dụng, hãy chỉnh phần `语言要求` cho dự án của bạn. Phần `其他注意项` là cấu hình cục bộ theo dự án và có thể chỉnh khi cần. Thêm các quy tắc kích hoạt đơn giản vào `AGENTS.md` của bạn, hoặc gộp cùng các trigger skill đó vào `CLAUDE.md` / `AGENTS.md`: ```md ## Skills - planning-with-files: Use for complex tasks, research, or anything that will take 5+ tool calls. - find-docs: Use when you need current library docs, API references, or Context7-backed examples. - agent-browser: Use for browser automation, screenshots, scraping, web testing, or form filling. ``` Sau đó bạn có thể yêu cầu một cách tự nhiên: - `Use planning-with-files before refactoring this module.` - `Use find-docs to fetch the latest docs for this SDK.` - `Use agent-browser to reproduce this UI bug.` ## Duyệt skills theo trường hợp sử dụng ### Nghiên cứu và tài liệu - [find-docs](find-docs/SKILL.md): workflow Context7 CLI tập trung vào tra cứu tài liệu mới nhất. - [exa-search](exa-search/SKILL.md): nghiên cứu web, code và công ty bằng các công cụ tìm kiếm Exa. - [reverse-engineer-anything](reverse-engineer-anything/SKILL.md): Phân tích ứng dụng và tệp nhị phân đã phát hành khi mã nguồn không giải thích được hành vi; dùng CLI/MCP của REA để thu thập bằng chứng và so sánh phiên bản. - [get-api-docs](get-api-docs/SKILL.md): lấy tài liệu API và SDK bên thứ ba mới nhất trước khi viết code. - [find-skills](find-skills/SKILL.md): khám phá các skill sẵn có khi người dùng cần một năng lực cụ thể. - [ax](ax/SKILL.md): curl thoi AI — fetch trang, kham pha cau truc, trich xuat du lieu co cau truc, thay cho curl + script parse dung mot lan. ### Lập kế hoạch và prompting - [planning-with-files](planning-with-files/SKILL.md): lập kế hoạch Markdown bền vững với `task_plan.md`, `findings.md` và `progress.md`. - [product-decision-agent](product-decision-agent/SKILL.md): agent ra quyết định sản phẩm ưu tiên tiếng Trung cho chẩn đoán nút thắt, ưu tiên, tăng trưởng, chỉ số, vận hành và phối hợp liên nhóm. - [autoresearch](autoresearch/SKILL.md): vòng lặp tự động theo mục tiêu với goal, metric, verify loop và keep/discard gate rõ ràng. - [diagnosing-bugs](diagnosing-bugs/SKILL.md): vong lap chan doan co ky luat cho bug kho va regression hieu nang. - [grilling](grilling/SKILL.md): reusable design-tree interview loop cho direct grill sessions. - [teach](teach/SKILL.md): van hanh teaching workspace co mission, resources, lessons va learning records. - [domain-modeling](domain-modeling/SKILL.md): build and sharpen project domain terminology, `GLOSSARY.md`, and ADRs. - [codebase-design](codebase-design/SKILL.md): shared deep-module vocabulary for seams, interfaces, leverage, locality, and testability. - [improve-codebase-architecture](improve-codebase-architecture/SKILL.md): tìm cơ hội architecture deepening giúp tăng locality, leverage, testability và AI navigation. - [prototype](prototype/SKILL.md): tao prototype logic hoac UI dung mot lan de tra loi nhanh design question. - [karpathy-guidelines](karpathy-guidelines/SKILL.md): hướng dẫn hành vi coding giúp giảm overcomplication, giả định ẩn và thay đổi không kiểm chứng được. - [ponytail](ponytail/SKILL.md): Áp dụng YAGNI, tái sử dụng mã có sẵn và ưu tiên thư viện chuẩn cùng tính năng gốc của nền tảng để giảm thiết kế quá mức; hỗ trợ lite, full và ultra. - [migrate-to-shoehorn](migrate-to-shoehorn/SKILL.md): migrate `as` type assertions trong test sang `@total-typescript/shoehorn`. - [tdd](tdd/SKILL.md): test-first red-green-refactor cho tính năng, bugfix, refactor và thay đổi hành vi. ### Tự động hóa và QA - [agent-browser](agent-browser/SKILL.md): tự động hóa trình duyệt cho điều hướng, biểu mẫu, ảnh chụp màn hình và scraping. - [kimi-webbridge](kimi-webbridge/SKILL.md): điều khiển trình duyệt thật của người dùng qua daemon cục bộ để điều hướng, điền biểu mẫu, chụp màn hình, đọc trang và dùng phiên đã đăng nhập. - [browser-trace](browser-trace/SKILL.md): ghi lại CDP trace, ảnh chụp màn hình và DOM dump cho quá trình gỡ lỗi tự động hóa trình duyệt. - [opencli](opencli/opencli-usage/SKILL.md): biến website thành lệnh CLI bằng cách tái sử dụng phiên đăng nhập trình duyệt, truy cập API công khai và sinh adapter bằng AI. ### Frontend và thiết kế - [ai-elements](ai-elements/SKILL.md): xây dựng các thành phần UI chat AI cho thư viện `ai-elements`. - [huashu-design](huashu-design/SKILL.md): tạo prototype HTML độ trung thực cao, demo tương tác, slide deck, motion design, biến thể thiết kế, video export và design critique. - [imagegen-frontend-web](imagegen-frontend-web/SKILL.md): tạo ảnh tham chiếu frontend cao cấp, mỗi section một ảnh ngang. - [better-icons](better-icons/SKILL.md): tìm kiếm, duyệt và lấy icon SVG từ hơn 200 bộ Iconify qua CLI hoặc MCP. ### Tiện ích và biên soạn nội dung - [huashu-design](huashu-design/SKILL.md): tạo HTML deck, PPTX chỉnh sửa được, MP4/GIF motion pieces và video thiết kế có narration. ## Gói skill vendored [`planning-with-files/`](planning-with-files/) dùng [`OthmanAdi/planning-with-files/.codex/skills/planning-with-files`](https://github.com/OthmanAdi/planning-with-files/tree/master/.codex/skills/planning-with-files) làm upstream baseline. Repo này dùng thư mục upstream đó làm baseline canonical cho skill cục bộ. Khac biet cuc bo chi gom frontmatter `SKILL.md` tuong thich `skills-ref` va tai lieu dung duong dan script tuong doi khong phu thuoc vi tri cai dat. ## Các điều kiện tiên quyết phổ biến - Một số skill giả định rằng `gh` đã được cài đặt và đăng nhập. - Các skill thiên về trình duyệt có thể cần môi trường hỗ trợ Chrome/CDP. - Các skill tra cứu tài liệu bên thứ ba có thể phụ thuộc vào CLI hoặc công cụ MCP bên ngoài; hãy kiểm tra từng `SKILL.md` để biết chi tiết. ## Chỉ mục đầy đủ của skill Cột `Source URL` trỏ tới upstream chính thức khi một skill được vendored/imported; nếu không, nó sẽ trỏ tới thư mục skill trong repo này. ### Top-Level Skills | Skill | Mô tả | Source URL | | ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | | [agent-browser](agent-browser/SKILL.md) | CLI tự động hóa trình duyệt cho AI agents: điều hướng, điền biểu mẫu, chụp màn hình, trích xuất và kiểm thử web. | [vercel-labs/agent-browser](https://github.com/vercel-labs/agent-browser/tree/main/skills/agent-browser) | | [ai-elements](ai-elements/SKILL.md) | Tạo các thành phần giao diện chat AI mới cho thư viện ai-elements với mô hình composable và quy ước shadcn/ui. | [vercel/ai-elements](https://github.com/vercel/ai-elements/tree/main/skills/ai-elements) | | [autoresearch](autoresearch/SKILL.md) | Engine lặp tự động theo mục tiêu cho workflow modify, verify, keep/discard và repeat. | [uditgoenka/autoresearch](https://github.com/uditgoenka/autoresearch/tree/master/.agents/skills/autoresearch) | | [ax](ax/SKILL.md) | curl thoi AI: fetch URL, kham pha cau truc trang, trich xuat du lieu co cau truc tu HTML — khong can script parse dung mot lan. | [yusukebe/ax](https://github.com/yusukebe/ax/tree/main/skills/ax) | | [better-icons](better-icons/SKILL.md) | Tìm trong hơn 200 bộ Iconify và lấy icon SVG qua CLI hoặc công cụ MCP. | [better-auth/better-icons](https://github.com/better-auth/better-icons/tree/main/skills) | | [kimi-webbridge](kimi-webbridge/SKILL.md) | Điều khiển trình duyệt thật của người dùng qua daemon cục bộ để điều hướng, điền biểu mẫu, chụp màn hình, đọc trang và dùng phiên đã đăng nhập. | [install.sh](https://cdn.kimi.com/webbridge/install.sh) | | [browser-trace](browser-trace/SKILL.md) | Ghi lại CDP trace, ảnh chụp màn hình và DOM dump để gỡ lỗi tự động hóa trình duyệt. | [browserbase/skills](https://github.com/browserbase/skills/tree/main/skills/browser-trace) | | [diagnosing-bugs](diagnosing-bugs/SKILL.md) | Vong lap chan doan co ky luat cho bug kho va regression hieu nang. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/engineering/diagnosing-bugs) | | [deep-research](deep-research/SKILL.md) | Tao bao cao nghien cuu chuyen sau voi viet song song da agent, dinh huong du lieu moi nhat, dau ra da ngon ngu va kiem tra chat luong tich hop. | [hoolulu/deep-research](https://github.com/hoolulu/deep-research/tree/main) | | [find-docs](find-docs/SKILL.md) | Dùng Context7 CLI để tra cứu tài liệu mới nhất, tham chiếu API và ví dụ mã. | [upstash/context7](https://github.com/upstash/context7/tree/master/skills/find-docs) | | [exa-search](exa-search/SKILL.md) | Dùng Exa cho nghiên cứu web, code và công ty. | Custom | | [reverse-engineer-anything](reverse-engineer-anything/SKILL.md) | Phân tích ứng dụng và tệp nhị phân đã phát hành khi mã nguồn không giải thích được hành vi; dùng CLI/MCP của REA để thu thập bằng chứng và so sánh phiên bản. | [morluto/rea](https://github.com/morluto/rea/tree/main/.agents/skills/reverse-engineer-anything) | | [find-skills](find-skills/SKILL.md) | Khám phá các skill hiện có khi người dùng cần những năng lực chuyên biệt. | [vercel-labs/skills](https://github.com/vercel-labs/skills/tree/main/skills/find-skills) | | [huashu-design](huashu-design/SKILL.md) | Tạo prototype HTML độ trung thực cao, demo tương tác, slide deck, motion design, biến thể thiết kế, video export và design critique. | [alchaincyf/huashu-design](https://github.com/alchaincyf/huashu-design) | | [imagegen-frontend-web](imagegen-frontend-web/SKILL.md) | Tạo ảnh tham chiếu frontend cao cấp, mỗi section một ảnh ngang. | [Leonxlnx/imagegen-skills](https://github.com/Leonxlnx/imagegen-skills/tree/main/skills/imagegen-frontend-web) | | [get-api-docs](get-api-docs/SKILL.md) | Lấy tài liệu API hoặc SDK bên thứ ba hiện tại trước khi viết code. | [andrewyng/context-hub](https://github.com/andrewyng/context-hub/tree/main/cli/skills/get-api-docs) | | [grilling](grilling/SKILL.md) | Reusable design-tree interview loop cho direct grill sessions. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/productivity/grilling) | | [teach](teach/SKILL.md) | Day mot skill hoac concept trong workspace co mission, resources, lessons va learning records. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/productivity/teach) | | [domain-modeling](domain-modeling/SKILL.md) | Build and sharpen project domain terminology, `GLOSSARY.md`, and ADRs. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/engineering/domain-modeling) | | [codebase-design](codebase-design/SKILL.md) | Shared deep-module vocabulary for seams, interfaces, leverage, locality, and testability. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/engineering/codebase-design) | | [improve-codebase-architecture](improve-codebase-architecture/SKILL.md) | Tìm cơ hội architecture deepening giúp tăng locality, leverage, testability và AI navigation. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture) | | [prototype](prototype/SKILL.md) | Tao prototype logic hoac UI dung mot lan de tra loi nhanh design question. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/engineering/prototype) | | [karpathy-guidelines](karpathy-guidelines/SKILL.md) | Hướng dẫn hành vi coding giúp giảm overcomplication, giả định ẩn và thay đổi không kiểm chứng được. | [forrestchang/andrej-karpathy-skills](https://github.com/forrestchang/andrej-karpathy-skills/tree/main/skills/karpathy-guidelines) | | [ponytail](ponytail/SKILL.md) | Áp dụng YAGNI, tái sử dụng mã có sẵn và ưu tiên thư viện chuẩn cùng tính năng gốc của nền tảng để giảm thiết kế quá mức; hỗ trợ lite, full và ultra. | [DietrichGebert/ponytail](https://github.com/DietrichGebert/ponytail/tree/main/skills/ponytail) | | [migrate-to-shoehorn](migrate-to-shoehorn/SKILL.md) | Migrate file test từ `as` type assertions sang `@total-typescript/shoehorn`. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/misc/migrate-to-shoehorn) | | [opencli](opencli/opencli-usage/SKILL.md) | Biến website thành lệnh CLI bằng cách tái sử dụng phiên đăng nhập trình duyệt, truy cập API công khai và sinh adapter bằng AI. | [jackwener/opencli](https://github.com/jackwener/opencli/tree/main/skills) | | [planning-with-files](planning-with-files/SKILL.md) | Lập kế hoạch dựa trên file cho các tác vụ phức tạp bằng `task_plan.md`, `findings.md` và `progress.md`. | [OthmanAdi/planning-with-files](https://github.com/OthmanAdi/planning-with-files/tree/master/.codex/skills/planning-with-files) | | [product-decision-agent](product-decision-agent/SKILL.md) | Agent ra quyết định sản phẩm ưu tiên tiếng Trung cho chẩn đoán nút thắt, ưu tiên, tăng trưởng, chỉ số, vận hành và phối hợp liên nhóm. | [atdy/maoxuan-product-agent](https://github.com/atdy/maoxuan-product-agent/tree/main/product-decision-agent) | | [tdd](tdd/SKILL.md) | Dùng trước tính năng, bugfix, refactor hoặc thay đổi hành vi; ưu tiên integration-style tests qua public interface. | [mattpocock/skills](https://github.com/mattpocock/skills/tree/main/skills/engineering/tdd) | ## Đóng góp Chúng tôi hoan nghênh đóng góp cho các skill mới hoặc cải tiến skill hiện có. 1. Giữ điều kiện kích hoạt rõ ràng và có thể kiểm chứng. 2. Giữ ví dụ ngắn gọn và thiên về thực thi. 3. Nếu một skill phụ thuộc vào công cụ bên ngoài, hãy ghi rõ phụ thuộc đó trong `SKILL.md`. 4. Cập nhật `README.md` và `README.zh-CN.md` khi bạn thêm hoặc đổi tên skill, đồng thời làm mới các README bản dịch khác khi chỉ mục skill công khai thay đổi. ## Giấy phép Repo này được cấp phép theo [LICENSE](LICENSE).