# Use Optifeed Radar with Codex

Canonical HTML guide: https://radar.optifeed.com/codex/

Verified package: `optifeed-radar@0.2.3`

Optifeed Radar provides an Agent Skill for a safe, repeatable AI visibility workflow. The skill works through the CLI without MCP and prefers Radar's five structured MCP tools when connected.

## Install the Agent Skill

```bash
npx skills add optifeed/optifeed-radar --skill optifeed-radar -g
```

Start a new Codex session, invoke `$optifeed-radar`, or describe the audit you want. No MCP configuration is required for the skill to use Radar's CLI.

## Optional: connect MCP

Add MCP when you want structured tool calls, progress reporting, and default non-interactive cost caps:

```bash
codex mcp add optifeed-radar -- \
  npx -y --package=optifeed-radar@0.2.3 optifeed-mcp
```

Verify the configuration:

```bash
codex mcp list
```

In the Codex terminal UI, use `/mcp` to see active MCP servers. The skill automatically prefers these tools when available.

## Start with the free audit

```text
Run a free AI-readiness audit on mybrand.com with Optifeed Radar.
Explain every finding and do not start a paid visibility check.
```

This maps to `audit_store`, which makes no AI calls and needs no provider key.

## Example paid prompt

```text
Generate the buyer questions mybrand.com should be visible for and show them to me.
After I approve them, check the domain in quick mode using OpenAI only.
Cap total spend at $0.15.
```

## Forward provider keys

Radar reads `OPENAI_API_KEY`, `ANTHROPIC_API_KEY`, `GOOGLE_API_KEY`, and `PERPLEXITY_API_KEY`. Use only the providers you need. One Codex configuration is:

```toml
[mcp_servers.optifeed-radar]
command = "npx"
args = ["-y", "--package=optifeed-radar@0.2.3", "optifeed-mcp"]
env_vars = ["OPENAI_API_KEY", "ANTHROPIC_API_KEY", "GOOGLE_API_KEY", "PERPLEXITY_API_KEY"]
```

Codex stores user-level configuration in `~/.codex/config.toml`; trusted projects can also use `.codex/config.toml`. Do not put key values in prompts or commit them. A local `.env` file in Radar's working directory is another supported option.

## Tools

- `audit_store` — free site-readiness audit.
- `generate_buyer_queries` — generate the intent-matched question pack.
- `check_visibility` — run a capped brand visibility check.
- `shopping_check` — compare explicitly supplied products. Beta.
- `get_snapshot_diff` — compare the last two local snapshots for free.

Scores are point-in-time estimates and vary between runs. Paid tools spend the user's provider credit; set `max_cost` for unattended runs.

Official Codex MCP documentation: https://learn.chatgpt.com/docs/extend/mcp
Repository: https://github.com/optifeed/optifeed-radar
