# Install our curated package of SEO skills

Set up Google Search Console and Analytics with your agent. Check what Google indexes, see which pages drive organic traffic, and set a baseline for mentions and citations in AI answers.

## Downloads

- [Download the SEO skills package](https://seotoolsforagents.com/downloads/seo-tools-for-agents-skills.zip)
- [Download the SEO and AEO replay pack](https://seotoolsforagents.com/examples/codex-seo-first-checks.json)

## What you need

- A Codex project you can open locally and a public website you manage.
- A Google account with access to the exact Search Console property and Viewer access to the GA4 property, or authorized exports for a first offline check.
- For a new local Google connection, a Google Cloud project and uvx. Local GA4 setup also uses the Google Cloud CLI.
- One page to inspect, one completed date range, and one question customers ask.

## Steps

<a id="install"></a>

### 1. Install the SEO skills in your project

Open the Codex project for the site you want to check. Clone our public repository or download and unzip the skills package. Copy the folders from its skills/ directory into .agents/skills/ in your project. Keep each folder intact, including its supporting files. For example, your onboarding file should be at .agents/skills/seo-tools-for-agents/SKILL.md. Start a new chat in that project, type $ in the message box and select seo-tools-for-agents. Check that the other skills from the package appear in the selector. The optional starter plugin offers a quick way to install the onboarding skill and public directory connection.

- [Download the SEO skills package](https://seotoolsforagents.com/downloads/seo-tools-for-agents-skills.zip)
- [Browse the skills on GitHub](https://github.com/GoliathMarketing89/seo-tools-for-agents-skills)
- [Open the starter plugin instructions](https://seotoolsforagents.com/connect.md#codex-install)

<a id="directory"></a>

### 2. Add the public SEO Tools for Agents directory

The public directory gives Codex playbooks and workflows. It works without a Google account. Skip the add command if you already installed the starter plugin or configured the directory. After adding it, open a new chat in the same Codex client. Ask Codex to find and open the indexing triage playbook using the directory. A successful fetch confirms the connection. The server list only confirms that the entry is configured. If the fetch fails, give Codex the Markdown link and continue.

Add the directory and list configured servers

```sh
codex mcp add seo-tools-for-agents --url https://seotoolsforagents.com/mcp
codex mcp list
```

- [Open the indexing triage playbook in Markdown](https://seotoolsforagents.com/playbooks/indexing-triage.md.md)

<a id="google-connection-check"></a>

### 3. Check for working Google connections before installing anything

In the same Codex project, ask Codex to use any existing read-only Google tools to find your exact Search Console property and read the name and time zone for your GA4 property. If both reads succeed, go straight to the first SEO check. If one succeeds, set up only the other. For a local install, run uvx --version in the terminal and gcloud --version if you need GA4. If either command is missing, install it from the links below and reopen the terminal. If the command works there but the Codex desktop app cannot start it, use the executable’s absolute path in your MCP configuration. You can use the replay pack or let Codex check the public page while you wait for Google access.

- [Install uv, which includes uvx](https://docs.astral.sh/uv/getting-started/installation/)
- [Install the Google Cloud CLI](https://docs.cloud.google.com/sdk/docs/install-sdk)
- [Download the SEO and AEO replay pack](https://seotoolsforagents.com/examples/codex-seo-first-checks.json)

Prompt for the Google connection check

Use the read-only Google tools already available in this Codex project. My site is [domain], and my GA4 property ID is [numeric ID, if known]. Call Search Console to verify the exact property key and GA4 to return the matching property's name and reporting time zone. If more than one property could match, show the candidates before querying site data. For each connection, tell me which read succeeded or what blocked it. If access is missing, continue with the public page check or tell me exactly which export would let you proceed.

<a id="search-console"></a>

### 4. Connect Google Search Console with read-only access

Start by opening the intended property in Search Console using the Google account you want Codex to use. If a read-only connector is already available, reuse it and verify one property read. For a local install, enable the Search Console API in your Google Cloud project, create a Desktop OAuth client, and add yourself as a test user if the consent screen is in testing. Save the downloaded client JSON outside the project. The command uses the community mcp-gsc connector and the version documented in our server guide. Replace the path with your absolute file path. Leave GSC_ALLOW_DESTRUCTIVE unset and review the consent screen for read-only access. If uvx is missing from PATH, provide its absolute path. In a new Codex chat, ask it to inspect the connector capabilities and list the authorized properties. Check the exact key: a domain property uses sc-domain:example.com, and a URL-prefix property includes its scheme and exact prefix.

Add the local Search Console connector

```sh
codex mcp add gsc --env "GSC_OAUTH_CLIENT_SECRETS_FILE=/absolute/path/client_secret.json" -- uvx mcp-search-console@0.4.2
codex mcp list
```

- [Search Console MCP setup and troubleshooting](https://seotoolsforagents.com/mcp-servers/google-search-console.md)
- [Google’s Search Console API](https://developers.google.com/webmaster-tools/about)

<a id="analytics"></a>

### 5. Connect GA4 and match the property and reporting time zone

Use the GA4 property receiving visits from this website. Find its numeric ID under Admin → Property details. If the connection check already returned the right property, continue to the SEO check. For Google’s local Analytics MCP, enable the Analytics Admin and Data APIs in your Google Cloud project. Sign in with a Google identity that has GA4 property access and create Application Default Credentials (ADC) with the Analytics read-only scope. This login is separate from Search Console setup. Copy the absolute credentials path printed by gcloud and keep that file outside your project. If your account needs a custom OAuth client file or a quota project, follow Google’s linked instructions. Replace both placeholders in the connector command, open a new Codex chat, and ask it to read the property's name and time zone before running a report.

Enable GA4 APIs and sign in with ADC

```sh
gcloud services enable analyticsadmin.googleapis.com analyticsdata.googleapis.com --project=YOUR_PROJECT_ID
gcloud auth application-default login --scopes="https://www.googleapis.com/auth/analytics.readonly,https://www.googleapis.com/auth/cloud-platform"
```

Add the GA4 connector in Codex

```sh
codex mcp add google-analytics --env "GOOGLE_APPLICATION_CREDENTIALS=/absolute/path/application_default_credentials.json" --env "GOOGLE_CLOUD_PROJECT=YOUR_PROJECT_ID" -- uvx --from analytics-mcp google-analytics-mcp
codex mcp list
```

- [Google’s full Analytics MCP setup](https://developers.google.com/analytics/devguides/MCP)

<a id="first-seo-check"></a>

### 6. Run your first SEO check on one page

Pick an exact URL you care about, such as the page that sells your main service. Ask Codex to inspect it in Search Console and log the recorded index status and Google-selected canonical when available. Then use the same property for a Web Search Performance report with an exact page filter and a completed date range ending several days ago. Compare one row or total in the Google interface using the same dates, URL scope, and filters. We ran both reads for the SEO Tools for Agents homepage. Google reported Submitted and indexed. Our November 1–30 Performance query for that exact URL returned two impressions and zero clicks. Indexing and search activity answer separate questions, so the next job was understanding what the page was appearing for. If no connected Google connector is available, run a public page check and use an authorized Performance export or an inspection from the site owner.

![Search Console evidence view for the SEO Tools for Agents homepage, showing zero clicks, two impressions and an indexed verdict.](https://seotoolsforagents.com/brand/guides/codex-search-console.webp)

Search Console on our own site. Recreated from the live connector responses.

Prompt for the first SEO check

Use $seo-technical-audit in this Codex project. My website is [site] and the page I want to check is [exact URL]. Use only authorized read-only tools. Verify the exact Search Console property. Inspect the URL, report the indexed state and selected canonical when available, then run a finalized Web Performance report for that exact URL with fixed dates ending several days ago. Show clicks and impressions with the property, filters and source. If the connector is unavailable, run a public HTML or scanner check, ask for the smallest useful export, and keep Google’s index state unknown until you have direct evidence. Return one next check.

<a id="ga4-check"></a>

### 7. Verify an organic landing-page report in GA4

Run a GA4 report with landingPage and sessions, filtered to Organic Search on sessionDefaultChannelGroup. Sort by sessions and return up to three rows. Use a completed period when GA4 was already collecting data. Use the Search Console dates when both properties have data for that period. Compare a returned row or total in Analytics with the same dates, dimension and filter. Search Console clicks measure activity in Google search. GA4 sessions use the property’s time zone and depend on tag coverage, consent and channel rules. In our clean-project test, GA4 answered successfully with zero November rows because the property was created on December 2. An empty report can confirm access. Check the property start date and try an unfiltered report for a completed period before drawing traffic conclusions. The worked example shows what a populated report looks like.

![Worked Analytics landing-page report with Organic Search selected and three sample rows for a roofing site.](https://seotoolsforagents.com/brand/guides/codex-ga4.webp)

GA4 practice report. The sample shows three returned rows and 21 matching rows.

- [Download the Analytics request, response, and expected handoff](https://seotoolsforagents.com/examples/seo-mcp-first-read.json)
- [Compare Search Console clicks with GA4 sessions](https://seotoolsforagents.com/workflows/compare-search-console-clicks-and-ga4-sessions.md)

<a id="first-aeo-check"></a>

### 8. Run your first AEO check on one customer question

Pick one discovery question a real customer asks without naming your business. A roofer might try “Which roofers repair leaking flat roofs in Austin?” Run just that question in a separate new chat on an answer surface you can use, such as ChatGPT Search or Codex with live web search. Keep the brand, domain and project instructions out of the sampling chat. Copy the answer and its source links back into the project chat. Ask Codex to record the question, surface, date, market, brand mention, and any clickable citation to your site. Compare one cited page with a relevant page on your site, then save one improvement and the exact question to rerun. In our clean-project test, one unbranded Codex live-search answer named and cited other options. We recorded the result for that question and surface.

- [Run the local ChatGPT Search workflow](https://seotoolsforagents.com/workflows/test-local-visibility-in-chatgpt-search.md)
- [See a downloadable AI visibility baseline](https://seotoolsforagents.com/compare/ai-search-visibility-tools.md)

Prompt for the first AEO check

Use $seo-ai-visibility in this project for [brand, domain, market]. My customer question is [question]. Ask for the dated answer and its source links from a separate chat that received only the question. If I have not run it yet, give me the exact question to paste into the answer surface. Record the exact question, surface, date and market. Count a brand mention and a clickable citation to my site separately. Compare one cited page with a relevant page on my site. Return one evidence-backed improvement and the question to rerun. If I use the replay pack, label it as practice. Leave surfaces without an observation unmeasured.

<a id="troubleshoot"></a>

### 9. Fix setup problems and repeat the checks that matter

If a skill is missing, check its full path and open a new chat in the same project folder. Restart Codex if the list still shows an older install. If a configured server has no tools, check the executable path and open a new chat in the client that owns that connection. If a Google read fails, verify the signed-in account, API enablement, property access and credential file for that connector. For an empty report, check when the property began collecting data and test the date range and filter separately. Use the replay pack or an authorized export while you resolve the connection. Save one verified result before scheduling recurring checks.

- [Set up weekly SEO reporting](https://seotoolsforagents.com/connect.md#weekly-report)
- [Review SEO agent permissions](https://seotoolsforagents.com/guides/seo-agent-permissions.md)

## Check your setup with a three-part evidence handoff

Use the replay pack to practice without connecting accounts. The included results distinguish data Google actually returns from a fictional AI answer used to practice recording mentions and sources.

| Check | What to capture | Next action |
| --- | --- | --- |
| Search Console | Exact URL, index status, date range, clicks and impressions | Match the exact URL and verify one row or total in the Google interface |
| GA4 | Property, time zone, filter, sessions and returned row count | Match one Organic Search landing page in GA4 |
| AEO | Exact question, surface, date, brand mention and cited URL | Inspect one cited page and save the unchanged question for a repeat run |

## Prompt for your agent

Set up SEO Tools for Agents in my current Codex project for [site]. Check which skills from the SEO Tools for Agents package are available in this project. Help me install the downloadable skills if needed. Discover existing SEO Tools for Agents, Search Console and Analytics connections and reuse authorized read-only tools. Verify the exact Search Console property and GA4 property before querying. Check my priority URL in Search Console, report finalized Web clicks and impressions for a completed window, and run an Organic Search landing-page report only if GA4 access is verified. For AEO, give me one unbranded customer question to run in a separate chat and use the dated answer and source URLs I bring back. Return separate evidence for each check, one next step, and any missing access. Ask before editing, buying data, or scheduling anything.

## Tools for this job

- [Google Search Console](https://seotoolsforagents.com/mcp-servers/google-search-console.md) — Find the queries and pages driving Google Search clicks and impressions, and check specific URLs with URL Inspection.
- [Google Analytics](https://seotoolsforagents.com/mcp-servers/google-analytics.md) — Use GA4 reports to compare landing pages and traffic channels by sessions and key events.

## Sources

- [OpenAI documentation for installing and using Codex skills](https://learn.chatgpt.com/docs/build-skills)
- [OpenAI documentation for adding MCP servers in Codex](https://learn.chatgpt.com/docs/extend/mcp?surface=cli)
- [Google’s official Analytics MCP setup](https://developers.google.com/analytics/devguides/MCP)
- [Google’s guide to comparing Search Console and Analytics](https://developers.google.com/search/docs/monitor-debug/google-analytics-search-console)
- [mcp-gsc source and setup](https://github.com/AminForou/mcp-gsc)

## Where to go next

- [See how SEO Tools for Agents works](https://seotoolsforagents.com/how-it-works.md)
- [Follow the quick connection guide](https://seotoolsforagents.com/connect.md)
- [Compare SEO data providers](https://seotoolsforagents.com/compare/seo-data-providers.md)
- [Build an AI search visibility baseline](https://seotoolsforagents.com/playbooks/ai-search-visibility.md)
