@kanvas/site-autopilot
v0.3.1
Published
OpenClaw plugin – autonomous multi-project web optimization agent
Downloads
1,500
Readme
Kanvas Site Autopilot
OpenClaw plugin for automated CRO (Conversion Rate Optimization), SEO, UX analysis, and tracking setup across multiple web projects.
It connects to GA4, Microsoft Clarity, and Google Tag Manager, audits your codebase, detects improvements, and opens Pull Requests with the changes — fully autonomous.
Installation
openclaw plugins install @kanvas/site-autopilotOr with npm:
npm install -g @kanvas/site-autopilotConfiguration
After installing, run OpenClaw and the agent will guide you through setup automatically. It will ask for your projects and credentials one step at a time.
You can also configure manually in your ~/.openclaw/openclaw.json:
{
"plugins": {
"kanvas-site-autopilot": {
"projects": [
{
"name": "My Website",
"source": {
"type": "github",
"repo": "owner/my-website",
"branch": "main"
},
"ga4PropertyId": "123456789",
"clarityProjectId": "abc123xyz",
"gtmContainerId": "987654"
}
],
"dryRun": true,
"gitBranchPrefix": "autopilot/cro"
}
}
}Project source types
GitHub repo:
"source": { "type": "github", "repo": "owner/repo", "branch": "main" }Local folder:
"source": { "type": "local", "path": "/path/to/project" }Credentials
The plugin needs API credentials to collect analytics. Set them up via the agent:
"Set up my credentials"
Or set environment variables:
| Variable | Description |
|---|---|
| GOOGLE_SERVICE_ACCOUNT_JSON | Path to Google service account JSON key |
| CLARITY_API_TOKEN | Microsoft Clarity API token |
Google service account: Go to Google Cloud Console → IAM → Service Accounts → Create → Grant Analytics Viewer and Tag Manager Read roles → Download JSON key.
Clarity token: Go to Clarity → Settings → API → Generate Token.
Tools
| Tool | Description |
|---|---|
| autopilot_status | Check configuration and credentials status |
| autopilot_setup | Add/update projects and credentials |
| site_audit | Audit tech stack, tracking, and code quality |
| collect_analytics | Pull data from GA4, Clarity, and GTM |
| analyze_project | Identify CRO/SEO/UX improvements from analytics |
| apply_changes | Apply code changes and open a PR |
| manage_events | Create and validate GTM tracking events |
| generate_report | Generate an executive CRO report |
| run_autopilot | Run the full pipeline for a project (master tool) |
Skills included
The plugin bundles 38 specialized skills:
- CRO:
analytics-cro,ab-testing,ecommerce-cro,onboarding-cro,signup-flow-cro - SEO:
seo,ai-seo,schema-markup,serp-monitor - Performance:
performance-web,lighthouse-runner,visual-regression - Tracking:
analytics-tracking,gtm,gtm-events,heatmap-analyzer - Frontend:
frontend-best-practices,frontend-design,responsive-design,css-quality,next-best-practices - UX/Copy:
copywriting,accessibility,user-feedback-parser,web-design-guidelines - Audit:
audit,design-system-audit,screenshot-analyzer,baseline-tracker - Ops:
alerting,change-history,competitor-monitor,project-memory,reporter,rollback,evaluation,extraction,modification
Usage
Once installed and configured, just talk to the agent:
Run the full autopilot for My WebsiteAudit my project and show me what needs to be fixedCollect analytics for the last 30 daysCreate GTM events for all missing interactionsThe agent runs daily via cron automatically if configured, analyzing all enabled projects and opening PRs with improvements.
Dry Run mode
By default dryRun: true — the plugin shows what it would change without applying anything. Set dryRun: false to let it open real PRs.
Requirements
- OpenClaw >= 0.40.0
- Node.js >= 18
- Git (for PR creation)
- Google service account (for GA4/GTM data, optional)
- Microsoft Clarity token (optional)
License
MIT
