Pp Contact Goat 标志

Pp Contact Goat

社区热门
mvanhorn
pp-contact-goat

终端里的超级 LinkedIn。通过 LinkedIn(stickerdaniel/linkedin-mcp-server 子进程)、Happenstance(优先使用 Cookie,享有免费额度;也可回退到 bearer API)和 Deepline(付费数据补充)搜索信息、丰富资料并梳理人脉引荐路径。Happenstance 支持两种身份验证方式:Chrome Cookie 会话(每月免费额度)和 HAPPENSTANCE_API_KEY bearer(付费积分,数据结构更丰富)。当用户想知道自己在某家公司认识谁、如何获得熟人引荐、该联系哪些潜在客户,或需要跨数据源档案、人脉网络差异对比或瀑布式数据补充时使用。

Add to TypingMind

概览

发布者mvanhorn
代码仓库printing-press-library
技能名称pp-contact-goat
星标数
2K
复刻数
621
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 mvanhorn 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Pp Contact Goat AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/mvanhorn/printing-press-library/tree/main/cli-skills/pp-contact-goat
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mvanhorn/printing-press-library.git /tmp/printing-press-library
mkdir -p .claude/skills
cp -r /tmp/printing-press-library/cli-skills/pp-contact-goat .claude/skills/pp-contact-goat
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Pp Contact Goat,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Pp Contact Goat。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Pp Contact Goat 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Contact Goat - Printing Press CLI

Prerequisites: Install the CLI

This skill drives the contact-goat-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    bash
    npx -y @mvanhorn/printing-press-library install contact-goat --cli-only
  2. Verify: contact-goat-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

