What the agent does
Most privacy policies are copied templates that do not match what the site does. When the production site launches publicly, people (and regulators) can check. Inventory what the code actually collects, stores and sends to third parties, then make the privacy policy and cookie consent describe exactly that, and make consent actually control the scripts.
1. Inventory the data
From the code, list every piece of personal data collected (account fields, analytics, IP addresses, payment details, uploads, support messages), where it is stored, how long it is kept, and every third party it is sent to (analytics, email, payments, error tracking, AI APIs, embeds). Include cookies and local storage keys with what sets them.
2. Compare with the policy
Read the current privacy policy and cookie policy and list every mismatch: data collected but not mentioned, third parties missing, retention periods that are wrong, claims the code contradicts. Show me the list before changing any wording.
3. Make consent real
Scripts and cookies that need consent where the site's users are (analytics with cookies, ads, some embeds) must not load until the visitor agrees, and rejecting must be as easy as accepting. Strictly necessary cookies (sessions, security) need no consent. Remember the choice and let visitors change it from the footer.
4. Update the policies
Draft updated policy text that matches the inventory, in plain words, with a last-updated date, and generated where possible from the same list of third parties so it stays in sync. I approve the wording; this is not legal advice and I may have it reviewed.
Done means
- Every piece of personal data, cookie and third party in the code is listed.
- Every mismatch between the policy and the code is listed and fixed in an approved draft.
- Consent-requiring scripts load only after consent, and rejecting is as easy as accepting.
- The policies have a last-updated date and visitors can change their choice from the footer.
Questions
Is this legal advice?
No. The prompt makes your policy describe what your code really does, which is the part templates get wrong. For legal review of the wording, ask a lawyer.
Do I need a cookie banner?
It depends on where your visitors are and what you load. Strictly necessary cookies never need consent; analytics and ads cookies usually do in the EU and UK. Cookieless analytics can remove the need for a banner.
Why does reject have to be as easy as accept?
European regulators treat hidden or harder reject options as invalid consent. One click either way is the safe design.
Does this prompt add links to Aback Launch to my site?
No. Nothing in the prompt mentions Aback Launch or asks your agent to link to us. The only exception is an optional badge step, which stays off unless you tick it. Some prompt libraries slip their own link into your codebase by default; we think that should always be your choice.
Which coding agents does it work with?
Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and any agent that can read your project and edit files. You can copy it as a plain prompt, save it as a Claude Code skill or a Cursor rule, or add it to AGENTS.md.
Is it safe to run on my real codebase?
The prompt makes the agent read first, show a plan and wait for your approval, and it forbids touching secrets, deploying and deleting data. Still review the changes and run your tests before you deploy, as with any change.
Changelog
- v1.0First version.