<!-- Generated by pnpm generate:skill from skills/referradar/. Do not edit. -->

---
name: referradar
description: Routes link-building requests to the right Referradar MCP tool and workflow. Use when the user asks which backlink opportunities to pursue, whether a directory or paid listing is worth its price, how to plan links for a site they own, or wants to review a tracker, mark a link acquired, or report a stale price or URL. Referradar is a free backlink opportunity library with a paid analysis and tracking layer for SaaS and developer products. Not for buying links, PBNs, link exchanges, ranking guarantees, generic SEO audits, keyword research, content writing, or scraping.
license: CC-BY-4.0
compatibility: Requires an MCP client with Streamable HTTP and a Bearer API key.
metadata:
  version: 1.2.0
---

# Referradar

Referradar turns a link-building request into a short, evidence-backed plan. It is
a free opportunity library plus a paid analysis and tracking layer for SaaS and
developer products. Route from the user's intent first; open the tool reference
only when you need inputs or failure branches.

## Setup

The MCP server is a Streamable HTTP endpoint at `https://referradar.app/mcp`.
Authenticate with a Referradar API key created in Settings:

```bash
claude mcp add --transport http referradar https://referradar.app/mcp \
  --header "Authorization: Bearer $REFERRADAR_API_KEY"
```

Every call, including library reads, needs a valid key. Quotas count
`tools/call` only: Free 100/month, Pro 1,000, Studio 5,000. Check
`get_account_usage` before a batch. A `Missing scope` result means the key lacks
a scope; ask the user to create a new key, do not work around it.

## Route by intent

Pick the first tool from the request. Do not run the whole chain when the stop
condition is already met.

| User request                              | First tool                                                                                               | Follow-up                                                                                                | Stop condition                                                                              |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| Find or compare link opportunities        | `search_resources` with niche, product type and cost ceiling                                             | `get_resource` for shortlisted slugs to confirm price, requirements and submission path                  | A shortlist is delivered; every item shows `priceCheckedAt` or says the price is unverified |
| Assess a domain before creating a project | `preview_gap_check` with the domain and product profile                                                  | None; call `create_project` only if the user explicitly asks to proceed                                  | Score and the top 3 gaps are reported                                                       |
| Build a full plan for an owned site       | `list_projects`; if empty, `create_project` after explicit confirmation                                  | `analyze_website`, then `get_checklist`                                                                  | A prioritized action list is delivered and already-owned resources are excluded             |
| Review the current tracker                | `list_opportunities`, optionally filtered by project or status                                           | `update_opportunity` only after the user confirms each change                                            | Tracker state is summarized; confirmed changes are applied                                  |
| Mark a link acquired                      | `update_opportunity` with `status: "link_acquired"` and `acquired_url`, only after explicit confirmation | If the opportunity ID is unknown, resolve it with `list_opportunities` and confirm again before updating | The row shows `link_acquired`, or the user declines                                         |
| Report an outdated price or URL           | `report_resource_issue` with the resource ID and what changed                                            | `search_resources` or `get_resource` first if the resource ID is unknown                                 | The report is queued; do not claim it is fixed                                              |

For any tool that takes `project_id` or `opportunity_id`, resolve the ID with
`list_projects` or `list_opportunities` first. Never invent an ID.

## Do not use

Referradar is for finding, assessing and tracking legitimate link opportunities.
Refuse or redirect requests for:

- buying links, paid link networks, or sponsored placements sold as editorial
- PBNs, link farms, or hidden links
- link exchanges or triangular exchanges
- ranking, traffic, or acceptance guarantees
- generic SEO audits unrelated to link opportunities
- keyword research
- content writing or guest-post ghostwriting
- scraping third-party sites or bypassing submission processes

## Ask before write

- `create_project`, `save_opportunity` and `update_opportunity` require explicit
  user agreement before you call them with `confirm: true`. State the domain,
  resource or opportunity ID, and the intended status, then wait.
- `analyze_website` writes an analysis snapshot and consumes quota. Run it when
  the user wants a plan or a refresh, not on every turn.
- `get_portfolio_score` is read-only. When no analysis exists it returns
  `score: null` and `nextAction: "analyze_website"`; it never starts a run.
- `report_resource_issue` only queues a candidate for review. It does not edit
  the resource; say "queued", not "fixed".
- Tracker writes fail on Free. Explain the Pro/Studio requirement instead of
  retrying.

