Getting started
Installation
One command sets up everything the plugin needs — the bun runtime, the Claude Code marketplace and plugin, the crawler dependencies, and Playwright Chromium. Here's how it works on each operating system.
Prerequisites
- Claude Code installed and signed in — the installer stops early if the
claudeCLI isn't on your PATH. - An active subscription or trial. One subscription covers one developer; every plugin request is verified server-side against your Claude email.
- Roughly 500 MB of free disk — the Playwright Chromium build alone is ~150 MB.
Quick install
On macOS, Linux, or Windows under WSL, run:
curl -fsSL https://imitationengine.com/install.sh | bashThe script is idempotent — safe to re-run any time. It:
- checks the Claude Code CLI is available,
- installs the
bunruntime if it's missing (the crawler tools run on it), - registers the Imitation Engine marketplace and installs the plugin,
- installs the crawler dependencies and Playwright Chromium into the plugin's cache directory.
Note
/imitation-engine:setup inside Claude Code, covered in Connect your account.Platform setup
Works on macOS 13 Ventura or later, Apple silicon and Intel alike.
- 1
Install Claude Code (skip if you have it)
Terminal curl -fsSL https://claude.ai/install.sh | bash - 2
Run the Imitation Engine installer
Terminal curl -fsSL https://imitationengine.com/install.sh | bashIt installs
bunto~/.bunif you don't already have it, adds the plugin, and downloads Playwright Chromium (~150 MB on first run). - 3
Finish inside Claude Code
Open Claude Code anywhere and run
/imitation-engine:setupto link your account — see Connect your account.
Connect your account
The plugin authenticates with a personal plugin token (ie_…) tied to your subscription.
- 1
Generate a token
Go to Dashboard → Settings and press Generate token. The token is shown once — copy it right away. You have one active token at a time; regenerating revokes the old one everywhere.
- 2
Run setup in Claude Code
Claude Code /imitation-engine:setupPaste the token when asked. It's stored in
~/.imitation-engine/credentials.jsonwith owner-only permissions; on CI or shared machines you can use theIMITATION_ENGINE_TOKENenvironment variable instead. - 3
Confirm the plan check
Setup verifies your subscription server-side and reports the plan it found. If it says "Subscribe to continue", your trial has ended — pick a plan on the subscription page and re-run setup.
Verify the install
Check the plugin is registered with Claude Code:
claude plugin list# … should include imitation-engine@imitation-engineThen run /imitation-engine:setup once more — every step is idempotent, so a healthy machine reports "already set up" along with your plan. From there, clone your first site:
/imitation-engine:master https://example.comThe project is named after the directory Claude Code is running in, and the crawl shows up on your dashboard in real time.
Manual install
Prefer to see every step, or on a machine where curl | bash isn't an option (native Windows with Git Bash, locked-down CI)? Run the pieces yourself:
# 1. Marketplace + pluginclaude plugin marketplace add marvelxcodes/imitation-engine-pluginclaude plugin install imitation-engine@imitation-engine # 2. Crawler dependencies + Chromium (in the installed copy)cd ~/.claude/plugins/cache/imitation-engine/imitation-engine/*/bun installbun x playwright install chromiumOn Windows, install bun first with irm bun.sh/install.ps1 | iex in PowerShell. Finish with /imitation-engine:setup in Claude Code as usual.
Troubleshooting
bun: command not found
~/.bun/bin but your shell hasn't picked up the PATH change. Open a new terminal, or add export PATH="$HOME/.bun/bin:$PATH" to your shell profile.Chromium fails to launch on Linux (missing shared libraries)
sudo bun x playwright install-deps chromium or the distro packages listed in Playwright's error output."Not connected" when running a command
/imitation-engine:connect and paste a fresh token from Dashboard → Settings."Subscribe to continue"
Token stopped working after I generated a new one
/imitation-engine:connect on every machine you use. Note the fair-use cap of 5 distinct machines per token per 24 hours.Still stuck? Write to hello@imitationengine.com — include the command output and your OS.