Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính31k · #9275

data-research

Skill này làm gì

Skill này thu thập thông tin cụ thể từ email hoặc nguồn web vào một trang theo dõi. Nó có thể theo dõi cập nhật nhà đầu tư, chi phí, chỉ số công ty hoặc các mục khác mà bạn định nghĩa.

Khi nào nên dùng

  • ✓Khi bạn muốn theo dõi cập nhật nhà đầu tư, chi phí hoặc chỉ số công ty từ email của mình.
  • ✓Khi bạn muốn xây dựng một trang theo dõi từ dữ liệu rải rác trong email hoặc trang web.
  • ✓Khi bạn muốn thiết lập một đợt thu thập dữ liệu định kỳ, chẳng hạn một lần kiểm tra lặp lại.

Liên kết skill

https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-daily/skills/data-research/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-daily/skills/data-research/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm trong email của tôi các cập nhật nhà đầu tư trong quý trước và thêm các con số chính vào trang theo dõi của tôi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tìm các thư khớp trong nguồn của bạn, trích xuất các trường bạn đã chọn, và lưu nguồn gốc để tham chiếu. Nó loại bỏ trùng lặp và cập nhật trang theo dõi với liên kết đến những người và công ty liên quan.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Data Research

Structured research pipeline: search sources, extract structured data, archive raw, deduplicate, update canonical trackers, backlink entities.

Contract

One skill for any email-to-structured-data pipeline. The only differences between tracking investor updates, expenses, and company metrics are the search queries, extraction schemas, and tracker page format. All three use the same 7-phase pipeline with parameterized recipes.

When to Use

  • User wants to track structured data from email, web, or API sources
  • User says "research", "track", "extract from email", "build a tracker"
  • User mentions investor updates, donations, company metrics, filings
  • User wants to set up recurring data collection (with cron recipe)

Phases

Phase 1: Define Research Recipe

Infer the research target from conversation context, recent brain activity, active tasks (ops/tasks.md), and memory files. If the request is ambiguous, present the most likely interpretation based on what the user has been working on. Only ask for clarification if context is genuinely insufficient. Options:

  • Pick a built-in recipe: investor-updates, expense-tracker, company-updates
  • Define a custom recipe with: source queries, classification rules, extraction schema, tracker page path, tracker format

Recipes are YAML files at ~/.gbrain/recipes/{name}.yaml. Scaffold a new one by copying a built-in recipe file and editing its fields.

Phase 2: Search Sources

Brain first (maybe we already have this data). Then:

  • Email via credential gateway: windowed queries (quarterly, monthly if truncated)
  • Web via search: public filings, press releases, regulatory data
  • APIs: any structured data source the recipe defines
  • Attachments: PDF extraction, HTML stripping

Phase 3: Classify

Deterministic first (regex patterns from recipe), LLM fallback. Log every LLM fallback for future regex improvement (fail-improve loop). Skip marketing, newsletters, noise based on recipe's classification rules.

Phase 4: Extract Structured Data

EXTRACTION INTEGRITY RULE:

  1. Save raw source immediately (before any extraction)
  2. Extract fields using deterministic regex first, LLM fallback
  3. When summarizing batch results: re-read from saved files
  4. Never trust LLM working memory after batch processing

This prevents a known hallucination bug where batch-processed amounts were 13/13 wrong from LLM working memory while saved files were correct.

Phase 5: Archive Raw Sources

  • put_raw_data for email bodies, API responses
  • file_upload for PDF attachments, documents
  • Create .redirect.yaml pointers for large files in storage
  • Every tracker entry must link back to its raw source

Phase 6: Deduplicate

Before adding to tracker:

  • Exact match (same key fields) → skip
  • Fuzzy match (same entity + date + similar amount within tolerance) → flag for review
  • Different amount for same entity+date → add with note (could be correction)

Phase 7: Update Canonical Tracker + Backlink

  • Parse existing tracker page (markdown table)
  • Append new entries in correct section (grouped by year/quarter/entity)
  • Compute running totals
  • Backlink every mentioned entity (person → people/ page, company → companies/ page)
  • Uses enrichment service for entity pages

Built-In Recipes

Three example recipes ship with GBrain (see ~/.gbrain/recipes/):

  1. investor-updates — extract MRR, ARR, growth, burn, runway, headcount from investor update emails
  2. expense-tracker — extract amounts, recipients, platforms from receipt emails (subscriptions, services, recurring charges)
  3. company-updates — extract revenue, users, key metrics from portfolio company update emails

When it fails

Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:

  • file_upload is refused for a path outside the allowed root (remote callers are confined): ask the user to upload from the brain host or pass the content inline.
  • put_page / add_timeline_entry returns revision_conflict or write_pending: re-read and merge for the first; poll gbrain write-request <request_id> for the second.
  • An extraction source rate-limits (rate_limited): back off for the stated delay and keep the cursor; log the gap instead of guessing the missing rows.

Anti-Patterns

  • Trusting LLM working memory for amounts aft
Câu hỏi thường gặp

Tôi có thể dùng định dạng trang theo dõi riêng không?

Có. Bạn có thể định nghĩa một công thức tùy chỉnh với truy vấn tìm kiếm, các trường và bố cục trang riêng.

Nó có giữ lại email gốc không?

Có. Nguồn gốc được lưu trữ để mỗi mục trong trang theo dõi có thể truy về nguồn.

Nó có chạy theo lịch được không?

Có. Một đợt thu thập lặp lại có thể được thiết lập bằng công thức cron.

Chi tiết

Mô tả gốc của tác giả

Structured data research: search sources, extract structured data, archive raw sources, maintain canonical tracker pages, deduplicate. Parameterized via YAML recipes for investor updates, donations, company updates, or any email-to-structured-data pipeline.

repo: garrytan/gbrain

Độ phổ biến

Sao GitHub
31k
Vị trí xếp hạng
#9275
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự