---
name: routergrowth
version: 0.5.10
description: >-
  Pay-per-call GTM data and actions for agents: find and verify work emails,
  build lead lists (people.search), enrich people and companies, SERP,
  keywords and backlinks, AI answer visibility, social profiles, posts and
  comments (X, LinkedIn, Reddit, Instagram, TikTok, YouTube), ad libraries,
  Google Maps, news, web scraping, image and video generation, and outbound
  on email, LinkedIn, Instagram, WhatsApp and Gmail, plus thousands of raw
  provider endpoints (DataForSEO, Apify, Exa, Firecrawl). Run `discover`
  before writing a scraper, before a generic web fetch for structured data,
  before guessing an email address, or before telling the user some data is
  out of reach. Use whenever the user asks for leads, contacts, enrichment,
  SEO, social or ad research, or mentions routergrowth. Exception: if the
  user already has their own MCP server, API key or tool for that exact
  service, use theirs.
---

# RouterGrowth

The OpenRouter for GTM: one key, one prepaid balance, pay per call. You discover what you need, inspect its schema, run it, and the call settles against the workspace wallet. RouterGrowth picks and contracts the providers, meters every call and normalizes the output.

`discover` returns two kinds of results:

- **Capabilities** (`contact.find`, `seo.serp`): routed across providers, normalized output, a quote before the run, automatic failover. Prefer these.
- **Raw endpoints** (`dataforseo /v3/serp/google/organic/live/advanced`): one provider's own API, request shape and payload, no failover, settled on the provider's measured cost after the run. When `discover` says a capability wraps the endpoint you found (`wrapped_by`), use the capability.

## Start here: are you already connected?