## Profiles

The endpoint accepts `/mcp?profile=library|analysis|tracker|full`. Profiles are
cumulative, so discovery stays small for read-only agents.

| Profile    | Tools                                                                                                                              | Use when                                                |
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- |
| `library`  | 4: `search_resources`, `get_resource`, `preview_gap_check`, `report_resource_issue`                                                | Research and issue reporting, or a tight context budget |
| `analysis` | 10: library plus `list_projects`, `create_project`, `analyze_website`, `get_portfolio_score`, `get_checklist`, `get_account_usage` | The user wants a plan, or needs to add a website first  |
| `tracker`  | 13: analysis plus `list_opportunities`, `save_opportunity`, `update_opportunity`                                                   | The user maintains submissions and acquired links       |
| `full`     | 13: every tool allowed by the API key's scopes (default)                                                                           | One client for every workflow                           |

Recommend `library` for read-only agents and when context budget matters.
`create_project` enters at `analysis`, so a plan can start from an empty account.

## Answer shape

Keep the answer short: what fits, why, effort, price with check date when known,
evidence, and the next action. Mark unknown or stale data as unverified. End with
one clear question if a write is next.

## Failures

| Result                                        | What to do                                                  |
| --------------------------------------------- | ----------------------------------------------------------- |
| `Missing scope`                               | Ask for a new API key from Settings; stop.                  |
| HTTP 429                                      | Quota exhausted; state the plan limit and upgrade path.     |
| `Project not found`                           | Call `list_projects`; do not guess.                         |
| `Plan limit reached`                          | Explain the limit and offer the upgrade path.               |
| `Resource not found`                          | Search by name; the slug may have changed.                  |
| `Confirmation required`                       | Ask explicitly, then repeat with `confirm: true`.           |
| `Tracker is available on Pro and Studio`      | Explain the plan requirement; do not retry.                 |
| Price `null` or checked more than 90 days ago | Say the price is unverified; offer `report_resource_issue`. |

## References

- [Tool reference](references/tool-reference.md): inputs, outputs and failure branches for all 13 tools.
- [Workflows](references/workflows.md): end-to-end flows, free vs paid, and quota checks.
- [Safety](references/safety.md): boundaries, disclosure, privacy and confirmations.

---

# Tool reference

The endpoint defaults to `full`. Add `/mcp?profile=library|analysis|tracker|full`
to limit discovery; profiles are cumulative and `create_project` enters at
`analysis`. Every tool returns `content[0].text` as a JSON string; tools with an
output schema also return `structuredContent`. Business
failures return `isError: true` with one actionable line; missing scope is a tool
failure, while authentication and quota failures are HTTP 401/403/429.

"Write" means a persistent state change. "Confirm" means the input must include
`confirm: true` after the user explicitly agrees.

## `search_resources`

- **Profile minimum:** `library`
- **Access:** read; no confirmation
- **Key inputs:** `query`, `type` (directory, launch_platform, guest_post, resource_page, review, community, newsletter, podcast, open_source, partnership), `niche`, `product_type`, `audience`, `cost` (free, free_tier, paid, unknown), `max_price_cents`, `min_quality`, `difficulty`, `limit`.
- **Returns:** `{ items, total, page, pageSize }`. Items include `priceAmountCents`, `priceCurrency`, `priceCheckedAt`, `priceNote`, `verificationStatus`, `lastVerifiedAt`, `qualityGrade` and `submissionUrl`.
- **Fails:** invalid filter returns `Invalid filter: ...`; missing scope returns `Missing scope: ...`. `max_price_cents: 0` means verified free only and excludes unknown prices.

## `get_resource`

- **Profile minimum:** `library`
- **Access:** read; no confirmation
- **Key inputs:** `slug`
- **Returns:** `{ resource, paths }`. `paths` carry the public submission routes, each with label, channel, ask, cost type, price, price check date, period, expected and observed link attribute, link condition, requirement flags, review window and submission URL. Missing scalar values are `null`; enum-style unknowns are `unknown`, not zero or false.
- **Fails:** `Resource not found`; missing scope.

## `preview_gap_check`

- **Profile minimum:** `library`
- **Access:** read; nothing is persisted; no confirmation
- **Key inputs:** `domain`, `primary_niche`, `product_types`, `audiences`, `languages`, `stage` (idea, launched, growing)
- **Returns:** `{ preview }` with domain, score, gap map, top 3 actions, coverage, `limited: true`, computed time and algorithm version.
- **Fails:** `Invalid profile: ...` for a bad domain or taxonomies; missing scope. It consumes one MCP call but creates no project.

