# Install the Sonjoo agent skill

> Install and verify the sonjoo-audit skill for Codex, Claude Code, and Google Antigravity using npx or a plugin marketplace.

Canonical documentation: <https://sajaddehshiri.ir/sonjoo-seo-audit/ai/agent-skills/>

Install the `sonjoo-audit` skill to let a compatible coding agent run audits, review reports, and cite finding evidence. It applies to authorized technical SEO, including crawlability, indexability, broken internal links, and pre-deployment checks. It can also explain existing Sonjoo reports. For keyword research or general SEO strategy, choose a workflow designed for that task. For a fresh audit, install the [Sonjoo CLI](https://sajaddehshiri.ir/sonjoo-seo-audit/start/install/) or connect an existing [local MCP server](https://sajaddehshiri.ir/sonjoo-seo-audit/ai/mcp/). To check a CLI setup, run `sonjoo --version` in the agent's terminal.

## Install with npx

Use Node.js 22.20 or later and run this from the project where you want to use the skill.

```sh
npx --yes skills@1.9.1 add sajaddp/sonjoo-seo-audit --skill sonjoo-audit --agent codex claude-code antigravity --copy --yes
```

Keep the agent names you need after `--agent`. Add `-g` for a personal install that works across projects. To update a project install, run `npx --yes skills@1.9.1 update --project sonjoo-audit` from that project. Browse the [Skills.sh listing](https://www.skills.sh/sajaddp/sonjoo-seo-audit/sonjoo-audit) to inspect the published skill.

## Install from a plugin marketplace

Choose one installation method per client.

In a **Claude Code** session, enter the following commands.

```text
/plugin marketplace add sajaddp/sonjoo-seo-audit
/plugin install sonjoo@sonjoo
```

In a terminal with the **Codex CLI**, run the following commands.

```sh
codex plugin marketplace add sajaddp/sonjoo-seo-audit
codex plugin add sonjoo@sonjoo
```

## Install from a local checkout

Replace the repository argument with the absolute checkout path when adding a marketplace. For `npx`, point it at the checkout's `plugins/sonjoo` directory.

```sh
npx --yes skills@1.9.1 add /path/to/sonjoo-seo-audit/plugins/sonjoo --skill sonjoo-audit --agent codex claude-code antigravity --copy --yes
```

For a manual install, copy the entire `plugins/sonjoo/skills/sonjoo-audit/` directory into the appropriate destination.

| Client             | Project           | Personal                   |
| ------------------ | ----------------- | -------------------------- |
| Codex              | `.agents/skills/` | `~/.agents/skills/`        |
| Claude Code        | `.claude/skills/` | `~/.claude/skills/`        |
| Google Antigravity | `.agents/skills/` | `~/.gemini/config/skills/` |

## Run your first audit with the skill

Start a new client session after installing. Select `sonjoo-audit` from the Codex `$` skill picker, enter `/sonjoo:sonjoo-audit` in Claude Code when installed from the marketplace, or enter `/sonjoo-audit` in Antigravity or Claude Code when installed with `npx`.

```text
Check the technical SEO of https://example.com/ as a single page. Report findings with the rule ID,
affected URL, and observed evidence. Keep this audit out of saved history.
```

Replace the example URL with a page you have permission to audit. The skill starts with a single page unless you ask it to crawl.

## Verify the package in a client

Run `npx --yes skills@1.9.1 list` for a project skill, `npx --yes skills@1.9.1 list -g` for a personal skill, `claude plugin list` for a Claude Code plugin, or `codex plugin list` for a Codex plugin. From a Sonjoo checkout, start the same [local fixture used in the first audit guide](https://sajaddehshiri.ir/sonjoo-seo-audit/start/first-audit/). In a fresh client session, ask for the title finding on `http://127.0.0.1:18765/healthy?remove-title=1`. The answer should cite `core-title-present`, the affected URL, and the missing title evidence.

For deeper checks, ask for a two-page crawl from `http://127.0.0.1:18765/crawl-branch/` and verify the client reports two of two attempted pages measured. Next, provide a [sample JSON export](https://sajaddehshiri.ir/sonjoo-seo-audit/guides/reports-and-coverage/#inspect-a-sample-crawl-report) and verify the client can summarize the evidence from the file alone. Try a keyword brainstorming request and verify it does not start an audit.

See the [MCP setup guide](https://sajaddehshiri.ir/sonjoo-seo-audit/ai/mcp/) if you want the skill to use a configured local server. See the [repository skill source](https://github.com/sajaddp/sonjoo-seo-audit/tree/main/plugins/sonjoo/skills/sonjoo-audit) and the [Agent Skills specification](https://agentskills.io/specification).
