data-research
ما الذي تفعله
تجمع هذه المهارة معلومات محددة من الرسائل أو مصادر الويب في صفحة متتبع واحدة. يمكنها تتبع تحديثات المستثمرين أو المصروفات أو مقاييس الشركة أو عناصر أخرى تحددها.
متى تستخدمها
- ✓عندما تريد تتبع تحديثات المستثمرين أو المصروفات أو مقاييس الشركة من بريدك.
- ✓عندما تريد بناء صفحة متتبع من بيانات متفرقة في رسائل أو صفحات ويب.
- ✓عندما تريد إعداد جمع بيانات متكرر، مثل فحص دوري.
رابط المهارة
https://github.com/garrytan/gbrain/blob/master/plugin-variants/gbrain-daily/skills/data-research/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ابحث في بريدي عن تحديثات المستثمرين للربع الأخير، وأضف الأرقام الأساسية إلى المتتبع.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يبحث الوكيل في مصادرك عن الرسائل المطابقة، ويستخرج الحقول التي اخترتها، ويحفظ المصدر الخام للمرجع. ثم يزيل التكرار ويحدّث صفحة المتتبع بروابط للأشخاص والشركات المعنية.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
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:
- Save raw source immediately (before any extraction)
- Extract fields using deterministic regex first, LLM fallback
- When summarizing batch results: re-read from saved files
- 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_datafor email bodies, API responsesfile_uploadfor PDF attachments, documents- Create
.redirect.yamlpointers 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/):
- investor-updates — extract MRR, ARR, growth, burn, runway, headcount from investor update emails
- expense-tracker — extract amounts, recipients, platforms from receipt emails (subscriptions, services, recurring charges)
- 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_uploadis 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_entryreturnsrevision_conflictorwrite_pending: re-read and merge for the first; pollgbrain 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
الأسئلة الشائعة
هل يمكنني استخدام تنسيق المتتبع الخاص بي؟
نعم. يمكنك تعريف وصفة مخصصة بعبارات بحثك وحقولك وتخطيط الصفحة.
هل يحتفظ بالرسائل الأصلية؟
نعم. تُؤرشف المصادر الخام حتى يمكن ربط كل مدخل في المتتبع بمصدره.
هل يعمل وفق جدول زمني؟
نعم. يمكن إعداد جمع متكرر باستخدام وصفة cron.
التفاصيل
الوصف الأصلي من المؤلف
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
الشعبية
- نجوم GitHub
- 31k
- الترتيب
- #9275
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
gbrain
31kيتيح لوكيلك البحث في عقل المعرفة المشترك للشركة عن معلومات عن الأشخاص والمشاريع والقرارات، وحفظ ملاحظات دائمة فيه.
brain-ingest-gate
31kيفحص المحتوى الجديد أمام عقل المعرفة الموجود قبل إضافته، لتجنب التكرار وحسم الكيانات المسمّاة أولًا.
brain-link-discipline
31kيضمن أن يتضمن وكيلك رابطًا يعمل لكل صفحة من العقل يبلّغ عنها، في الرسالة نفسها، لتفتحها فورًا.
brain-ops
31kيزوّد وكيلك بالروتين الأساسي للعقل المعرفي: الاطلاع على السياق أولًا، وحفظ الملاحظات الصريحة مع مصدرها، وربط الصفحات ذات الصلة.
مهارات مشابهة
gitcrawl
394kيتيح لوكيلك البحث في أرشيف محفوظ لمشكلات GitHub وطلبات السحب، وتجميع المكرر منها، والتحقق من حالتها الحالية على GitHub.
slacrawl
394kيتيح لوكيلك البحث في رسائل Slack داخل أرشيف محلي وعدّها، والتحقق من مدى حداثة الأرشيف، وتحديثه عند الحاجة.
goplaces
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.