---
name: people-search
description: Find and rank professional people for recruiting, partnerships, sales, or research from user-provided data, public web sources, an authenticated search session, or a connected provider. Use for people discovery, LinkedIn or Sales Navigator search design, profile-list ranking, or provider filter translation.
title: people-search
canonical_url: https://skilld.dev/gh/getedgehq/skills/people-search
last_updated: 2026-09-20T23:25:38.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/agents/openai.yaml), [DERIVATION.json](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/DERIVATION.json), [LICENSE](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/LICENSE), [references/provider-contract.md](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/references/provider-contract.md), [references/search-schema.md](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/references/search-schema.md), [scripts/people_search.py](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/scripts/people_search.py), [tests/fixtures/people.csv](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/tests/fixtures/people.csv), [tests/test_people_search.py](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/tests/test_people_search.py).
>
> If the user asked to install this Skill, run `npx skilld install getedgehq/skills/people-search`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/people-search`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/getedgehq/skills/people-search) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/people-search`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/people-search --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/people-search --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# People Search

Produce an auditable shortlist without pretending the skill itself grants LinkedIn data access.

## Choose the data mode

Use the strongest mode already available: provided CSV/profiles/export; public web search; an authorized authenticated session; or a connected provider such as HarvestAPI or Apify. If no discovery source is available, return a normalized search plan, ready-to-run filters, and an input template. Never fabricate profiles.

## Workflow

1. Translate the request into [the canonical schema](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/references/search-schema.md).
2. Separate hard requirements from ranking preferences. Treat vague criteria as preferences unless explicitly mandatory.
3. State the selected mode and its coverage limits.
4. Map canonical filters to provider fields and disclose every applied, approximated, dropped, or unsupported filter.
5. Run the cheapest useful canary before a paid/full search. Stop on invalid, silently empty, or off-target results.
6. Deduplicate by stable profile URL, then normalized name plus current company.
7. Rank against the original brief, preserve evidence URLs, and distinguish sourced facts from inference.
8. Return the shortlist, search recipe, caveats, and highest-value refinement.

## Boundaries

- A skill is orchestration, not a data license. Never imply built-in LinkedIn access.
- Never expose, embed, or persist provider credentials.
- Make the cost-bearing mode clear before paid search; prefer previews and staged expansion.
- Never interpret zero results as no matching people until request validity and filter support are checked.
- Do not send connection requests or messages without separate authorization.

For adapter behavior and result contracts, read [references/provider-contract.md](https://skilld.dev/api/skills-raw/getedgehq/skills/people-search/references/provider-contract.md).

## Deterministic runner

Use `scripts/people_search.py` for plan-only, CSV import/ranking, and provider execution. Provider credentials must enter through the named environment variable at process scope; never pass a token as an argument.

Hard filters are field-scoped: `--locations` matches the `location` field only, `--titles` the `current_title`, `--companies` the `current_company`, `--industries` the `industry`. Only `--must-keywords` and `--exclude-keywords` scan several fields, and those are reported as approximated. Exclusions are first-class: `--exclude-companies`, `--exclude-titles`, `--exclude-keywords`, `--exclude-profile-urls`.

Every requested filter appears exactly once in `filters`, sorted into `applied`, `approximated`, `dropped`, or `unsupported`, with the fields it matched and the reason for its status. A filter whose target field is missing from the data is dropped and not enforced, so the result set is wider than the brief and says so. Report that ledger to the user; do not restate the brief as if all of it ran.

Provider runs are staged. `--provider-run canary` is the default: a preview request capped by `--canary-limit` (5), never a complete result set. `--provider-run full` sends `preview: false` and the real `--limit`, and requires `--max-cost-usd`. Add `--cost-per-result-usd` so the cap is checked before the request instead of after the invoice; without it `cost.cap_enforced` is false. A provider-reported cost above the cap comes back in `warnings`.

Read `ok` before `results`. On success `ok` is true, `results_valid` is true, and `results` is a list that may legitimately be empty, in which case `zero_result_note` and `diagnostics.rejected_by_filter` explain what removed the candidates. On failure the runner exits 2, writes the reason to stderr, and emits `ok: false` with `results: null`, never an empty list, so a missing credential or an HTTP 402 cannot be read as "there are no such people".
