company logo

Help center

Go to Rank Prompt
Powered by
All collectionsIntegrationsConnect Claude Code

Connect Claude Code

Install the Rank Prompt skill for Claude Code to read your visibility data and implement SEO improvements directly in your codebase.

Connect Claude Code

Claude Code is Anthropic's CLI coding tool that works inside your code repositories. The Rank Prompt skill teaches Claude Code to read your visibility reports and citations, then turn the findings into real code changes in your website repo - content edits, technical SEO fixes, structured data, and more.

It runs on your monthly API request quota; the only credits used are for credit-consuming actions like running a new report. This feature uses the Developer API.

What This Enables

With the Rank Prompt skill installed, Claude Code can:

  • Pull your latest visibility report for any brand

  • List which prompts you ranked for and which you missed

  • Read actionable citation opportunities

  • Generate content, schema markup, and meta changes directly in your repo

  • Run a new report and wait for results - all within a single Claude Code session

The Loop

Step

What Happens

Reports

Run a visibility report across ChatGPT, Perplexity, Gemini, and Claude

Suggestions

Each report returns improvement suggestions and the citations AI relies on

Claude Code ships

The skill turns suggestions into content, SEO, and schema changes in your repo

Measure

Re-run the report to confirm your visibility score moved

Requirements

  • Claude Code installed (claude.ai/code)

  • A Rank Prompt plan with Developer API access (included on any paid dashboard plan, or a standalone API plan) - see Developer API

  • A Rank Prompt API key

Setup

Step 1: Get an API Key

  1. Confirm your plan includes Developer API access (every paid dashboard plan does; standalone API plans are under Settings → Developers → Plans)

  2. Go to Settings → Developers → API Keys

  3. Click Create API Key, name it, and copy it once

Set your key as an environment variable before running Claude Code:

# macOS / Linux
export RANKPROMPT_API_KEY="rp_live_xxx"

# Windows (PowerShell)
$env:RANKPROMPT_API_KEY = "rp_live_xxx"

Step 2: Install the Skill

Run the install command from inside your website repository. This downloads the skill files into .claude/skills/rankprompt/ so Claude Code picks them up automatically.

macOS / Linux:

mkdir -p .claude/skills/rankprompt && \
curl -fsSL https://app.rankprompt.com/skills/rankprompt/skill.md \
  -o .claude/skills/rankprompt/skill.md && \
curl -fsSL https://app.rankprompt.com/skills/rankprompt/tools.ts \
  -o .claude/skills/rankprompt/tools.ts

Windows (PowerShell):

New-Item -ItemType Directory -Force .claude/skills/rankprompt | Out-Null
Invoke-WebRequest https://app.rankprompt.com/skills/rankprompt/skill.md `
  -OutFile .claude/skills/rankprompt/skill.md
Invoke-WebRequest https://app.rankprompt.com/skills/rankprompt/tools.ts `
  -OutFile .claude/skills/rankprompt/tools.ts

You can also download the files manually from Settings → Connect Claude Code → expand "Prefer to download the files manually?"

To install globally (available in all your repos), use ~/.claude/skills/rankprompt/ instead.

Step 3: Run Claude Code in Your Website Repo

Open your website repository in Claude Code and try prompts like:

Use the rankprompt skill: pull my latest visibility report and list the
top 3 things to fix on this site, then implement the first one.

Read my actionable Rank Prompt citations and draft outreach emails for the
three highest-scoring domains that don't link to us yet.

Run a new Rank Prompt report for my brand, wait for it, and turn the AI
suggestions into a PR with content and structured-data changes.

Because Claude Code is inside your repo, it opens real file edits and can create pull requests that address each finding - with the source report linked.

Accessing the Setup Page

Go to Settings → Connect Claude Code inside the app. The page shows:

  • Install commands for your chosen scope (this repo or all projects)

  • Links to create or manage your API key

  • Manual download option for the skill files

Credit Costs

The Claude Code integration itself has no extra credit cost. Requests made through the API count against your plan's monthly API request quota. Running new visibility reports via the API consumes regular Rank Prompt credits as normal.

Action

Cost

API requests (read data)

Monthly API request quota

Running a new report via API

Regular credits

Plan Requirements

Developer API access is required, and it is included with every paid dashboard plan. If you do not have a dashboard plan, a standalone API plan also works.

Base Plan

Can Use Claude Code Integration

Starter

Yes (API access included)

Pro

Yes (API access included)

Agency

Yes (API access included)

Agency Plus

Yes (API access included)

See Developer API for request limits and standalone API plan pricing.

Frequently Asked Questions

Do I need to install the skill in every project?

No. You can install the skill globally (to ~/.claude/skills/rankprompt/) so it is available in all your Claude Code projects. The setup page in Rank Prompt provides the global install command.

Does this work with multiple brands?

Yes. The skill can work with any brand in your account. Specify a brand when prompting Claude Code and it fetches data for that brand.

Will the skill modify my live site directly?

Claude Code edits files in your local repository. Changes are not deployed unless you commit and push them, following your normal deployment workflow.

What happens if my API key expires or is revoked?

API calls will return authentication errors. Create a new key in Settings → Developers → API Keys and update the RANKPROMPT_API_KEY environment variable.

Can I see what API requests Claude Code is making?

Yes. The Settings → Developers → Overview tab shows your recent request history, including requests made by Claude Code.

Next Steps

  • Developer API - Request limits and key management

  • API Reference - Full endpoint documentation

  • Understanding Visibility Score - What Claude Code is reading

Need Help?

Contact us at [email protected]

Did this answer your question?
😞
😐
😁