Run all of this inside the full Agent OS — join the AI Profit Boardroom →

agentos.guide › blog

SEO For Law Firms In Your Agent OS: Five Copy-Paste Prompts For Practice Pages, Crawlers, Schema, Briefs And Outreach

By Julian Goldie · 11 November 2026 · agentos.guide

Illustrated hero: an agent console scanning a law firm website with columns, scales and schema blocks, linked by gold lines to a checklist on a dark aubergine background

Most of the groundwork behind SEO for law firms is checking and drafting, which is exactly what your Agent OS is good at.

Below you get a quick set-up, five copy-paste prompts and a clear point where a human team should take over.

When the findings need a professional, book a free SEO strategy session and bring the reports with you.

Quick start: the three files your agent needs

  1. Create a working folder called firm-seo and give your agent web fetch access.
  2. Write firm.md: the firm's real name, every staffed office address, phone numbers, opening hours, practice areas and the lawyers who handle each one.
  3. Write intake-questions.md: 25 questions prospective clients ask on first calls, in their own words.

These files stop the agent inventing facts about your firm.

Add one line to the top of each prompt: "UK spelling, no legal advice, flag anything a lawyer must check."

Prompt 1: the practice-area page audit

Google's helpful content guidance treats legal topics as "Your Money or Your Life" content, where accuracy and trust count most.

This prompt finds the pages that fall short.

Read firm.md. Crawl https://YOURFIRM/ and list every page that covers a practice area.
For each page, record in firm-seo/practice-audit.md:
- URL, H1 and the practice area it covers
- whether a named lawyer is shown as author or reviewer, with a link to their profile
- whether the jurisdiction is stated
- the last reviewed date, if any
- whether the page explains the first step and how to get in touch
- any outcome claims or testimonials (list them, do not judge them)
Then list practice areas in firm.md that have no dedicated page.
Do not change anything on the site.

Send the outcome-claims list to a partner, who should check it against your bar or regulator's rules.

Prompt 2: the robots.txt check for AI crawlers

If an AI search crawler is blocked, nothing else on this page helps you appear in that assistant.

OpenAI's crawler documentation sets OAI-SearchBot and GPTBot as separate choices, and Perplexity says PerplexityBot powers search results rather than model training.

Fetch https://YOURFIRM/robots.txt and save a copy to firm-seo/robots.txt.
For each agent, say allowed, blocked or not mentioned:
Googlebot, Bingbot, OAI-SearchBot, GPTBot, ChatGPT-User, PerplexityBot,
Claude-SearchBot, ClaudeBot, Google-Extended.
Request the homepage and one practice page with each search crawler's
user-agent and report the HTTP status, so I can spot firewall or CDN blocks.
Write a table to firm-seo/crawlers.md. Suggest changes but do not edit anything.

Remember that Google-Extended doesn't affect Google Search, so blocking it is a training decision for the partners.

Prompt 3: the LegalService schema draft

Google's local business markup docs describe LocalBusiness as a type of Organization, and LegalService is the schema.org type made for firms.

Using only the facts in firm.md, draft JSON-LD for each office:
@type LegalService, name, address, telephone, url (the office page),
openingHoursSpecification, and sameAs for the firm's official profiles.
Also draft one Organization block for the homepage with name, url and logo.
Compare every field with the text visible on the matching page and list
any mismatch. Save to firm-seo/schema/. Draft only, do not publish.

Google's AI features page says no special markup is needed for AI Overviews, so this is about consistent facts, not a ranking hack.

📞 Found gaps you would rather not fix yourself?

Book a free SEO strategy session and we will turn your agent's audit files into a ranked plan for your firm.

→ Get the free strategy session

Prompt 4: a practice-page brief with lawyer sign-off built in

The agent writes the brief, and a lawyer owns the facts.

Read intake-questions.md and firm.md. Pick the practice area: [e.g. child arrangements].
Write a content brief to firm-seo/briefs/[area].md with:
- the main client question in plain words, and 6 to 8 follow-up questions
- the jurisdiction the page must state
- a suggested H2 outline that answers each question in order
- a box for the reviewing lawyer's name, role and review date
- a list of statements of law that the lawyer must verify
- a note on what the first consultation involves
No outcome promises. Mark every legal point "LAWYER TO CONFIRM".

Once signed off, add the reviewer's byline and date to the live page.

Prompt 5: local outreach research, draft only

Links still help, but Google's spam policies rule out buying links that pass ranking credit, and paid placements need rel="sponsored".

For the towns in firm.md, research and list in firm-seo/outreach.csv:
local newspapers and their legal or business reporters' public contact pages,
chambers of commerce, charities and community groups that host talks,
trade bodies whose members match our practice areas,
and university or college careers events.
For each: name, URL, why it fits, and an idea for a talk or expert comment.
Draft only. Do not send any emails or submit any forms.

