Enrichのロゴ

Enrich

コミュニティ人気
garrytan
enrich

Enrich brain pages with tiered enrichment protocol. Creates and updates person/company pages with compiled truth, timeline, and cross-links. Use when a new entity is mentioned or an existing page needs updating.

概要

公開者garrytan
リポジトリgbrain
スキル名enrich
スター
30.1K
フォーク
4.5K
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

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

スキルの指示

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

Enrich Skill

Enrich person and company pages from external sources. Scale effort to importance.

Contract

This skill guarantees:

  • Every enriched page has compiled truth (State section) with inline citations
  • Every enriched page has a timeline with dated entries
  • Back-links are created bidirectionally
  • Tiered enrichment: Tier 1 (full), Tier 2 (medium), Tier 3 (minimal) based on notability
  • No stubs: every new page has meaningful content from web search or existing brain context

Filing rule: Read skills/_brain-filing-rules.md before creating any new page.

Convention: See skills/conventions/quality.md for Iron Law back-linking.

Every mention of a person or company with a brain page MUST create a back-link FROM that entity's page TO the page mentioning them. An unlinked mention is a broken brain. See skills/_brain-filing-rules.md for format.

Philosophy

A brain page should read like an intelligence dossier, not a LinkedIn scrape. Facts are table stakes. Texture is the value -- what do they believe, what are they building, what makes them tick, where are they headed.

Citation Requirements (MANDATORY)

Convention: see skills/conventions/quality.md for citation formats and source precedence.

When sources conflict, note the contradiction with both citations.

When To Enrich

Primary triggers

  • User mentions an entity in conversation
  • Entity appears in a meeting transcript or email
  • New contact appears with significant context
  • Entity makes news or has a major event
  • Any ingest pipeline encounters a notable entity

Do NOT enrich

  • Random mentions with no relationship signal
  • Bot/spam accounts
  • Entities with no substantive connection to the user's work
  • Same page enriched within the past week (unless new signal warrants it)

Enrichment Tiers

Scale enrichment to importance. Don't waste API calls on low-value entities.

TierWhoEffortSources
1 (key)Inner circle, close collaborators, key contactsFull pipelineAll available APIs + deep web research
2 (notable)Occasional interactions, industry figuresModerateWeb research + social + brain cross-ref
3 (minor)Worth tracking, not criticalLightBrain cross-ref + social lookup if handle known

The Enrichment Protocol (7 Steps)

Step 1: Identify entities

Extract people, companies, concepts from the incoming signal.

Step 2: Check brain state

For each entity:

  • gbrain search "name" -- does a page already exist?
  • If yes: UPDATE path (add new signal, update compiled truth if material)
  • If no: CREATE path (check notability gate first, then create)

Step 3: Extract signal from source

Don't just capture facts. Capture texture:

Signal TypeWhat to Extract
Opinions, beliefsWhat They Believe section
Current projects, features shippedWhat They're Building section
Ambition, career arc, motivationWhat Motivates Them section
Topics they return to obsessivelyHobby Horses section
Who they amplify, argue with, respectNetwork / Relationships
Ascending, plateauing, pivoting?Trajectory section
Role, company, funding, locationState section (hard facts)

Step 4: External data source lookups

Priority order -- stop when you have enough signal for the entity's tier.

4a. Brain cross-reference (always, all tiers)

  • gbrain search "name" and gbrain query "what do we know about name"
  • Check related pages: company pages for person enrichment and vice versa
  • This is free and often the richest source

