---
title: Agent Reference
sidebarTitle: Agent Reference
description: Comprehensive instructions for AI agents on how to use Playwriter's sandbox, utilities, and patterns.
icon: lucide:bot
---

import SkillDoc from '../../../../playwriter/src/skill.md'

<Note>
This page is the **full agent reference** for Playwriter. It's intended for AI agents and coding assistants that need to know every available utility, pattern, and best practice. If you're a human looking for a quick overview, start with [Installation](./installation.mdx) or [CLI Reference](./cli.mdx) instead.
</Note>

To give your agent these instructions automatically, install the **Playwriter skill**:

```bash
npx -y skills add remorses/playwriter
```

The skill injects the content below into your agent's context so it knows how to use Playwriter without trial and error. Works with OpenCode, Cursor, Claude Code, and any agent that supports skills.

---

<SkillDoc />