bash
go install github.com/mvanhorn/printing-press-library/library/sales-and-crm/contact-goat/cmd/contact-goat-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Reach for this when the user wants:

  • coverage of a company (who you already know there, ranked by relationship strength)
  • a warm-intro path to a target person (mutual connections across sources)
  • prospecting (fan-out search with cross-source dedupe)
  • a unified dossier (LinkedIn profile + Happenstance research + optional Deepline enrichment)
  • network diffs over time (what's new in your graph in the last N days)
  • waterfall enrichment that walks free sources before paid ones

Skip it when the user has a workflow that lives entirely inside LinkedIn Sales Navigator, or when they only need raw LinkedIn scraping with no Happenstance or Deepline overlay (use the LinkedIn MCP directly in that case).

Two Auth Surfaces

Happenstance has two parallel auth paths and the CLI uses both:

SurfaceAuthCostDefault?
Cookie web appChrome session cookiesFree monthly allocationYES (auto-prefer)
Public REST APIHAPPENSTANCE_API_KEY (Bearer)2 credits/search, 1 credit/researchFallback only

The auto router prefers cookies until quota is exhausted, then falls back to bearer with an explicit "cost spent" log line on stderr. Use --source api on coverage, hp people, prospect, or warm-intro to opt into bearer explicitly (e.g. for the richer research schema or scoped group searches). Use --source hp to force the cookie surface.

The api hpn * subcommands always use the bearer surface and always cost credits. Provision and rotate keys at https://happenstance.ai/settings/api-keys.

Argument Parsing

Parse $ARGUMENTS:

  1. Empty, help, or --help -> run contact-goat-pp-cli --help
  2. Starts with install and ends with mcp -> MCP installation (see below)
  3. Starts with install -> CLI installation (see below)
  4. Anything else -> Direct Use (map the request to the best command and run it)

MCP Server Installation

  1. Install the MCP server:
    bash
    go install github.com/mvanhorn/printing-press-library/library/sales-and-crm/contact-goat/cmd/contact-goat-pp-mcp@latest
  2. Register with Claude Code:
    bash
    claude mcp add -e DEEPLINE_API_KEY=value -e HAPPENSTANCE_API_KEY=value contact-goat-pp-mcp -- contact-goat-pp-mcp
    Ask the user for actual values of required API keys before running.
  3. Verify: claude mcp list.

The MCP server exposes 16 tools. The four bearer-API tools added in this release are:

  • api_search - Run a Happenstance public-API search (costs 2 credits)
  • api_research - Run a deep-research dossier (costs 1 credit on completion)
  • api_groups_list - List Happenstance groups for the caller (free)
  • api_usage - Show live credit balance and usage history (free)

The other 12 tools cover the cookie surface (search, friends, feed, notifications, dossier, etc.) and the LinkedIn / Deepline integrations.

Direct Use

  1. Check if installed: which contact-goat-pp-cli. If not found, offer CLI installation (above).
  2. Discover commands: contact-goat-pp-cli --help. Drill into subcommand help with contact-goat-pp-cli <command> --help or contact-goat-pp-cli api hpn <subcommand> --help.
  3. Match the user query to the best command (see Notable Commands below).
  4. Execute with the --agent flag for structured, token-efficient output:
    bash
    contact-goat-pp-cli <command> [args] --agent
  5. The --agent flag sets --json --compact --no-input --no-color --yes.

Source routing (cookie vs bearer) is automatic. The auto router prefers the free cookie surface and falls back to the paid bearer surface only when cookie quota is exhausted, logging a "cost spent" notice on stderr. Pass --source api to opt into bearer explicitly (richer schema, group-scoped searches), or --source hp to force cookies.

Enrichment Preflight (read this before running any enrichment command)

These commands spend Deepline credits and REQUIRE DEEPLINE_API_KEY or a BYOK setup:

  • waterfall (unless you pass --byok and have BYOK providers configured)
  • dossier --enrich-email
  • deepline find-email / enrich-person / email-find / phone-find
  • deepline search-people / search-companies / enrich-company

Before invoking any of these, verify auth by running doctor first:

bash
contact-goat-pp-cli doctor --agent | grep -i deepline

deepline_env shows the resolution source:

  • set (env) — DEEPLINE_API_KEY exported in the current shell
  • set (flag) — --deepline-key passed on the command line
  • set (file:~/.local/deepline/<host>/.env) — auto-discovered from the official Deepline CLI's persisted key (the user authenticated with deepline auth register or deepline auth status; no shell export needed)
  • not set — none of the above. Ask the user for a key, or for a BYOK Hunter/Apollo key

The auto-discovery path means a user who has the Deepline CLI installed and authenticated does NOT need to re-export the key into their shell — contact-goat reads ~/.local/deepline/code-deepline-com/.env directly (mode 0600, owned by the user). Don't ask the user to re-export when set (file:...) is reported. If deepline_discovery_skipped is also reported, those are candidate files the resolver rejected for a security reason (wrong mode, missing prefix); surface them so the user can fix the underlying issue.

Provider chain by target kind (waterfall):

TargetPrimaryFallback 1Fallback 2
LinkedIn URLapollo_people_matchhunter_people_findcontactout_enrich_person
Emailapollo_people_matchhunter_people_find-
Name + --companydropleads_email_finderhunter_email_finderdatagma_find_email

Notes:

  • Name targets MUST pass --company <domain> (or set CONTACT_GOAT_COMPANY env).
  • Apollo returns personal_emails[] when available; treat email_status: "unavailable" as "no verified work email on file" (the personal email is still usable).
  • Dropleads returns status: "catch_all" for domains on Google Workspace; the email is a pattern guess, not a verified mailbox.
  • Provider-level 403s are surfaced as "Provider not connected" rather than "Check DEEPLINE_API_KEY"; they do not abort the chain. The next provider is tried automatically.

Notable Commands

CommandWhat it does
coverage <company>Who you know at a company across LinkedIn + Happenstance, ranked by relationship strength
coverage --location <city>Who you know in a city. Bearer-only (cookie surface has no city-search); use --source api.
hp people <query>Happenstance graph people-search (1st / 2nd / 3rd degree). --csv emits flat CSV with semicolon-joined bridges.
prospect <query>Fan-out search across LinkedIn + Happenstance (+ opt-in Deepline), deduped
warm-intro <target>Mutual connections across sources who could intro you to a target
waterfall <target> [--company X]Free-sources-first enrichment, falls through to Deepline provider chain. Requires DEEPLINE_API_KEY or --byok. Bare-name targets need --company
dossier <target> [--enrich-email]Unified LinkedIn + Happenstance + (optional) Deepline dossier. --enrich-email requires DEEPLINE_API_KEY
deepline find-email "<name>" --company <domain>Single-call work-email lookup via dropleads_email_finder
deepline enrich-person <linkedin-url>Full person record via apollo_people_match (includes personal_emails[])
api hpn search <text>Bearer-API search (costs 2 credits, async with poll). --first-degree-only keeps only 1st-degree matches; --min-score N drops weak signals (see docs/scoring.md); --all --max-results N auto-paginates.
api hpn research <description>Bearer-API deep dossier (costs 1 credit on completion)
api hpn usageLive credit balance, purchases, recent usage events (free)
doctorCheck CLI health, both Happenstance surfaces, LinkedIn, and Deepline. Reports happenstance_graph_status (ok / stale / very_stale) on the LinkedIn upload age.

Run any command with --help for full flag documentation.

Agent Mode

Add --agent to any command. Expands to: --json --compact --no-input --no-color --yes.

  • Pipeable — JSON on stdout, errors on stderr
  • Filterable — --select keeps a subset of fields, with dotted-path support (see below)
  • Previewable — --dry-run shows the request without sending
  • Cacheable — GET responses cached for 5 minutes, bypass with --no-cache
  • Non-interactive — never prompts, every input is a flag

Filtering output

--select accepts dotted paths to descend into nested responses; arrays traverse element-wise:

bash
contact-goat-pp-cli <command> --agent --select id,name
contact-goat-pp-cli <command> --agent --select items.id,items.owner.name

Use this to narrow huge payloads to the fields you actually need — critical for deeply nested API responses.

Response envelope

Data-layer commands wrap output in {"meta": {...}, "results": <data>}. Parse .results for data and .meta.source to know whether it's live or local. The N results (live) summary is printed to stderr only when stdout is a TTY; piped/agent consumers see pure JSON on stdout.

Exit Codes

CodeMeaning
0Success
2Usage error (wrong arguments)
3Resource not found
4Authentication required
5API error (upstream issue, including bearer 402 out-of-credits)
7Rate limited (cookie 429 or bearer 429; auto-fallback may apply)

常见问题

Pp Contact Goat AI 技能有什么作用?

终端里的超级 LinkedIn。通过 LinkedIn(stickerdaniel/linkedin-mcp-server 子进程)、Happenstance(优先使用 Cookie,享有免费额度;也可回退到 bearer API)和 Deepline(付费数据补充)搜索信息、丰富资料并梳理人脉引荐路径。Happenstance 支持两种身份验证方式:Chrome Cookie 会话(每月免费额度)和 HAPPENSTANCE_API_KEY bearer(付费积分,数据结构更丰富)。当用户想知道自己在某家公司认识谁、如何获得熟人引荐、该联系哪些潜在客户,或需要跨数据源档案、人脉网络差异对比或瀑布式数据补充时使用。

为什么在 TypingMind 中使用 Pp Contact Goat?

因为您只需安装一次,就能搭配任何模型使用。Pp Contact Goat 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Pp Contact Goat?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/mvanhorn/printing-press-library/tree/main/cli-skills/pp-contact-goat。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Pp Contact Goat?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Pp Contact Goat 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Pp Contact Goat 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Pp Contact Goat AI 技能免费吗?

是的。mvanhorn 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