Skip to content
Persqo for Claude Code

Persqo inside your app's admin. One prompt to set it up.

Persqo sends an AI visitor through your live app, checks speed, errors, SEO and how AI assistants describe you, and shows it all on an admin page in your own app. Each finding comes with a fix prompt for Claude Code, and file fixes can arrive as pull requests.

  • ✓ 1 site test a month
  • ✓ 3 fix prompts a month
  • ✓ Your API key stays on your server
  • ✓ No card
CLAUDE CODE · EXAMPLE PROMPT
Add a Persqo admin page to this codebase. Persqo tests my live site your-app.example like a real visitor and shows the results, fix prompts and AI search (GEO) checks in a dashboard. Do not rebuild that dashboard: Persqo serves it, and this app only frames it for admins. First read the project to find its framework, its server code and its existing sign-in and admin checks, and follow the patterns it already uses.

Persqo project: prj_YOUR_PROJECT
Persqo site: env_YOUR_SITE (https://your-app.example)

1. The API key, server side only
Read the Persqo API key from a server-only environment variable named PERSQO_API_KEY. Add PERSQO_API_KEY= (empty) to .env.example, make sure .env and .env.local are in .gitignore, and tell me to put the real key in .env.local and in my host's environment settings. Never give it a NEXT_PUBLIC_, VITE_ or other public prefix, never import it in client code, never log it, and never ask me to paste it into chat or commit it.

2. The server code
Create a server-only endpoint (for example an API route or server action at /api/admin/persqo-embed) that:
1. Checks the caller is signed in as an admin with the app's existing auth. If not, returns 401 or 403.
2. Reads process.env.PERSQO_API_KEY (or the framework's server env). If it is missing, returns 500 with "Set PERSQO_API_KEY".
3. Calls Persqo with fetch:
POST https://persqo.com/api/v1/embed/sessions
Headers: Authorization: Bearer <the PERSQO_API_KEY secret>, Content-Type: application/json
Body: {"site_id": "env_YOUR_SITE", "platform": "claude"}
Answer (201): {"url": "...", "expires_at": "...", "verified": true or false, ...}
4. Returns only {"url": <the url from the answer>} with Cache-Control: no-store. Never returns or logs the key. If Persqo answers with an error, returns its status and its error.message.

3. The admin page
Create an admin page at /admin/persqo, named "Persqo", inside the existing admin layout, and add it to the admin navigation if there is one.
Each time the page opens, fetch the endpoint and put the returned url in an iframe: width 100%, height calc(100vh - the header height), no border, title "Persqo", allow="clipboard-write". Do not cache or store the url: it works once and only for five minutes, so a reload asks for a new one. Show a short loading line while it loads, and the error message with a Try again button if the call fails. If the app sends a Content-Security-Policy, add https://persqo.com to its frame-src (or child-src).

4. Who can open it
If the app has no sign-in or admin role, protect the page with a password instead: ask me for a second secret named PERSQO_DASHBOARD_PASSWORD. The page shows a password field; the server code compares what was typed with PERSQO_DASHBOARD_PASSWORD on the server, in constant time, before it calls Persqo, and refuses after 5 wrong tries in 10 minutes. Never put the password in client code, local storage or the URL. Hide the page from visitors who are not admins.

5. Site verification
Add this tag inside <head> of index.html (or the root layout's head), as it is served, not added later by a script, so Persqo can verify that I own the site:
<meta name="persqo-verification" content="YOUR_VERIFICATION_TOKEN">
If this codebase cannot edit the head, tell me, and I will add a DNS TXT record on your-app.example with the value persqo-verify=YOUR_VERIFICATION_TOKEN instead. Persqo frames its dashboard only on my verified domains and on localhost while I develop, so publish the change before opening the page on my own domain.

When you are done, tell me which files and functions you added, where the page is, and the name of the secret to fill in. Do not add anything else to the public site.

Yours has your own project and verification token, and never your API key.

  • Lovable
  • Base44
  • Claude Code
  • OpenAI Codex
  • Cursor
  • Bolt
  • v0
  • Replit
  • WordPress
  • Wix
  • Shopify
1 prompt
Sets up the admin page
0
API keys in the browser
5 min
Each dashboard link works once
Pull request or prompt
How fixes reach your code
How a fix reaches your code · example

A finding, a prompt, a re-test.

Every finding comes with a fix prompt written for Claude Code. You paste it, review the change in your diff, and run the same test again from your admin.

Connect your GitHub repository and Persqo opens a pull request for file fixes (llms.txt, robots.txt). Autopilot can open them after each site test. Persqo never merges: you review and merge. Every other fix is a fix prompt you paste into Claude Code.

EXAMPLE FINDING · MADE-UP APP

The sign up button is hidden behind the cookie banner on phones.

Seen by the phone visitor on the home page. Expected: the button can be tapped. Actual: the banner covers it until it is closed.

FIX PROMPT FOR CLAUDE CODE
On phone screens, the cookie banner covers the Sign up button on the home page. Move the banner below the first screen or make it smaller, keep the button tappable (at least 44px), and keep the current design. Then tell me what you changed.

A file fix such as a missing llms.txt can arrive as a pull request instead, when GitHub is connected.

Try it on your app · free

What would a visitor hit in your app?

Sign up, get the prompt for Claude Code and run your first site test from your own admin. A visitor tests your live app like a new customer. No card.

Get your free prompt →
  1. 1Sign up free, add your app's address and choose Claude Code. Persqo writes one prompt with your project and verification token in it.
  2. 2Paste the prompt into Claude Code in your project. It writes the server code and an admin-only page.
  3. 3Create a Persqo API key and put it in a server-only environment variable. Never in the chat.

Free: 1 site test a month and 3 fix prompts a month.

Set up · four steps

Claude Code adds the page. Persqo serves the dashboard.

  1. 1Get your promptSign up free, add your app's address and choose Claude Code. Persqo writes one prompt with your project and verification token in it.
  2. 2Paste itPaste the prompt into Claude Code in your project. It writes the server code and an admin-only page.
  3. 3Add your keyCreate a Persqo API key and put it in a server-only environment variable. Never in the chat.
  4. 4Open your adminDeploy and open /admin/persqo as an admin. Run a site test and read the findings.

The page in your app frames a dashboard Persqo serves, so it stays up to date without another prompt. A server endpoint, open to admins only, asks Persqo for a one-time link that works for five minutes; the browser only ever sees that link. Persqo lets only your verified domains and localhost show it.

In every test

What it checks, and how fixes arrive.

What every site test checks

  • A real visitor, on a laptop and a phone. An AI visitor walks your live app like a new customer, with a goal that fits it: sign up, book, contact you or buy. It never submits your forms or pays.
  • Buttons, forms and links. Sign up, contact, booking and the main buttons: does each one exist, work and get found? Every main menu link opens a working page.
  • Phone screens. The first screen, buttons covered by a banner or chat widget, and pages that do not fit the screen.
  • Speed and errors. How long each page takes to show its main content in a real browser, broken routes, script errors and failed requests.
  • Security basics. Security headers, HTTPS, insecure cookies and keys left in public code. Nothing is attacked.
  • SEO and AI visibility. Title and description, schema, llms.txt, and whether ChatGPT, Perplexity, Gemini and Claude name your business when buyers ask.

Fixes: prompts, and pull requests where they fit

Persqo never changes your code on its own. One-click fixes are for WordPress and Wix sites only; on Claude Code, every fix is a fix prompt or a pull request you review.

  • A fix prompt for every finding. Written for Claude Code: what broke, where, the steps to see it and the change to make. Paste it into Claude Code in your project, review the change and test again.
  • One prompt for the whole report. On paid plans, every finding of a test in one prompt for Claude Code, most important first.
  • Pull requests for llms.txt and robots.txt. With GitHub connected, Persqo opens a pull request with the file built from your live site. You review and merge it. Then deploy as usual. Persqo never merges.
  • Re-test after you fix it. Run the same test again from your admin and see the finding close.
Before · after · example

One test, the fixes, the same test again.

EXAMPLE · BEFORE
  • Phone. The sign up button is covered by the cookie banner.
  • AI search. No llms.txt at the site root, and no description on the home page.
  • Security. Two security headers missing.
EXAMPLE · AFTER
  • Phone. Fixed with the fix prompt in Claude Code. The re-test taps the button.
  • AI search. llms.txt added by a merged pull request, the description by a fix prompt.
  • Security. Headers added by a fix prompt, confirmed by the re-test.
WHAT EVERY FINDING INCLUDES
  • The page and the device
  • The steps the visitor took
  • A screenshot
  • Why it may get in the way
  • A fix prompt written for Claude Code
  • Re-test after you fix it
Plans · USD · monthly

Start free. Upgrade when you need more.

Free

Free

No card needed

  • 1 site test a month
  • A monthly GEO scan: 5 questions on one AI engine
  • 3 fix prompts a month, written for your builder
  • 1 site
  • The Persqo dashboard inside your app's admin
Start free

Plus

$19/mo

Billed monthly. Yearly $182.40 (20% off)

  • A site test every week
  • Monthly GEO scan on ChatGPT and Perplexity
  • Fix prompts for every finding, unlimited
  • 1 site
  • One prompt that fixes every finding of a report
  • The Persqo dashboard inside your app's admin
Choose Plus

Pro

$49/mo

Billed monthly. Yearly $470.40 (20% off)

  • A site test every day
  • Weekly GEO scan on all 4 AI engines, compared with 3 competitors
  • Fix prompts for every finding, unlimited
  • 1 site
  • One prompt that fixes every finding of a report
  • 3 visitor personas
  • GEO compared with 3 competitors
  • The Persqo dashboard inside your app's admin
Choose Pro

Agency

$149/mo

Billed monthly. Yearly $1430.40 (20% off)

  • Daily site tests on up to 10 sites
  • Weekly GEO scan on all 4 AI engines, compared with 3 competitors
  • Fix prompts for every finding, unlimited
  • Up to 10 sites
  • One prompt that fixes every finding of a report
  • 3 visitor personas
  • GEO compared with 3 competitors
  • White-label reports with your logo
  • The Persqo dashboard inside your app's admin
Choose Agency

Prices in USD. One plan per Persqo account, the same plans as Persqo for WordPress. Agency covers up to 10 sites.

Other platforms

Built somewhere else?

Product names and logos are trademarks of their owners. Persqo is not affiliated with them.

How Claude Code handles secrets, GitHub and previews, from its docs: Claude Code: overview.

Your visitors already found the problems. Now you will too.

Claude Code reads your project first, then adds a server-only endpoint that checks the caller is an admin, reads PERSQO_API_KEY from the environment and asks Persqo for a one-time dashboard link, and an admin page that shows that link in a frame. It adds the variable name to .env.example only, never the key itself.

Persqo for Claude Code: site tests, fix prompts and GEO inside your app's admin | Persqo