A person reviews the list and sends each pitch personally.

A weekly workflow that keeps it moving

DayAgent taskHuman task
MondayRe-run the crawler checkApprove any robots.txt change
TuesdayDraft one practice-page briefLawyer reviews and signs off
WednesdayCompare schema with the Business ProfileFix any mismatch
ThursdayAdd five outreach targetsSend two personal pitches
FridaySummarise enquiries by practice pagePartner picks next week's focus

How to read what your agent hands back

The files are only useful if you sort them into actions.

Ask the agent to merge the findings into a single firm-seo/actions.md sorted by effort and impact.

Mistakes to watch for in the agent's output

A quick human pass catches all five, usually in under an hour.

Turning the audit into a 30-day plan

Once actions.md exists, give it a shape your partners can approve.

  1. Week one: fix crawler blocks and any mismatch between the website and the Business Profile.
  2. Week two: add reviewer bylines and dates to existing practice pages after a lawyer checks them.
  3. Week three: publish the first new practice page from an approved brief.
  4. Week four: send the first two outreach pitches and add the review link to the file-closing letter.

Ask the agent to produce a one-page summary each Friday, so the partners see progress without opening the folder.

What your agent should never touch

🔥 Want the Agent OS that runs these prompts?

Inside the AI Profit Boardroom you learn AI SEO yourself with step-by-step video trainings, the installable Agent OS and four coaching calls a week.

→ Join the AI Profit Boardroom

A small-firm example, start to finish

Picture a three-lawyer immigration practice with one office.

  1. Prompt 1 shows four visa routes with no page and two pages with no reviewer.
  2. Prompt 2 finds the security plugin returning 403 to OAI-SearchBot.
  3. Prompt 3 drafts LegalService markup, and the office phone number turns out to differ from the Business Profile.
  4. Prompt 4 produces briefs for the two most asked-about routes, which the senior partner signs off.
  5. Prompt 5 lists a local community centre and a university careers fair for talks.

That is a week of agent work and a few hours of lawyer time.

When to hand it to a professional

Your agent finds the gaps, but some fixes need people who do this every day.

No one can guarantee you a top position, as Google's hiring guide makes clear, so judge any team on its process.

Goldie Agency works on SEO, GEO, AEO and link building with "manual outreach, no PBNs", and Julian's own published numbers on his about page list 240+ clients.

For a ranked list, see top GEO agencies for law firms.

📞 Bring your agent reports to the call

Book a free SEO strategy session, share the files in firm-seo, and leave with a clear order of work.

→ Book the free call

Free extras for your prompt library

Add the 200+ AI SEO Prompts to your Agent OS for more audits and briefs.

Read the free link building book before you send the first outreach pitch.

Or learn the whole system inside the AI Profit Boardroom.

If your Agent OS findings raise more questions than answers, grab a free SEO strategy session and walk through them with Julian's team.

Also On Our Network

FAQ

Can my Agent OS do law firm SEO without a person?

It can audit, check and draft. A lawyer must still sign off legal content, and a person should handle profiles, reviews and outreach.

Is it safe to put client questions into prompts?

Use general questions clients ask, written in your own words. Never paste names, matter details or anything confidential.

Should we block GPTBot?

That is a training choice for the partners. OpenAI treats GPTBot separately from OAI-SearchBot, which controls appearing in ChatGPT search.

Will the schema prompt help us rank in AI Overviews?

Google says no special schema is needed for AI features. Accurate LegalService markup helps Google read your firm's details consistently.

Final word on SEO For Law Firms In Your Agent OS

Run prompt one today, then book a free SEO strategy session when your reports show what SEO for law firms still needs.

About Julian

I'm Julian Goldie, an AI entrepreneur, SEO expert and the founder of the AI Profit Boardroom, which has 3,400+ members.

I help business owners scale with AI agents, automation and SEO.

My YouTube channel has 400,000+ subscribers, and I run Goldie Agency, a seven-figure SEO agency.

→ Get my best AI training inside the AI Profit Boardroom

Related guides on agentos.guide

→ SEO Agency For Real Estate Groundwork: 5 Agent OS Prompts

→ Hire SEO Agency Prep: Do The Groundwork In Your Agent OS

→ How To Get My Business On ChatGPT With Your Agent OS

→ Rank In Google AI Overviews: 5 Agent OS Prompts To Start

Get the whole Agent OS

The installable system behind every guide on this site — dashboard, agents, memory and pipelines — updated as new tools land, with 3,400+ members and four coaching calls a week.

Join the AI Profit Boardroom →

📺 Video notes + links to the tools 👉

🎥 Learn how I make these videos 👉

🆓 Get a FREE AI Course + Community + 1,000 AI Agents 👉

← all guides on agentos.guide