> ## Documentation Index
> Fetch the complete documentation index at: https://exosphere-auto-translate-docs-20260624-1149.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Cho các agents

> Thêm kiến thức Failproof AI vào agent lập trình 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 agent lập trình 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 khác hỗ trợ skills.

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

`npx skills` phát hiện những agents bạn đã cài đặt và tự động thêm skill ở đị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 policy tích hợp, loại sự kiện, tham số, bật/tắt                   |
| Custom policies | `customPolicies.add()`, bộ lọc phù hợp, API `allow`/`deny`/`instruct` |
| Context object  | `ctx.eventType`, `ctx.toolName`, `ctx.toolInput`, `ctx.session`       |
| Configuration   | Cấu trúc `policies-config.json`, scope merging, `policyParams`        |
| CLI             | `failproofai policies --install`, `--uninstall`, `--custom`, scopes   |
| Dashboard       | Session viewer, policy activity, biến môi trường                      |
| Architecture    | Hook handler flow, exit codes, stdin/stdout contract                  |

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

Mintlify tạo `llms.txt` từ tất cả các trang trong navigation. 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 điều gì, nguồn nằm tại `https://docs.befailproof.ai/llms-full.txt`.

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

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

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