What Sugikit is
Sugikit checks your landing page and writes a report that your coding agent reads and fixes.
It has a CLI, sugikit, and an agent skill that runs the fix loop for you. On sugikit.com you can also swipe landing pages to give your agent your taste.
- Check
- Your agent fixes
- Check again
- Green
Install
You need Node.js and a Sugikit plan.
Add Sugikit to your project
npm install -D sugikitWith pnpm:
pnpm add -D sugikit.Log in
npx sugikit loginIt opens sugikit.com in your browser. Confirm the code there, then wait until it prints
Logged in.Add the agent skill
npx sugikit skills installIt copies the skill into
.claude/skills/sugikit.Install the browser
npx sugikit browsers installSugikit checks your page in its own headless Chromium.
Add .sugikit/ to your .gitignore. It holds your reports and screenshots.
Or let your agent do all of it: copy the installation prompt and paste it into your agent.
Your first check
Start your dev server, then check its URL:
npx sugikit check http://localhost:3000sugikit check http://localhost:3000 (framework: next)
polish 96/100 seo 84/100 geo 72/100 convert 100/100
errors 2 warnings 6 info 3
NOT GREEN: 2 errors; below 90: seo 84, geo 72
report: /your-project/.sugikit/report.jsonThe full report is in .sugikit/report.json, with screenshots in .sugikit/report-shots/. Your agent reads the report; the summary is for you.
To check the whole site, add --site. Sugikit then crawls up to 200 pages and estimates your Ahrefs Site Audit Health Score.
What it checks
Each check gives a score from 0 to 100.
| Check | What it looks at | Decides green |
|---|---|---|
| Performance | Google PageSpeed Insights on phone and desktop. Runs with --psi or sugikit psi, on a public URL. | No |
| Accessibility | Contrast, tap targets, reduced motion and an axe scan for serious problems. These run inside design polish. | Yes, through design polish |
| Search optimization | Title, description, canonical, sitemap, robots.txt, structured data (JSON-LD) and redirects. | Yes |
| AI search optimization | llms.txt, AI crawlers in robots.txt, and text that is in the HTML without JavaScript. | Yes |
| Design polish | Sideways scroll, text size, type scale, line length, clipped text and dark mode, in a real browser on desktop and phone, light and dark. | Yes |
| Conversion | Dead links, placeholder text, a way to contact you, form length, a visible price and one clear call to action. | Yes |
Three more scores, hero, structure and taste, are owner checks. They show on their own line and never decide green. Your agent answers some hero checks itself, such as whether a visitor gets the page in five seconds.
When a page is green
A page is green when both are true:
- It has no error findings.
- Design polish, search optimization, AI search optimization and conversion each score 90 or more.
Performance and the owner checks never decide green.
Each finding is an error, a warning or info. In a score an error counts 3, a warning 1 and info 0.
The check exits with code 1 while error findings remain, and with 0 once they are gone.
Fix it with your agent
After the install, ask your agent:
Run sugikit on the landing page and fix what it finds.The skill then runs this loop:
Saves a baseline report to
.sugikit/before.json.Fixes the findings one rule at a time: errors first, then warnings.
Checks again after each batch of fixes.
Stops at GREEN, or after 5 rounds.
Checks the whole site with
--site, then the production build.Ends with a before and after table, and the questions only you can answer.
It keeps your site's look: no new colors, fonts or layouts. It never invents prices, reviews, customers or other facts. It asks you instead.
To see the before and after as a page, run:
npx sugikit reportIt writes .sugikit/report.html and prints its path.
Your taste
Swipe landing pages on sugikit.com. Drag right to keep a page, left to skip it.
Sugikit turns your picks into 3 design directions.
Sign in, pick a direction and press Copy prompt.
Paste the prompt into your coding agent.
The prompt changes type, color, spacing, radius, motion and the hero layout. It changes your copy only when you ask for it.
Later, swipe a few more pages and copy the new prompt. Each round makes the direction closer to your taste.
Keys
The checks need no key. One key is optional:
| Variable | What it is for |
|---|---|
PSI_API_KEY | Google PageSpeed Insights, for --psi and sugikit psi. Get a free key from Google. |
PSI_API_KEY=your-key npx sugikit psi https://your-site.comPageSpeed needs a public URL, such as a deploy preview. A localhost URL does not work.
Troubleshooting
- It says "This needs a Sugikit plan".
- Buy a plan on sugikit.com, then run
npx sugikit loginagain.npx sugikit whoamishows your account and plan. - Chromium is missing.
- Run
npx sugikit browsers install. Do not usenpx playwright install: it can fetch a different Chromium build than the one Sugikit needs. - It says "could not check" my URL.
- The dev server is not running, or the URL is wrong. Open the URL in your browser first.
- A local URL fails with a certificate error.
- Trust your dev server's certificate authority in your system trust store, then check again.
- My fix does not show up.
- Dev servers sometimes serve old CSS. Restart the dev server, or check a production build.
- The check exits with code 1.
- That is expected while error findings remain. It exits with 0 once they are gone.
- Does it work offline?
- The checks run on your machine. Sugikit checks your plan online at most once a day. After 7 days without a check, the paid commands stop until you are online again.
- Where are all the flags and rule ids?
- In the Agent version of this page.