> ## Documentation Index
> Fetch the complete documentation index at: https://docs.befailproof.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cho các agent

> Thêm kiến thức Failproof AI vào coding agent của bạn chỉ bằng một lệnh. Hoạt động với Claude Code, Cursor, Windsurf và nhiều hơn nữa.

Thêm toàn bộ tài liệu tham khảo Failproof AI vào coding agent của bạn chỉ bằng một lệnh. Hoạt động với Claude Code, Cursor, Windsurf và bất kỳ agent nào hỗ trợ skills.

```bash theme={null}
npx skills add https://docs.befailproof.ai
```

`npx skills` phát hiện những agent nào bạn đã cài đặt và tự động thêm skill theo định dạng phù hợp cho từng agent.

## Skill bao gồm những gì

| Lĩnh vực        | Nội dung bao gồm                                                    |
| --------------- | ------------------------------------------------------------------- |
| Policies        | Tên policies được xây dựng sẵn, các loại event, tham số, bật/tắt    |
| Custom policies | `customPolicies.add()`, bộ lọc khớp, API `allow`/`deny`/`instruct`  |
| Context object  | `ctx.eventType`, `ctx.toolName`, `ctx.toolInput`, `ctx.session`     |
| Configuration   | Cấu trúc `policies-config.json`, hợp nhất scope, `policyParams`     |
| CLI             | `failproofai policies --install`, `--uninstall`, `--custom`, scopes |
| Dashboard       | Trình xem session, hoạt động policy, biến môi trường                |
| Architecture    | Luồng xử lý hook, exit codes, hợp đồng stdin/stdout                 |

## Skill có đầy đủ không?

Mintlify tạo `llms.txt` từ tất cả các trang trong điều hướng. Tài liệu Failproof AI bao gồm toàn bộ API - mọi policy, tùy chọn và ví dụ đều được đưa vào. Nếu bạn thấy thiếu gì, nguồn gốc nằm tại `https://docs.befailproof.ai/llms-full.txt`.

Để có bối cảnh cụ thể, liên kết trực tiếp đến một trang cụ thể:

```bash theme={null}
# Chỉ API custom policies
npx skills add https://docs.befailproof.ai/custom-policies

# Chỉ built-in policies
npx skills add https://docs.befailproof.ai/built-in-policies
```
