/clay:searchesfrom clay
Searches for net-new people and companies by employer, name, or title using Clay's DSL. Refines criteria and pages results. Routes complex filters to searches-advanced.
Ships in clay. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before using this skill, read the clay entry skill if you haven’t already this session, and follow its access guidance.
Search finds net-new people/companies; use audiences for workspace records.
Outside Sculptor's Search panel, use these patterns without the full reference when they
capture every criterion. In that panel, read its required DSL reference before querying.
Preserve lists/exclusions; add no unrequested filters. Otherwise read searches-advanced
before querying: geography/metro/HQ versus offices, industry, growth, size, similarity,
employer history, hiring, audiences, education, counts, per-company limits or unknown
fields. It routes to the full runtime reference. Never drop criteria to avoid it.
Syntax: select from people|companies where <predicate>. Double-quote strings;
parenthesize lists. and binds tighter than or; group alternatives. Text matching is
case-insensitive; contains matches tokens, not substrings. Omit the DSL limit unless
the user explicitly caps the total across all pages, so "show me more" can continue the
same search. For ordinary requested counts, use the executing tool's page-size limit
within its allowed maximum; fetch additional pages only as needed.
Translate ordinary terms to English; preserve proper names/IDs.
Current employer + role:
select from people where clay.filter_to_companies(("stripe.com")) and experiences.any(is_current = true and job_title is_similar_to ("software engineer"))
Use supplied identifiers or confidently known household-name domains. The company
function belongs at the root. Keep title/seniority in one current experience;
neither is a people-root field.
For an uncertain employer name, replace the identifier function with
company_name contains "Name" inside that same experience; never guess a domain.
Person names use root-level full_name contains "Person Name"; no first/last-name fields.
Titles default to job_title is_similar_to ("role"); use only user-supplied roles,
not invented synonyms. Exact titles use = or in (...); literal keyword requests
use contains, keeping exclusions with not. Lists mean OR; required co-occurring
words need AND. Quote full phrases. Keep title predicates inside experience.
Only filter seniority when requested: senior individual contributors use
seniority = "Senior", not leadership. Complete experience values: Founder, Owner,
Board Member, Partner, C-suite, VP, Director, Head, Manager, Senior,
Mid-level, Entry, Intern / In Training, Unknown. Use =, !=, in, not_in;
leadership tiers require leadership intent. Not job-posting values.
Specific companies: one inclusion call, all supplied identifiers (at most 1,000):
select from companies where clay.include_company_identifiers(("stripe.com", "https://www.linkedin.com/company/notionhq/"))
Do not substitute domain =, guess domains or fabricate LinkedIn slugs. Ambiguous
company names and "companies like X" require advanced identification guidance.
Use the access method selected by clay. Discover operation schemas;
CLI equivalents are clay searches query-mode create --query '<query>', then
clay searches query-mode run <searchId> [--limit <n>]. Create returns searchId, not
records; run returns data, hasMore and optional periodQuota.
Forward-only iterator: reuse its ID for the next page; no replayable cursor.
Page size is separate from total limit.
Read only enough pages to satisfy the current request; for an unspecified count, show
one page. On "show more", advance only when hasMore is true. Check quota before each
page and stop near exhaustion unless the user confirms continuation. Changed criteria
require a new query retaining unchanged criteria, not filtering the old page.
Follow workflows-discover-actions/cost-and-budget.md; keep routine checks internal.
Before a generic large search, suggest 2–3 supported narrowing options or a small limit
and wait for confirmation/narrowing. Skip for bounded requests. If periodQuota is
present, ask before planned N results leave remaining − N below 15% of limit;
continue only if confirmed, otherwise offer a smaller pull/stop. Skip absent quotas.
On quota_exceeded (HTTP 402), stop and read searches-advanced → Quotas before any
retry/report. Only an explicit per-request cap permits one smaller-page retry; never
shrink pages or recreate searches to evade other caps. Show the upgrade link supplied
by the error once, as the last line of the reply, preserving the full URL and its
attribution; do not construct a billing URL when none is supplied.
Preserve its support guidance.
A plan_upgrade_required or auth_forbidden error saying advanced filters or exclusions
aren’t on the plan is a plan restriction, not a sign-in problem. Searches report it as
auth_forbidden, so ignore any sign-in hint in the message: don’t retry or ask the user to
sign in again. Offer to rerun without the gated filter, and show any upgrade link in the
error the same way.
For validation, server or rate-limit errors, read advanced reference/retry guidance
before correcting or retrying: a failed run may already have charged/counted its page.
Do not evade authentication or approval requirements by changing transports/restarting.
For enrichment or persistence, use routines: inspect the paginated routine list,
prefer managed routines and match actual input schemas. Search missing email/phone
is not proof enrichment is unavailable. Preserve shared cost, approval and batch rules.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
39 skills in this plugin
/ad-syncsClay ad syncs — push an audience segment to ad platforms (LinkedIn, Meta, Google, Bing, Reddit, Vibe) as a custom audience. Use to create, edit, start, pause, or map the fields of an ad sync, or to check its status, match rate, or run history./audiencesClay Audiences — the workspace's own people, companies, and deals (contacts, leads, accounts, customers). Use for any request about their records when no surface is named, including counts, fill rates, lookups ("how many people have a phone?"), saved segments, and field definitions. Also deal and pipeline questions like largest opportunities, biggest pipeline items, recent wins, closed-won, deal stage, and ACV. Also Data hub enrichment configuration, audience assignments, and parity checks. Also the calls and meetings synced onto those records, such as Gong recordings, and which accounts discussed a topic on their calls./clayClay — start here. A table of contents for working with Clay and which skill to use for each thing — audiences (the workspace's own people/companies/deals), sequences (formerly campaigns; create, improve, and analyze outbound email sequences in Sequencer), ad syncs (push audience segments to ad platforms), search (find net-new people/companies), routines (run Clay-managed and custom functions), tables (query/export data), the CLI (ephemeral programmatic access), the Public API (build services on Clay), workflows (build automations), feedback, and getting help — reaching Clay support or a human about billing, refunds, or account problems. Read this first to answer "what can I do with Clay?"/clay-docsUse when the user asks a Clay product question — how a feature works, whether Clay supports or integrates with something, what plans include, security/compliance, or what's new — and the answer isn't operational guidance another skill owns. Answer from Clay's live public documentation, fetched and cited, never from memory./clay-feedbackClay feedback — send a bug report or product feedback to the Clay team via the `clay feedback` CLI./cliClay CLI — the primary scripting surface (JSON output, typed errors). Use when running or discovering `clay` commands. For what Clay can do and which skill to use, read the `clay` skill when it is available; otherwise run `clay --help`. Use `clay --help` for command names, flags, JSON shape, and error codes.npx claudepluginhub clay-run/agent-plugins --plugin clayOther plugins' skills for the same job