# Install with an AI coding tool

A skill that adds the script to your project, shows a plan first, and checks the result.

The skill's name is `totems-install`.

It works in Claude Code, and in other tools that read skill folders.

## What it does

1. Reads your project and finds the one right file.
2. Shows you the plan and waits for your yes.
3. Adds one script line. Running it again changes nothing.
4. Looks for redirects that drop values from the address, and tells you.
5. Marks only the forms you name.
6. Runs your project's own checks.
7. Asks Totems to check your page, if you give it a key.
8. Says what is left to do.

It never sends your code to us. It asks before it touches checkout, consent or security rules.

## Get it

Save these files in a folder named `totems-install` where your tool keeps skills. In Claude Code that is `.claude/skills/totems-install`.

- [SKILL.md](/docs/install-skill/SKILL.md)
- [scripts/install.mjs](/docs/install-skill/install.mjs)

## Try it without changing anything

```bash
node scripts/install.mjs plan --dir . --src https://YOUR-LINK-DOMAIN/t.js --key mk_YOUR_KEY
```

## What we tested

We ran the script on small example projects: Next.js, Astro, plain HTML, a WordPress theme and Vite (the kind Lovable makes). We did not run it inside each real tool.
