> ## Documentation Index
> Fetch the complete documentation index at: https://datum-4926dda5-docs-api-reference-demo.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Edge skill

> Teach agents to manage WAF, auth, and traffic policies on Datum's AI Edge — attaching policies to Gateways and HTTPRoutes via datumctl.

The AI Edge skill helps agents manage traffic protection and security policies in Datum Cloud. It covers the three policy types that attach to [AI Edge](/ai-edge/overview) resources via `targetRefs`: `TrafficProtectionPolicy` (WAF), `SecurityPolicy` (auth/authz), and `BackendTrafficPolicy` (rate limiting, circuit breakers, compression).

## Install

<CodeGroup>
  ```bash Claude Code theme={null}
  /plugin marketplace add datum-cloud/skills
  /plugin install datum-cloud@datum-cloud
  ```

  ```bash npx skills theme={null}
  npx skills add https://github.com/datum-cloud/skills
  ```

  ```bash Cursor theme={null}
  # Settings → Rules → Add Rule → Remote Rule (GitHub)
  # Repository: datum-cloud/skills
  ```
</CodeGroup>

<Note>
  Once installed, the skill activates automatically when you ask an agent to work with AI Edge on Datum. No further configuration needed.
</Note>

## Capabilities

* Deploy a Web Application Firewall (TrafficProtectionPolicy) with OWASP Core Rule Set enforcement
* Configure WAF detection (`Observe`) and blocking (`Enforce`) modes
* Attach authentication and authorization policies (SecurityPolicy) to gateways and routes
* Manage circuit breakers, compression, rate limiting, and fault injection (BackendTrafficPolicy)
* List, inspect, and update policies across a project
* Preview changes before applying with `datumctl diff`
* Delete policies safely
* Check permissions before acting

## How it relates to other Datum surfaces

* **Product docs:** [AI Edge](/ai-edge/overview) — the human-facing reference for WAF and traffic policies
* **Datum MCP:** [Datum MCP](/datum-mcp) — for agents that need to act on Gateways and HTTPRoutes during a session
* **`datumctl`:** [datumctl overview](/datumctl/overview) — `get`, `describe`, `apply`, `diff`, `delete` commands the skill teaches agents to use

## View the full skill

The canonical SKILL.md lives in the [datum-cloud/skills](https://github.com/datum-cloud/skills) repo:

<CardGroup cols={2}>
  <Card title="On GitHub" icon="github" href="https://github.com/datum-cloud/skills/blob/main/skills/ai-edge/SKILL.md">
    Browse the skill source, including frontmatter and full instructions.
  </Card>

  <Card title="Raw SKILL.md" icon="file-code" href="https://raw.githubusercontent.com/datum-cloud/skills/main/skills/ai-edge/SKILL.md">
    Direct URL for agents that fetch skills by URL.
  </Card>
</CardGroup>