## `list_projects`

- **Profile minimum:** `analysis`
- **Access:** read; no confirmation
- **Key inputs:** `limit` (1-50, default 20)
- **Returns:** `{ items, total, page, pageSize }`; each project includes its `id`, domain, niche and stage. Use `id` as `project_id`.
- **Fails:** missing scope.

## `create_project`

- **Profile minimum:** `analysis`
- **Access:** write; **confirmation required**
- **Key inputs:** `domain`, `name`, `primary_niche`, `product_types`, `audiences`, optional `description`, `niches`, `languages`, `stage`, `market`, and `confirm: true`.
- **Returns:** `{ created: true, project }`. A duplicate domain is a success with `{ created: false, duplicateDomain: true, project, message }`.
- **Fails:** missing `confirm`; `Plan limit reached: ...` (Free 1, Pro 3, Studio 10); `Invalid project: ...`; missing scope.

## `analyze_website`

- **Profile minimum:** `analysis`
- **Access:** write (analysis snapshot); no confirmation, but consumes quota
- **Key inputs:** `project_id`
- **Returns:** `{ analysis }` with score, gap map, action plan, coverage, `limited`, computed time and algorithm version. Free plans get the limited Top 3 view.
- **Fails:** `Project not found`; missing scope. Do not run it every turn.

## `get_portfolio_score`

- **Profile minimum:** `analysis`
- **Access:** read; never writes, never starts an analysis; no confirmation
- **Key inputs:** `project_id`
- **Returns:** `{ score, coverage }` when a snapshot exists. Otherwise `{ score: null, coverage: null, nextAction: "analyze_website", message }`.
- **Fails:** `Project not found`; missing scope.

## `get_checklist`

- **Profile minimum:** `analysis`
- **Access:** read; no confirmation
- **Key inputs:** `project_id`, `limit` (1-50, default 15)
- **Returns:** `{ project: { id, domain, name }, items }`. Items include match score, effort, reason, gap flags, verification evidence and submission URL; already-owned resources are excluded. Items do not carry price or requirements; call `get_resource` for those before quoting a price.
- **Fails:** `Project not found`; missing scope.

## `list_opportunities`

- **Profile minimum:** `tracker`
- **Access:** read; no confirmation
- **Key inputs:** optional `project_id`, optional `status` (saved, submitted, approved, link_acquired, rejected, expired), `limit` (1-50, default 20)
- **Returns:** `{ items, total, page, pageSize }`. Each opportunity includes its `id`, project, resource summary, status, notes, submitted/approved/acquired timestamps and `acquiredUrl`.
- **Fails:** missing scope. A Free account can read rows but cannot write them.

## `save_opportunity`

- **Profile minimum:** `tracker`
- **Access:** write; **confirmation required**
- **Key inputs:** `project_id`, `resource_id`, optional `status` (default `saved`), optional `note`, optional `acquired_url`, and `confirm: true`.
- **Returns:** `{ opportunity }`. The project + resource pair is upserted, so saving an existing pair updates it.
- **Fails:** missing or false `confirm`; `Tracker is available on Pro and Studio`; `Invalid opportunity: ...`; `Project or resource not found for this account`; missing scope.

## `update_opportunity`

- **Profile minimum:** `tracker`
- **Access:** write; **confirmation required**
- **Key inputs:** `opportunity_id`, `status` (required), optional `acquired_url`, optional `note`, and `confirm: true`.
- **Returns:** `{ opportunity }`.
- **Fails:** missing or false `confirm`; `Tracker is available on Pro and Studio`; `Opportunity not found`; missing scope. Use `status: "link_acquired"` with the live URL when a link goes live.

## `report_resource_issue`

- **Profile minimum:** `library`
- **Access:** write to the review queue only; no confirmation
- **Key inputs:** `resource_id`, `issue` (5-2,000 characters)
- **Returns:** `{ queued: true, candidate }`. This creates an admin review candidate; it does not edit the resource.
- **Fails:** `Resource not found`; missing scope. Say "queued", never "fixed", and do not retry to force an update.

## `get_account_usage`