4b. Web research (Tier 1 and 2)

  • Use Perplexity, Brave Search, Exa, or equivalent web research tool
  • Key pattern: Send existing brain knowledge as context so the search returns DELTA (what's new vs what you already know), not a rehash
  • Opus-class models for Tier 1 deep research, lighter models for Tier 2

4c. Social media lookup (all tiers when handle known)

  • Pull recent posts/tweets for tone, interests, current focus
  • Social media is the highest-texture signal for what someone actually thinks

4d. People enrichment APIs (Tier 1)

  • LinkedIn data, career history, connections, education

4e. Company enrichment APIs (Tier 1)

  • Company data, financials, headcount, key hires, recent news
Data NeedExample SourcesTier
Web researchPerplexity, Brave, Exa1-2
LinkedIn / careerCrustdata, Proxycurl, People Data Labs1
Career historyHappenstance, LinkedIn1
Funding / company dataCrunchbase, PitchBook, Clearbit1
Social mediaPlatform APIs, web scraping1-3
Meeting historyCalendar/meeting transcript tools1-2

Step 5: Save raw data (preserves provenance)

Store raw API responses via put_raw_data in gbrain:

json
{
  "source": "crustdata",
  "fetched_at": "2026-04-11T...",
  "query": "jane doe",
  "data": { ... }
}

Raw data preserves provenance. If the compiled truth is ever questioned, the raw data shows exactly what the API returned.

Step 6: Write to brain

CREATE path
  1. Check notability gate (see skills/_brain-filing-rules.md)
  2. Check filing rules -- where does this entity go?
  3. Create page with the appropriate template (below)
  4. Fill compiled truth with citations
  5. Add first timeline entry
  6. Leave empty sections as [No data yet] (don't fill with boilerplate)
UPDATE path
  1. Add new timeline entries (reverse-chronological, append-only)
  2. Update compiled truth ONLY if the new signal materially changes the picture
  3. Update State section with new facts
  4. Flag contradictions between new signal and existing compiled truth
  5. Don't overwrite user-written assessments with API boilerplate
Person page template
markdown
---
title: Full Name
type: person
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: []
company: Current Company
relationship: How the user knows them
email:
linkedin:
twitter:
location:
---

# Full Name

> 1-paragraph executive summary: HOW do you know them, WHY do they matter,
> what's the current state of the relationship.

## State
Role, company, key context. Hard facts only.

## What They Believe
Ideology, first principles, worldview. What hills do they die on?

## What They're Building
Current projects, recent launches, what they're focused on.

## What Motivates Them
Ambition, career arc, what drives them.

## Hobby Horses
Topics they return to obsessively. Recurring themes in their work/posts.

## Assessment
Your read on this person. Strengths, gaps, trajectory.

## Trajectory
Ascending, plateauing, pivoting, declining? Where are they headed?

## Relationship
History of interactions, shared context, relationship quality.

## Contact
Email, social handles, preferred communication channel.

## Network
Key connections, mutual contacts, organizational relationships.

## Open Threads
Active conversations, pending items, things to follow up on.

---

## Timeline
Reverse chronological. Every entry has a date and [Source: ...] citation.
- **YYYY-MM-DD** | Event description [Source: ...]
Company page template
markdown
---
title: Company Name
type: company
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: []
---

# Company Name

> 1-paragraph executive summary.

## State
What they do, stage, key people, key metrics, your connection.

## Open Threads
Active items, pending decisions, things to track.

---

## Timeline
- **YYYY-MM-DD** | Event description [Source: ...]

Step 7: Cross-reference

  • Update company pages from person enrichment (and vice versa)
  • Update related project/deal pages if relevant context surfaced
  • Check index files if the brain uses them

Note (v0.10.1): Links between brain pages are auto-created on every put_page call (auto-link post-hook). Step 7 focuses on content cross-references (updating related pages' compiled truth with new signal from this enrichment), not on creating links. On a trusted local write the put_page response carries auto_links: { created, removed, errors }; MCP writes (stdio and HTTP) return auto_links: { skipped: "remote", hint } instead — edges are reconciled by the serve maintenance sweep or gbrain sweep --once, and add_link covers an edge you need immediately. Timeline entries still need explicit gbrain timeline-add calls.

Bulk Enrichment Rules

  • Test on 3-5 entities first. Read actual output. Check quality.
  • Only proceed to bulk after test shots pass your quality bar.
  • 3+ entities from one source -> batch process or spawn sub-agent
  • Throttle API calls. Respect rate limits.
  • Commit every 5-10 entities during bulk runs.
  • Save a report after bulk enrichment (see Report Storage below).

Validation Rules

  • Connection count < 20 on LinkedIn = likely wrong person, skip
  • Name mismatch between brain and API = skip, flag for review
  • Joke profiles or obviously wrong data = save to raw, don't update page
  • Don't overwrite user-written assessments with API boilerplate
  • When in doubt: save raw data but don't update brain page

Report Storage

After enrichment sweeps, save a report:

  • Number of entities processed
  • New pages created vs existing updated
  • Data sources called and results quality
  • Notable discoveries or contradictions
  • Validation flags or API failures

This creates an audit trail for brain enrichment over time.

Anti-Patterns

  • Creating stub pages with no content
  • Enriching without checking brain first
  • Overwriting user's direct statements with API data
  • Creating pages for non-notable entities

Output Format

An enriched person page contains:

  • Frontmatter with type, tags, company, relationship, and contact fields
  • Executive summary (1 paragraph: how you know them, why they matter, relationship state)
  • State section with hard facts and inline [Source: ...] citations
  • Texture sections (What They Believe, What They're Building, What Motivates Them, Hobby Horses)
  • Assessment with trajectory read
  • Relationship history and contact info
  • Network connections and mutual contacts
  • Timeline in reverse chronological order, every entry dated with source citation

An enriched company page contains:

  • Frontmatter with type and tags
  • Executive summary (1 paragraph)
  • State section (what they do, stage, key people, metrics, your connection)
  • Open Threads (active items, pending decisions)
  • Timeline in reverse chronological order with dated, cited entries

Both page types have bidirectional back-links to every entity they mention.

Tools Used

  • Read a page from gbrain (get_page)
  • Store/update a page in gbrain (put_page)
  • Add a timeline entry in gbrain (add_timeline_entry)
  • List pages in gbrain by type (list_pages)
  • Store raw API data in gbrain (put_raw_data)
  • Retrieve raw data from gbrain (get_raw_data)
  • Link entities in gbrain (add_link)
  • Check backlinks in gbrain (get_backlinks)

よくある質問

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

Enrich brain pages with tiered enrichment protocol. Creates and updates person/company pages with compiled truth, timeline, and cross-links. Use when a new entity is mentioned or an existing page needs updating.

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

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/garrytan/gbrain/tree/master/plugin-variants/gbrain-coding/skills/enrichを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

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

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

Enrichで使えるAIモデルの数に制限はありますか?

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

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

はい。garrytanがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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