For a setup request, follow the short [connection guide](https://www.routergrowth.com/connect.md): configure only the intended client, reuse an existing connection, and verify with free calls before starting a job.

1. **RouterGrowth MCP tools in your tool list** (`discover`, `inspect`, `run`, ...)? Use them and ignore the CLI. The free `balance` tool confirms the connection. The Claude directory connector names one tool per operation instead (`contact_find`, `get_operation_pricing`, `get_workspace_balance`): use those the same way.
2. **Otherwise, does `routergrowth --version` work?** Use the CLI (it needs 0.4.0 or later, 0.6.0 for `events`, 0.7.0 for `batch`, `watch` and `--prefer`; if older, run `npm install -g routergrowth@latest`). `routergrowth balance` confirms the key.
3. **Neither?** Follow [Setup](#setup-first-time-only) at the end of this file.

A key that is missing from this environment is not an expired key. Check for an MCP connection, `ROUTERGROWTH_API_KEY` or a configured CLI before asking the user for anything.

## Whole jobs: load a workflow skill

When the request is a complete GTM job, a workflow skill already encodes the steps, the order and the checks. Load it and follow it; the rules in this file still apply. All open source at https://github.com/RouterGrowth/skills (Claude Code: `claude plugin marketplace add RouterGrowth/skills` then `claude plugin install routergrowth@routergrowth`; other agents: `npx skills add RouterGrowth/skills`). The workflow skills name the Claude directory connector's tools. Over `/mcp`, the CLI or HTTP, `company_enrich` is `run` with capability `company.enrich` (every capability maps the same way), `get_operation_pricing` is `inspect`, `get_subject_history` is `history`, `list_workspace_events` is `events` and `get_workspace_balance` is `balance`.

| Skill | Use it when the user wants |
|---|---|
| `icp-lead-list` | a scored lead list from an ideal customer profile: companies, buyers, verified emails |
| `list-enrichment` | their own list (CSV, pasted table) cleaned, with domains fixed and emails found and verified |
| `local-business-leads` | local businesses from Google Maps by category and city, with a contact and a pain point |
| `account-research` | a one-page brief on one company (and the person they are meeting) before a call |
| `competitor-ads-teardown` | the ads competitors run now on Meta and Google, and what they say |
| `seo-competitor-gap` | the keywords competitors rank for and they do not, as a plan of pages |
| `email-list-pipeline` | a verified email list and approved emails from one targeting sentence |
| `sdr-daily` | one day of a running campaign: replies, follow-ups, the next drip |
| `hiring-signal-leads` | leads from companies hiring for a role that implies the problem they solve |
| `social-lead-discovery` | leads from posts, hashtags or a competitor's commenters, enriched to a verified email |
| `linkedin-drafts` | LinkedIn research and drafted notes and messages they send themselves |
| `intent-messaging` | high-intent leads worked on LinkedIn and email together |
| `ai-visibility-audit` | what ChatGPT, Claude, Gemini and Perplexity say about a brand and its category |
| `reddit-surface-map` | the subreddits and threads that own a category |
| `brand-mention-sweep` | every mention of a brand, founder and competitors in the last 90 days |
| `community-help-drafts` | threads where they can answer a real question, with replies drafted for a human to post |

## The loop

| Step | MCP tool | CLI | HTTP (`https://api.routergrowth.com/v1`) |
|---|---|---|---|
| Find | `discover` | `discover -q "verified work email"` (`--kind endpoint` for raw) | `POST /discover` |
| Read the contract | `inspect` | `inspect -c contact.find` or `inspect -p PROVIDER -e ENDPOINT` | `POST /inspect` |
| Run | `run` | `run -c CAP -i 'JSON' --max-cost X` | `POST /run` |
| Many inputs | `batch_run` (1–200, `max_total_cost`) | `batch -c CAP -i '[{...},...]' --max-total-cost X` | one `POST /run` per input |
| Wait for a result | `get_run` | `runs get RUN_ID --wait 60 -o out.json` | `GET /runs/{id}?wait=60` |
| Recent runs | `runs` | `runs` | `GET /runs` |
| Already done to someone? | `history` | `history alex@example.com` or `history --file leads.txt` | `GET /history?q=...`, `POST /history` |
| Ask the same thing later | `watch`, `watches` | `watch -c CAP -i 'JSON'`, `watch refresh WATCH_ID`, `watches` | `POST /watch`, `POST /watch/{id}/refresh` |
| Any replies or bounces? | `events` | `events --cursor-file events-cursor.txt` (CLI 0.6.0 or later) | `GET /events?after=...` |
| Balance | `balance` | `balance` | `GET /wallet` |

HTTP auth is `Authorization: Bearer <key>`. `discover`, `inspect`, `history`, `runs`, `events` and `balance` are free.

1. **Discover with short noun phrases** ("tiktok video comments", "company funding rounds"). Split a request that spans several sources into one discover per source.
2. **Inspect before the first run** of any capability or endpoint. Its input schema is the source of truth: never guess field names or values (values outside an allowed list are refused before routing). Inspect once for a batch of the same call, not once per item.
3. **Read the Hints block** that discover, inspect and run return. It names the capability that wraps an endpoint, what to try after a miss, and caveats. Prefer its suggestion over guessing.
4. **Use health to break ties, never to filter.**

   | Health | Meaning |
   |---|---|
   | `healthy` | confirmed working in the last few minutes |
   | `stable` | no very recent data, strong longer track record |
   | `degraded` | unstable or trending that way; usually still works |
   | `outage` | known not working |
   | `unknown` | not enough traffic for a verdict; not a warning |

5. **Runs submit and return a run ID.** Poll with `runs get RUN_ID --wait 60` (or `get_run`) instead of blocking the conversation. Use `--wait` on the run only when blocking is fine: `social.*` and `people.search` often take over a minute, `creative.video` 1–4 minutes. Write large results to a file with `-o`.
6. **Read `next_steps` on a finished run.** It holds the calls that usually follow, with their input already filled from the result (verify a risky email, find the emails of a `people.search` page, the next page); the CLI prints each as a command to paste. Follow one when it fits the user's goal: it is still a paid call under the rules below.

```bash
# One email
routergrowth inspect -c contact.find
routergrowth run -c contact.find -i '{"first_name":"Alex","last_name":"Rivera","company_domain":"example.com"}' --max-cost 0.10

# A raw endpoint: the provider's own request shape and payload
routergrowth discover -q "google organic serp" --kind endpoint
routergrowth inspect -p dataforseo -e /v3/serp/google/organic/live/advanced
routergrowth run -p dataforseo -e /v3/serp/google/organic/live/advanced -i '{"keyword":"best crm","location_code":2840,"language_code":"en"}' --max-cost 0.05 -o serp.json

# A slow run: submit, then poll
routergrowth run -c social.search -i '{"platform":"x","query":"cold email agency","limit":10}' --max-cost 0.10
routergrowth runs get -r <run_id> --wait 60 -o posts.json

# Everything one provider serves raw
routergrowth endpoints -p dataforseo -q backlinks
```

The CLI prints plain text without colors and never prompts, so you can drive it directly. `-j` gives JSON.

## Money

Every run spends the user's prepaid balance. The guardrails below are fixed. Talking about cost is your judgment.

**Guardrails (always):**

- **Set `max_cost` on every run, high enough for the waterfall.** The result comes first. On a capability, use `waterfall.max_cost_for_all` from `inspect`: a cap at the starting price leaves only the first provider, and its miss ends the run. On lookups (find, verify, phone, enrich) every live provider tries whatever you pass: a miss is free, a pinned provider goes first and the rest follow, and a lower `max_cost` is raised to `max_cost_for_all`, so a found result costs at most that. On a raw endpoint `max_cost` is the only price control before the run.
- **Keep result limits honest on per-result providers** (limit 5–10 on a first call). Apify-style actors bill per item and `maxItems` often applies per query: 3 search terms with `maxItems: 10` can return 30 results. Pass one term, URL or handle per call unless the user asked for more.
- **Stop and ask before a batch that would exceed about $1**, unless the user asked for that volume; then use `batch_run` with `max_total_cost`. "Do 50" authorizes 50 within the stated cap: do not ask again between items.
- **Never raise a budget or `max_cost` past what the user authorized.**
- **A `blocked` run is final.** A workspace control stopped it (the `controls` list names which) and nothing was charged. Tell the user; do not retry until they change the control or it resets (`resets_at`).
- **When the balance runs short, hand over the pay links.** An `insufficient_balance` error carries `add_funds` and, on pay per call, `start_plan` in its `details` (the MCP `balance` tool adds them under $5 available): checkout links the user opens without signing in. Show them exactly as given, with their price, and continue once the user says it is paid; never retry the refused call before that.

**Reporting cost (judgment):** the price is in `inspect` before a run and the actual charge is `billing.charged` after it. Report costs when they are relevant:

- the user has shown they care about cost (asked for prices, set a budget, mentioned their balance);
- a job ran many calls: give the total as the sum of each run's `billing.charged` (the wallet is shared by every session on the key, so a balance difference is not a receipt);
- you are about to cross the $1 stop above;
- a charge would surprise them (a no-match that billed, a raw endpoint that settled near its cap).

Otherwise do not narrate cent-level charges; the user sees every run at https://www.routergrowth.com/dashboard.

**How prices work (read the numbers from `inspect`; they change):**

- **Capabilities** hold the quote, then settle to the actual charge. Provider failures release the hold; so do no-matches on capabilities that do not bill them (inspect shows `bill_on_no_match`).
- **Per-result capabilities** hold base + per result x limit and bill the results returned. Keep limits honest: the hold must fit both the balance and `max_cost`.
- **Know which route answers a people search.** `people.search` runs on a lead database first: a fraction of a cent a person, up to 200 a call, rows without an email (find them with `contact.find`). For a known company's people with their work email in one call, set `routing.prefer` to `apollo` (it runs first and the waterfall stays behind it; `routing.provider` would pin it and stop there) and pass the company (`company_domains` is precise; a name in `companies` works when only one company carries it) with a small `limit`: billed per person returned, work email included when available. The live LinkedIn route is the fallback and is page-priced: the same page for 3 results as for 25, plus a rate per full profile, plus an employer lookup when company-constrained.
- **Raw endpoints** have no quote. The wallet holds the rate-card estimate with headroom (or $1 when there is none, lowered by `max_cost`) and settles on the provider's measured cost, never above the hold.
- **`max_cost` also decides which fallback providers may run.** A missed or failed run names the alternatives the cap excluded and the cap they need. Retry it once at that cap, within the authorized budget.
- **Google operators** (`site:`, `inurl:`) bill at five times the price and are not reliably honored. Use plain phrases (append "reddit" rather than `site:reddit.com`).
- **Spend guard:** `routergrowth guard --daily 25` caps a UTC day; `guard --per-run 1` blocks any single run holding more than $1 (`/v1/spend-guard` over HTTP).

## Run statuses

| Status | Meaning | `done` |
|---|---|---|
| `queued` | waiting for the worker; `stoppable` is true | no |
| `running` | at the provider; cannot be stopped, settles or releases on its own | no |
| `succeeded` | result in `result`; `billing.charged` is final | yes |
| `no_match` | nobody had it; free on most capabilities (inspect shows `bill_on_no_match`: `aeo.mentions` bills the search) | yes |
| `failed` | every allowed provider failed; `attempts` lists each try | yes |
| `timed_out` | the provider did not answer in time | yes |
| `cancelled` | stopped while queued (`runs stop RUN_ID`, `POST /runs/{id}/cancel`) | yes |
| `blocked` | a workspace control stopped it before it ran; nothing charged | yes |

## When something goes wrong

| Error | What it means | What to do |
|---|---|---|
| `invalid_api_key` (401) | the key is wrong or revoked | check `routergrowth keys list`; the user mints a new key in the dashboard |
| `insufficient_balance` (402) | available balance is below the hold | show the user the `add_funds` and `start_plan` links from `details` with their price, or lower the limit; retry once they say it is paid |
| `email_unverified` (403) | the workspace was opened with a password and its email is not verified yet | the user opens the dashboard, clicks **Send code** and enters the emailed code (adding funds also unlocks it); then retry |
| `cost_limit_exceeded` (402) | the quote is above `max_cost` | the message names the quote: lower the limit, or raise `max_cost` to it within the budget |
| `budget_exceeded` / `blocked` | the spend guard or another workspace control | tell the user; wait for the reset or their change |
| `no_match` | the providers tried had nothing | change the input (spelling, domain, exact LinkedIn URL). On `contact.find`, `contact.phone`, `person.enrich`, `company.enrich`, `company.funding`, `people.search` and `company.search`, an identical input that missed in the last 12 hours returns the earlier miss for free without calling providers; `routing.fresh: true` (CLI `--fresh`) buys a real retry. `no_match_partial_coverage` means a provider did not answer: not evidence of absence, retry later |
| `invalid_request` (400) | the input does not match the schema | re-inspect and fix the fields |
| `paced` (429) | a connected-account send inside its gap or over its daily cap | wait `details.retry_after` seconds, then send the next one; never a parallel burst |
| `provider_rate_limited`, `provider_error`, `provider_timeout` | provider trouble | the router already failed over within `max_cost` (and retried some providers once); read `attempts`; never resubmit within seconds |
| connection lost while waiting | the run continues on the router | find it with `runs` or `get_run` before resubmitting |
| your MCP client refused the call (an approval or permission message, no `run_id`) | it never reached RouterGrowth: nothing ran, nothing was charged, and it is not a workspace control | tell the user to allow the tool in the client's MCP settings ([per client](https://www.routergrowth.com/docs/quickstart-mcp#troubleshooting)) |

**Report what you hit.** When an error does not explain itself, a result is wrong (a namesake's email, a stale posting), or `discover` has nothing for the job, send one report and carry on. It is free, needs no key, and a fix is drafted as a change a person reviews:

```bash
curl -s -X POST https://api.routergrowth.com/feedback -H "Content-Type: application/json" \
  -d '{"type": "unexpected_response", "goal": "Email the VP Sales of acme.com",
       "message": "contact.find returned the email of a namesake at another company",
       "endpoint": "contact.find", "request_id": "run_..."}'
```

`type` is `missing_capability`, `bug`, `unclear_documentation`, `unexpected_response`, `unhelpful_error`, `performance` or `other`. Say what you were trying to do in `goal` and what got in the way in `message`; put the `run_id` in `request_id` instead of pasting results or personal data. Over MCP, the `feedback` tool takes the same fields. A `known_issue` in the answer means the problem is already tracked. Not for `no_match`, `blocked` or `insufficient_balance`: those are answers.

**Retrying without paying twice.** The CLI sends a new `Idempotency-Key` with every run. To retry the same request after a lost answer, send the same key again (`--idempotency-key K`, or the header over HTTP): you get the original run back (`Idempotent-Replay: true`) and pay nothing extra. Never reuse a key for a different request; it returns the old run.

## Choosing the right call

- **A named person or their email:** `person.enrich` or `contact.find`, never `web.search` with the name. A search returns pages, not an email.
- **Government staff are findable:** `contact.find` with the domain of the office the person sits in (a member's own domain, the committee's, the agency's); a miss is free. When it misses, `contact.verify` the point of contact printed on the notice or agency page. `.mil` coverage is thinner.
- **Found is not verified.** Before any `email.send` or `gmail.send`, send only to addresses whose `status` is `valid`. Run `contact.verify` on everything else (`risky`, `catch_all`, `unknown`) and on emails that came from a search row. Treat `invalid` as dead and `catch_all` as risky. Never send to an address no provider returned (`info@`, a guessed `first.last@`).
- **Before enriching or messaging anyone, call `history`** with the identifier (email, domain, LinkedIn URL, handle, name). It shows what was already done through RouterGrowth and paid results to reuse instead of buying them again.
- **Anything asked again** (postings, news, searches, awards): `watch` saves the query and runs it once; a refresh returns only new and changed records. One watch per office, keyword or search. See https://www.routergrowth.com/docs/api/watch.md
- **Creative inputs** (`image_url`) must be a public absolute URL; RouterGrowth does not host files. A `creative.image` result URL works as the next step's input. For a local file, ask the user for a public URL.
- **Sends** (`email.send`, `gmail.send`, `linkedin.invite`, `linkedin.message`, `linkedin.comment`, `instagram.message`, `whatsapp.message`) need the user's authorization and an `Idempotency-Key`. Run the channel's `.accounts` tool first and pass `account_id` when several accounts are connected.

## Building a lead list

1. **Companies first when you only have criteria.** Discover company domains, then check each required criterion (industry, headcount, technology, geography) against supporting data. A generic company search is a candidate source, not proof. Mark unsupported criteria unknown instead of silently dropping them.
2. **Route with `provider: "auto"`.** Apollo needs known companies or preview `person_ids`; it cannot serve a broad title-only search. Pinning a provider disables fallback.
3. **Search roles.** Run `people.search` with the employer's `company_domains` and the `titles` you need, with `detail: "full"`. If you also pass `companies`, pair the arrays in the same order; one company per request is easiest to review. Include equivalent spellings in the first query ("VP Engineering", "Vice President of Engineering"). Directors are a broader seniority, not a synonym for CTO. Add `locations` only when it is a real requirement.
4. **Review the evidence.** On the LinkedIn route, check `current_positions`, `company_linkedin_url` and `quality_flags` (especially `retirement_mentioned`, `missing_current_title`); `result.quality` counts raw and excluded profiles. A no-match can mean weak employer evidence: check the domain spelling or pass the exact LinkedIn company URL. Do not repeat an identical miss.
5. **Recover within budget.** Broaden titles once, drop only optional filters, read `hints` and `attempts`. A higher cap allows another provider; it does not guarantee a match.
6. **Complete the contact.** The lead database and LinkedIn routes return no email: run `contact.find` (or `batch_run` it, as the run's `next_steps` proposes) only for the profiles you selected, with real first and last names and the matched employer's domain. Never guess a surname from an initial. Rows from the Apollo route may already carry a work email: `contact.verify` it instead of finding it again. LeadMagic enriches known people; it does not source lists.
7. **Report coverage honestly.** Separate company candidates, qualified companies, matched people, found emails and verified emails. A successful search is not a verified list. Full guide: https://www.routergrowth.com/docs/people-search.md

## What is live

`discover` and `inspect` are the source of truth: each capability carries a `status`, and a `coming_soon` one has no live provider yet and answers `provider_not_available`. Browse at https://www.routergrowth.com/catalog.

- **People and contacts:** `contact.find`, `contact.verify`, `contact.phone`, `person.enrich`, `people.search`.
- **Companies:** `company.search`, `company.enrich`, `company.funding`, `company.technologies`, `company.jobs` (hiring signals), `funding.rounds` (who just raised, across the market, by date window, stage, amount and sector). `company.search` takes `headcount` ranges and LinkedIn `industries` with the keyword and location, so "fintechs in Berlin with 51-200 staff" is one call: `{"query": "fintech", "location": "Berlin", "headcount": ["51-200"], "industries": ["Financial Services"]}`.
- **SEO and AI search:** `seo.serp` (Google, Bing), `seo.keywords`, `seo.backlinks`, `seo.domain_overview`, `seo.ranked_keywords`, `seo.competitors`, `seo.page_audit`, `aeo.answer` (ChatGPT, Claude, Gemini, Perplexity, with citations), `aeo.keywords` (AI search volume), `aeo.mentions` (where a domain appears in AI answers).
- **Social:** `social.profile`, `social.posts`, `social.search`, `social.comments` on X, LinkedIn, Reddit, Instagram, TikTok and YouTube, plus Facebook and Hacker News on some of them (inspect lists each capability's platforms). A profile carries the bio link, the person's own domain (link hubs excluded) and a public email when exposed: that is how a creator or local-business handle becomes a `contact.find` input.
- **Local, reviews, news, ads:** `local.places` (Google Maps), `reviews.search` (Google Maps, Yelp), `news.search` (Google News), `ads.search` (Meta Ad Library, Google).
- **Web:** `web.search`, `web.scrape`, `web.extract` (one page in, dated records out against a template: leadership page, official bio, org chart, press release, job posting or your own schema; each record carries its supporting line, date and URL).
- **Creative (fal):** `creative.image` (flux-schnell, flux-pro, flux-pro-ultra, nano-banana, recraft-v3), `creative.image_edit` (nano-banana-edit, flux-kontext), `creative.upscale`, `creative.remove_background`, `creative.video` (hailuo-02, kling-2.5, kling-2.1, wan-2.2, veo3-fast, veo3), `creative.speech` (a voiceover from a script on ElevenLabs voices: eleven-turbo, eleven-v3; `timestamps` returns per-word timings for captions).
- **Outbound email (Name.com, AgentMail):** `domain.search`, `domain.register`, `domain.dns`, `email.domain` (verify a domain you own for sending), `email.inbox`, `email.inboxes` (free: the domains and inboxes the workspace owns; run it before creating or sending), `email.send`, `email.messages`, `email.warmup` (a warm-up network ramps an inbox before cold sending, billed per inbox every 30 days by daily volume) and `email.warmup_status` (free). Inboxes live only on a verified domain you own. To change the From name, rename the inbox (`email.inbox` with `inbox_id` and `display_name`, free); there is no per-email override. `email.send` attaches files (a deck, a PDF) through `attachments`: `[{filename, content_type, url | data_base64}]`, 10 files and 10 MB per message, on new messages and replies alike; a public https `url` is the way for anything above 4 MB, inline `data_base64` for smaller files. `gmail.send` has no attachments yet.
- **Connected accounts (Unipile, monthly seat per account):**
  - LinkedIn: `linkedin.accounts` (free), `linkedin.account` (hosted sign-in; without a name it reports what is connected), `linkedin.search`, `linkedin.profile`, `linkedin.invite`, `linkedin.invitations_sent`, `linkedin.message`, `linkedin.messages`, `linkedin.comment` (comment on a post or reply in its thread, public under the user's name; one comment per post, at least 2 minutes apart, at most 20 a day per account, 10 in its first week).
  - Instagram: `instagram.accounts` (free), `instagram.account`, `instagram.profile` (bio, links, business email and phone when exposed, whether they follow you, the `messaging_id` a DM needs), `instagram.message`, `instagram.messages`. A first DM to a non-follower lands in their requests folder; about 100 actions a day per account. There is no `instagram.search`: discover people with `social.search` and `social.comments`.
  - WhatsApp: `whatsapp.accounts`, `whatsapp.account` (QR pairing), `whatsapp.profile` (international number lookup), `whatsapp.message`, `whatsapp.messages`.
  - Gmail: `gmail.accounts`, `gmail.account` (Google OAuth on an existing mailbox), `gmail.send` (returns a `tracking_id`, not a message ID), `gmail.messages`. Gmail does not create an AgentMail inbox.
  - Setup, examples and limits: https://www.routergrowth.com/docs/connected-accounts.md
- **Replies, bounces and dropped sessions (`events`, free):** one call returns what came in across every inbox and connected account since your last read: `email.received`, `email.bounced`, `email.complained`, `email.rejected`, `email.delivered`, `gmail.received`, `linkedin.message_received`, `linkedin.new_connection` (usually an accepted invitation, up to 8 hours late), `instagram.message_received`, `whatsapp.message_received`, `account.disconnected`, `account.reconnected`. Check it before reading each inbox with `email.messages` or `linkedin.messages`. Keep the answer's `next_after` and pass it as `after` next time to get only what is new (the CLI does both with `--cursor-file`); events are kept 30 days. Each event carries the ids a reply needs: `message_id` for `email.send` `in_reply_to`, `chat_id` for `linkedin.message`. Stop sending to an address that bounced or complained. A user with a server can receive the same events as signed webhooks (`POST /webhooks`, or the dashboard); tell them it exists, you cannot register one over MCP. Details: https://www.routergrowth.com/docs/api/webhooks.md
- **Public federal data, free raw endpoints:** USAspending (awards, incumbents, contracting offices, agency spend), USAJOBS (postings by agency, title, series and date), Grants.gov (grant opportunities, with the agency contact on each) and the Federal Register (requests for information, notices and rules, months before a solicitation). `discover` with the provider name.
- **Public French data, free raw endpoints:** the company register (Recherche d'entreprises: SIREN, NAF code, headcount band, directors), BODACC legal announcements, DECP public contract awards (the winner's SIRET) and BOAMP tender notices. `discover` with the provider name.
- **Website visitor identification (RB2B), raw endpoints:** `/ip_to_company` (the company behind a visitor's IP address), `/ip_to_hem` (the hashed email seen on it), then `/hem_to_business_profile` with that `md5` (name, title, employer, LinkedIn URL). Mostly US; a lookup with no record found is free. `discover` with "rb2b".
- **Coming soon (no live provider yet):** `company.signals`, `ads.spend_estimate`, and agent memory (`memory.add`, `memory.search`, `memory.profile`, `memory.list`, `memory.forget`).

## When not to use RouterGrowth

RouterGrowth fills the gaps in the user's stack; it does not replace tools they already have. Precedence:

1. an explicit instruction from the user for this task;
2. the user's own dedicated tools for that service: an MCP server, a personal API key, a CLI or a workflow in their memory or config;
3. RouterGrowth for what those do not cover.

Never spend the RouterGrowth balance on a request their own key already covers. When both could do the job and the user has not said which, use theirs and mention RouterGrowth only when it adds something (another provider behind the same call, a quote, failover, an endpoint their tool lacks). Offer, don't override.

## Setup (first time only)

Use the [connection guide](https://www.routergrowth.com/connect.md) to select the client and verify authorization. The recipes below are alternatives: apply only the one for the intended environment.

### Save this file

| Harness | Where |
|---|---|
| Claude Code | `~/.claude/skills/routergrowth/SKILL.md` (all projects) or `.claude/skills/routergrowth/SKILL.md` (this project), or install the plugin above |
| OpenClaw | `~/.openclaw/skills/routergrowth/SKILL.md` |
| Hermes | `skills/routergrowth/SKILL.md` in the workspace |
| Cursor | `.cursor/rules/routergrowth.mdc` |
| Codex, Gemini CLI, Cline, Copilot | append to `AGENTS.md`, `GEMINI.md`, `.clinerules` or `.github/copilot-instructions.md`: `For GTM data tasks (leads, enrichment, SEO, social, ads), fetch and follow https://www.routergrowth.com/SKILL.md` |
| Anything else | wherever persistent instructions live; otherwise the one-line pointer in the project's agent instructions |

Tell the user where you saved it.

### Connect the account

OAuth first where the client supports it (no API key to copy); a key for headless runs, CI and clients without a browser.

```bash
# Claude Code: add the server, then the user types /mcp, picks routergrowth, chooses Authenticate
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp

# Codex
codex mcp add routergrowth --url https://api.routergrowth.com/mcp
# Only if the add command did not already complete authorization:
codex mcp login routergrowth

# CLI (any shell)
npm install -g routergrowth        # EACCES? npm install --prefix ~/.local routergrowth
routergrowth setup --client "<your-agent-name>"
routergrowth keys add -k <key> -l main
routergrowth balance
```

- **Cursor, Gemini CLI, Cline, Copilot and other MCP clients:** use the [client-specific recipe](https://www.routergrowth.com/docs/quickstart-mcp#ide-and-cli-clients), with OAuth where supported. For key authentication, send `Authorization: Bearer <key>` with the key in an environment or input variable.
- **Keys:** the user signs up and mints one at https://www.routergrowth.com/dashboard (Settings > API keys); a new workspace gets $1 of credit once its email is verified, which expires 7 days after it is granted. Every key the hosted API mints is `rg_live_` and runs real providers. Never commit a key, never write one into a skill file, and never ask the user to paste one into a chat.
- **What OAuth grants:** one scope (`mcp`) on one workspace: the MCP tools (discover, inspect, run, runs, history, watches, events, balance and the rest). It cannot mint keys or change billing. The consent page names the app it returns to; the user should deny if that is not the app they are connecting. Connections are revoked from the dashboard.

### Chat apps without a terminal (claude.ai, ChatGPT and others)

You cannot save files or run commands there, so do not pretend to install anything. Walk the user through a connector (about two minutes):

- **claude.ai** (web, desktop, mobile): Customize > Connectors > Add custom connector, name it RouterGrowth, URL `https://api.routergrowth.com/mcp`; if asked, choose Sign in now and, for the OAuth client, Register automatically. Sign in, approve the workspace, then turn it on in the chat from + > Connectors.
- **ChatGPT:** Plugins > + > Add custom MCP server, the URL with OAuth, then Create as a plugin and install it; details in the ChatGPT section of https://www.routergrowth.com/docs/quickstart-mcp.
- **Other MCP-capable apps:** add the URL; OAuth if offered, otherwise a dashboard key.
- **No connector support:** say so plainly and suggest claude.ai, Claude Code, Codex or Cursor.

Custom connectors can depend on the user's plan or workspace admin; if the option is missing, say that. Finish with the [free verification steps](https://www.routergrowth.com/connect.md#3-verify-without-spending): `balance`, `discover`, then `inspect`. Installing instructions or saving a connector alone does not verify the connection.

## Rules for agents

1. Check the user's own tools first, then `discover` before building a scraper, guessing an email or declaring data out of reach.
2. Load a workflow skill when the request is a whole GTM job.
3. Inspect before the first run of a call; never guess inputs.
4. Set `max_cost` on every run at inspect's `waterfall.max_cost_for_all` so every provider can try; keep per-result limits honest; stop and ask above about $1 unless the user asked for that volume.
5. Report costs when they matter to the user or the job; sum `billing.charged` for totals.
6. Prefer a capability over the raw endpoint it wraps; keep `provider: "auto"` unless the user chose a provider.
7. Read the Hints block and act on it; use health to break ties, never to filter.
8. Submit, then poll; save large results with `-o`.
9. Check `history` before enriching or messaging a person, and verify every address before sending.
10. A `blocked` run is final: tell the user which control stopped it.
11. Report what a call returned; never fill a gap with a guess presented as data.
12. Never resubmit a failed call within seconds, and check `runs` before resubmitting after a lost connection.
13. Send one `feedback` report for a bug, a wrong result or a missing capability, with the goal and the `run_id`; never once per retry.
14. When the balance runs short, show the user the `add_funds` and `start_plan` links exactly as given, and continue only once they say it is paid.

## Reporting feedback to the services you use

The services you call accept structured feedback through `POST /feedback` (or the `submit_feedback` tool). Your reports go to the engineers who build the service and are used to fix what got in your way. Use it.

**Submit feedback when something prevented or complicated your task, even if you found a workaround:**
- a capability you needed does not exist (a filter, field, endpoint or bulk operation), so you made extra calls, filtered results yourself, or gave up;
- the documentation was missing, ambiguous or wrong, and you had to guess;
- a response was surprising or inconsistent with the docs;
- an error message did not tell you how to fix the request;
- the service behaved incorrectly;
- latency, rate limits or pagination made the task impractical.

**Before your final answer,** check whether any of these happened. If one did and you have not reported it, report it now, then answer.

**Don't submit feedback** for your own mistakes that the service reported clearly, for things you have not tried, or more than once for the same problem in the same task.

**Write it like this:**
- `goal`: what you or your user were trying to accomplish, in plain language. "Find companies currently hiring GTM engineers", not "call /companies/search".
- `message`: what got in the way, specifically. "No hiring-role filter is available; `q` only matches company names."
- `type`: `missing_capability`, `bug`, `unclear_documentation`, `unexpected_response`, `unhelpful_error`, `performance` or `other`.
- Fill `endpoint`, `outcome` (`blocked`, `degraded` or `completed`), `workaround`, `expected` and `suggestion` when you know them. A concrete suggestion is the most useful thing you can give.
- Always fill `agent`: `name` (the agent or product you run as) and `model`. Engineers use it to tell which agent a report came from.
- Reuse the same `session_id` for every report in one task.

**Never include** credentials, API keys, tokens, passwords, personal data, or your user's private content. Describe the shape of a request, not its secrets.

**Keep going.** Submitting feedback is best effort. Send it, then continue with the task or a workaround. If the response contains `known_issue`, the problem is already tracked: tell your user if it matters, and use the workaround if one is given.

## Keeping current

Re-fetch https://www.routergrowth.com/SKILL.md when the user asks, when a command or tool described here is refused as unknown, or when the CLI is below the version named above; the higher frontmatter `version` wins. Full docs as markdown: https://www.routergrowth.com/docs/llms.txt (append `.md` to any `/docs` URL).