- **Profile minimum:** `analysis`
- **Access:** read; no confirmation
- **Key inputs:** none
- **Returns:** `{ plan, limits, usage, remaining }` for projects and monthly MCP calls.
- **Fails:** missing scope. Use it before a batch of five or more calls.

---

# Workflows

These flows match the router in `SKILL.md`. Each ends at the stated stop
condition; do not continue into writes without a new user request.

## Free vs paid

| Capability                                                | Free  | Pro   | Studio |
| --------------------------------------------------------- | ----- | ----- | ------ |
| Library search, detail and preview                        | Yes   | Yes   | Yes    |
| Projects                                                  | 1     | 3     | 10     |
| MCP calls per month                                       | 100   | 1,000 | 5,000  |
| `analyze_website` action plan depth                       | Top 3 | Full  | Full   |
| Tracker writes (`save_opportunity`, `update_opportunity`) | No    | Yes   | Yes    |

Library data is free to read, but every MCP call still needs an API key and
counts against the plan quota. Paid listings are never presented as free.
`save_opportunity` and `update_opportunity` return
`Tracker is available on Pro and Studio` on Free.

## Quota checks

- Only `tools/call` counts. `initialize`, `tools/list` and `ping` are free.
- Call `get_account_usage` before a batch of five or more calls, or when the
  user asks for a broad comparison.
- `analyze_website` writes a snapshot and costs one call. `get_portfolio_score`
  is read-only and never starts a run; if no snapshot exists it returns
  `nextAction: "analyze_website"`.
- On HTTP 429, stop and state the monthly limit and upgrade path. Do not retry
  in a loop or suggest bypassing the quota.

## 1. Find and compare opportunities

1. Collect the product profile: niche, product type, audience, language, stage
   and budget. If the user has no budget, show both free and paid options.
2. Call `search_resources`. For a free-only pass use `cost: "free"` or
   `max_price_cents: 0`; for a ceiling use a value such as `max_price_cents:
   5000`. A ceiling excludes unknown prices, so say that.
3. Pick three to five candidates and call `get_resource` for each. Each detail
   call is a separate quota unit; do not fetch the whole result set.
4. Compare price (`priceAmountCents` + `priceCurrency`), `priceCheckedAt`,
   requirements, expected link attribute, verification status and effort.
5. Deliver the shortlist with the check date per item. If `priceCheckedAt` is
   `null` or older than 90 days, label the price unverified and offer
   `report_resource_issue`.
6. Stop when the shortlist is delivered. Only offer to save rows if the user has
   a project and tracker access, and only after explicit confirmation.

## 2. Assess a domain before creating a project

1. Collect domain, primary niche, product types, audiences, languages and stage.
2. Call `preview_gap_check`. It returns a limited preview only: top 3 gaps and
   top 3 actions, with no project created and nothing persisted.
3. Present the score, grade and top gaps. Say clearly that this is a preview,
   not a saved analysis.
4. Stop. If the user wants the full plan, ask whether to create a project; only
   then continue to workflow 3 with `create_project` and `confirm: true`.

## 3. Full plan for an owned site

1. Call `get_account_usage` when the user has not shared their plan, or when the
   remaining quota may be low.
2. Call `list_projects`. If it is empty, collect domain, name, niche, product
   types, audiences, languages and stage, then ask for confirmation before
   `create_project` with `confirm: true`. Free allows one project; a duplicate
   domain returns the existing project instead of creating another.
3. Call `analyze_website` for the chosen `project_id`. Note the score, weakest
   dimension, top gaps and `limited`. Free receives the Top 3 view.
4. Call `get_checklist`. Already-owned resources are excluded; take the first
   three actions.
5. Checklist items do not carry price or requirements. For each shortlisted
   action, call `get_resource` on its slug when price or eligibility matters,
   then report match score, effort, price with check date, evidence,
   requirements and the exact submission step. Those calls consume quota; fetch
   only the three you will present.
6. Ask which actions to track. After explicit confirmation, call
   `save_opportunity` with `confirm: true` and `status: "saved"`. On Free,
   explain that the tracker requires Pro or Studio instead.
7. Stop with a short checklist and a follow-up date. Do not re-run
   `analyze_website` "just in case".

## 4. Review the current tracker

1. Call `list_opportunities`, optionally filtered by `project_id` or `status`.
2. Summarize counts by status and flag stale rows: submitted long ago without a
   result, approved without an acquired URL, or saved with no next action.
