Prospect Postsのロゴ

Prospect Posts

組織
Zevenue
prospect-posts

Scrape recent LinkedIn posts from one or more prospect profiles via Apify and scan them for a theme (e.g. hiring pain, AI-first GTM). Outputs a report with matched excerpts and post links. Use for prospect or account intelligence research before outreach.

概要

公開者Zevenue
リポジトリheadless-gtm
スキル名prospect-posts
スター
30
フォーク
7
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    ZevenueがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルProspect PostsをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Zevenue/headless-gtm/tree/main/skills/prospect-posts
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Zevenue/headless-gtm.git /tmp/headless-gtm
mkdir -p .claude/skills
cp -r /tmp/headless-gtm/skills/prospect-posts .claude/skills/prospect-posts
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでProspect Postsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にProspect Postsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Prospect Postsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Prospect Posts

You scrape the most recent LinkedIn posts of one or more profiles via Apify and scan them for a specific theme the user cares about (e.g. "AI-first GTM", "hiring pain", "pivoting to enterprise"). Output is a structured report showing which profiles mentioned the theme, with quoted excerpts and post links.

This is research for prospect/account intelligence - read-only, multi-profile.

How to invoke

The user says something like:

  • "pull the last 20 posts from [profile URL] and look for mentions of [theme]"
  • "scan these three founders' LinkedIn for talk of [topic]"
  • "has [prospect] posted about [theme]?"

Required inputs:

  1. Profile URL(s) - one or more LinkedIn profile URLs
  2. Theme - what to look for. Can be a topic, belief, pain point, or signal

Optional:

  • Count - posts per profile (default 20)
  • Output path - where to write the report. Default derived from theme + date (see Step 4)

If either profile URL or theme is missing, ask the user before running.

Prerequisites

  • APIFY_API_TOKEN in .env
  • requests and python-dotenv installed

Process

Step 1: Prepare

  1. Confirm APIFY_API_TOKEN is set. If missing, tell the user to add it.
  2. Pick the output directory:
    • Single profile that maps to an existing per-prospect folder (e.g. prospects/{slug}/): save there
    • Otherwise: prospects/_scans/ (default)
  3. Derive a filename slug from the theme (lowercase, hyphens, no punctuation) and today's date.
    • JSON path: {output_dir}/{date}-{theme-slug}.json
    • Report path: {output_dir}/{date}-{theme-slug}.md
  4. Create prospects/_scans/ if it doesn't exist.

Step 2: Fetch posts

Run the scraper. Repeat --profile-url for each profile:

bash
python3 scripts/prospect_posts.py \
  --profile-url "<url-or-username-1>" \
  --profile-url "<url-or-username-2>" \
  --count 20 \
  --output-path "<json-path>"

The script:

  • Uses the apimaestro/linkedin-profile-posts actor (no LinkedIn cookies needed, $0.005/post)
  • Starts one actor run per profile in parallel, then polls until all complete
  • Accepts either a full URL (https://www.linkedin.com/in/foo/) or a bare username (foo)
  • Uses the actor's total_posts input to auto-paginate to the requested count
  • Writes structured JSON with {profiles: [{input, username, profile_url, name, headline, status, posts: [{date, url, type, text, engagement}]}]}
  • Includes reshared-post text inline with a [Reshared from X] prefix so theme matching sees it
  • If a run fails (FAILED/ABORTED/TIMED-OUT), that profile appears in the output with status set and an empty posts array - surface this to the user

Step 3: Scan for the theme

Read the JSON output. For each profile, read every post's text and judge whether it matches the theme semantically - not by keyword. A post about "our GTM team is replacing playbooks with Claude agents" matches "AI-first GTM" even without the exact phrase. Conversely, a post that mentions "AI" in passing while talking about something unrelated should not match.

For each match, capture:

  • Post date
  • A 1-3 sentence quote showing the match (use the author's own words, don't paraphrase)
  • The post URL
  • A one-line interpretation of why it matches the theme

If a post is borderline, include it in a separate "Adjacent signals" section with a note on why it's adjacent rather than a direct match.

Step 4: Write the report

Write a markdown report at the report path with this structure:

markdown
# Post scan: {theme}

**Scanned:** {date}
**Theme:** {theme exactly as user phrased it}
**Profiles:** {count}
**Posts reviewed:** {total across all profiles}

## {Profile name or URL}

**Profile:** {linkedin url}
**Headline:** {headline if available}
**Posts reviewed:** {n}
**Direct matches:** {m}

### Direct matches

#### {date} - [link]({post_url})
> {quoted excerpt}

**Why it matches:** {one-line interpretation}

{repeat per match}

### Adjacent signals
{only include if any; same format with a "Why it's adjacent" line}

### No-match summary
{if zero matches, one sentence summarizing what they DO post about so the user can judge whether the theme is truly absent or just framed differently}

---

{repeat per profile}

## Cross-profile patterns
{2-4 bullets if multiple profiles: who is loudest on the theme, what angles recur, who's silent. Skip this section for single-profile scans.}

Step 5: Report back to the user

Tell the user:

  • Path to the markdown report (relative to repo root)
  • One-line summary per profile: {name}: {n} direct matches, {m} adjacent or {name}: no mentions of {theme}
  • If there's a standout finding (a strong recent match, or a surprising silence), call it out in one sentence

Do not paste the full report into chat. The user will open the file.

Output locations

  • Report and JSON default to prospects/_scans/ - gitignore this path in your project (scan output may contain commercial signals you don't want committed)
  • If the profile maps to an existing prospects/{slug}/ folder, save there instead

What this skill does NOT do

  • Does not post to LinkedIn.
  • Does not download images (themes are textual; skip the image fetch overhead).
  • Does not scrape company pages - profiles only. For company-page scraping, a different actor is needed.
  • Does not draft outreach based on findings. That's downstream (use email-writer or signal-builder).

Troubleshooting

IssueFix
APIFY_API_TOKEN not foundAdd to .env
Actor run times outIncrease timeout_secs in scripts/prospect_posts.py or reduce --count
Profile returned 0 posts with status SUCCEEDEDProfile may be private, have no public posts, or the username was wrong. Verify the URL in a browser
A run shows FAILED / TIMED-OUTRe-run just that profile. Apify actor can be flaky on specific profiles; a retry usually works
Zero matches but you expect someWiden the theme interpretation, or check the no-match summary - the prospect may frame the topic differently than the user's phrasing
Schema changed / missing textInspect raw output with --raw-output /tmp/raw.json and update field names in extract_text() / extract_author() in scripts/prospect_posts.py

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Prospect Posts」では何ができますか?

Scrape recent LinkedIn posts from one or more prospect profiles via Apify and scan them for a theme (e.g. hiring pain, AI-first GTM). Outputs a report with matched excerpts and post links. Use for prospect or account intelligence research before outreach.

TypingMindでProspect Postsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Prospect Postsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにProspect Postsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Zevenue/headless-gtm/tree/main/skills/prospect-postsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Prospect Postsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Prospect Postsは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもProspect Postsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Prospect Posts」は無料ですか?

はい。ZevenueがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