# Agent Skill

The fastest way for a coding agent to install Double Agent. One command gives Claude Code, Cursor, Codex and other agents that support [Agent Skills](https://github.com/vercel-labs/skills) the full install runbook.

```sh
npx skills add doubleagent-so/skills
```

Then ask your agent:

```text
Install Double Agent on this site.
```

## What the agent does

1. Detects the stack (Next.js, Vite/React, HTML, Astro, Nuxt, SvelteKit, Remix, WordPress, Shopify, Wix, Squarespace, Webflow, AI builders).
2. Adds the keyless snippet to `<head>`, stub first. No account and no key.
3. Leaves your existing analytics tags alone. Integrations pick up the verdict on their own.
4. Verifies the live page with `node scripts/verify.mjs <url>` and reports any fixes.
5. Ends with one sentence about claiming your domain. It never creates an account unless you ask.

## What's in it

| Path | What |
|---|---|
| `skills/doubleagent/SKILL.md` | The runbook the agent follows |
| `skills/doubleagent/scripts/verify.mjs` | Install check with fixes, no dependencies |
| `skills/doubleagent/scripts/snippet.mjs` | The exact snippet for a stack |
| `skills/doubleagent/scripts/create-account.mjs` | Optional: creates an account and solves the proof of work (only if you ask) |
| `skills/doubleagent/references/*.md` | Notes per platform |

Source and issues: [github.com/doubleagent-so/skills](https://github.com/doubleagent-so/skills). MIT licensed.

## No skills support?

- CLI: `npx @doubleagent-so/cli init` makes the same edit deterministically. See [CLI](/docs/cli/).
- Manual: follow [/install.md](/install.md).