3. Propose each change one at a time and ask for confirmation. Do not batch
   confirmations the user has not seen.
4. After agreement, call `update_opportunity` with the new `status`, optional
   `acquired_url`, optional `note`, and `confirm: true`.
5. Stop after the summary and any confirmed updates. Re-analyze only if the user
   asks for a refreshed plan.

## 5. Mark a link acquired

1. Resolve the opportunity with `list_opportunities` if the ID is unknown. Ask
   for the live URL if the user has not provided it.
2. Confirm the exact row, the status `link_acquired`, and the URL.
3. Call `update_opportunity` with `opportunity_id`, `status: "link_acquired"`,
   `acquired_url` and `confirm: true`. This requires Pro or Studio.
4. Stop. Do not mark anything submitted or acquired without explicit agreement.

## 6. Report an outdated price or URL

1. If the resource ID is unknown, find it with `search_resources` and confirm
   with `get_resource`.
2. Compare what the user observed with the record: price, check date,
   submission URL, requirements or eligibility.
3. Call `report_resource_issue` with the `resource_id` and a specific `issue`
   (5-2,000 characters). Include what changed and where it was seen.
4. Tell the user the report is queued for review. Do not claim it is fixed, do
   not give a turnaround promise, and do not edit the resource or retry.
5. Stop. The admin review queue owns the change.

---

# Safety

Referradar gives evidence-backed opportunity guidance. It does not guarantee
outcomes and does not sell links. Apply these boundaries before giving advice.

## No ranking promises

- Referradar scores portfolio coverage, not Google rankings. Never promise
  rankings, traffic, DA/DR movement, indexing or acceptance.
- Third-party sites decide whether to publish. Say that plainly instead of
  implying a submission will succeed.
- Do not present a high match or quality score as a ranking outcome.

## No link buying or manipulation

- Do not recommend or arrange paid link networks, PBNs, link farms, link
  exchanges, triangular exchanges, hidden links or cloaked placements.
- Do not suggest buying a sponsored placement and presenting it as editorial.
- A legitimate paid listing must be disclosed. Tell the user the publisher
  should mark the link `rel="sponsored"` or `rel="nofollow"` where required.
- Do not scrape sites, bypass submission requirements, or automate submissions
  on the user's behalf. The user submits; Referradar helps choose and track.

## Price and evidence honesty

- Always quote `priceAmountCents` with `priceCurrency` and disclose
  `priceCheckedAt` when recommending a paid resource.
- `null` price means unknown, not free. A `0` amount is verified free only when
  the record supports it.
- Treat a price or URL checked more than 90 days ago as stale. Say it is
  unverified and offer `report_resource_issue`.
- Do not describe a paid path as free, and do not hide a paid option inside a
  free shortlist.
- Prefer `process_verified`, `link_verified` or `community_confirmed`. Never
  present an `unverified` resource as ready to submit.
- Submission URLs, prices, requirements and dates come from tool output. If a
  field is missing, say so; do not fill it in.

## Confirmations and writes

- `create_project`, `save_opportunity` and `update_opportunity` require explicit
  user agreement before calling with `confirm: true`. Show the domain, resource
  or opportunity ID and the intended change; wait for a clear yes.
- `analyze_website` writes an analysis snapshot and consumes quota. Run it only
  when the user wants a plan or refresh.
- `get_portfolio_score` is read-only. If no analysis exists it returns
  `score: null` and `nextAction: "analyze_website"`; it does not write.
- `report_resource_issue` only queues a candidate for review. Never say it was
  fixed, never promise a turnaround, and never retry to force a change.
- Tracker writes require Pro or Studio. Explain the plan boundary instead of
  retrying or working around it.

## Privacy and least data

- Never echo the API key, bearer token, account ID or private project data.
- Do not repeat a key in logs, examples or error summaries.
- Do not send library data, project data or user details to unrelated
  third-party services.
- Ask only for the profile fields a tool needs; do not collect extra personal
  data.

## Quota and failure honesty

- On HTTP 429, stop and state the monthly limit and upgrade path. Do not retry in
  a loop or suggest bypassing the quota.
- On `Missing scope`, ask the user to create a new key in Settings. Do not
  suggest changing scopes in the database.
- Do not fabricate a project ID, opportunity ID, resource ID, price or date to
  get past an error.
- If the user asks for something outside these boundaries, refuse briefly and
  redirect to a legitimate alternative.
