[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R2Z4XVNXSX6Z40S699BQCW":3,"skill-same:01M6R2Z4XVNXSX6Z40S699BQCW":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":30,"publishedAt":51,"linkOnly":52,"markdownContent":53,"markdownBody":54,"frontMatter":55,"refName":72,"commitSha":73,"skillDirectory":74,"forksCount":13,"repositoryHtmlUrl":75,"repositoryHomepageUrl":6,"ownerHtmlUrl":76,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":77,"install":78,"resources":90},"01M6R2Z4XVNXSX6Z40S699BQCW","data-research",null,"Structured data research: search sources, extract structured data,\narchive raw sources, maintain canonical tracker pages, deduplicate.\nParameterized via YAML recipes for investor updates, donations,\ncompany updates, or any email-to-structured-data pipeline.","sixtycat2000-ctrl\u002Fgbrain-qmd","sixtycat2000-ctrl","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F263121306?v=4","01M6R2SPVP79P6Y6CC3HW4Y6GD","01M6R2SQ2MJXN4VVXWT7NQW9DD",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fdata-research\u002FSKILL.md",[17,22,25],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000005","邮件与沟通","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01JBSEEDCAT000000000000033","数据分析师","PROFESSION","适用职业",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],"data research","data","research","recipes","company","track","for","updates","canonical","add","sources","structured-data","get","query","maintain","tracker","pipeline","email","search","data pipeline","2026-11-10 10:12:30",false,"---\nname: data-research\nversion: 1.0.0\ndescription: |\n  Structured data research: search sources, extract structured data,\n  archive raw sources, maintain canonical tracker pages, deduplicate.\n  Parameterized via YAML recipes for investor updates, donations,\n  company updates, or any email-to-structured-data pipeline.\ntriggers:\n  - \"research\"\n  - \"track\"\n  - \"extract from email\"\n  - \"investor updates\"\n  - \"donations\"\n  - \"build a tracker\"\n  - \"data dig\"\ntools:\n  - search\n  - query\n  - get_page\n  - put_page\n  - add_link\n  - add_timeline_entry\n  - put_raw_data\n  - file_upload\nmutating: true\n---\n\n# Data Research\n\nStructured research pipeline: search sources, extract structured data,\narchive raw, deduplicate, update canonical trackers, backlink entities.\n\n## Contract\n\nOne skill for any email-to-structured-data pipeline. The only differences\nbetween tracking investor updates, expenses, and company metrics\nare the **search queries**, **extraction schemas**, and **tracker page format**.\nAll three use the same 7-phase pipeline with parameterized recipes.\n\n## When to Use\n\n- User wants to track structured data from email, web, or API sources\n- User says \"research\", \"track\", \"extract from email\", \"build a tracker\"\n- User mentions investor updates, donations, company metrics, filings\n- User wants to set up recurring data collection (with cron recipe)\n\n## Phases\n\n### Phase 1: Define Research Recipe\n\nAsk the user what they want to track. Either:\n- Pick a built-in recipe: investor-updates, expense-tracker, company-updates\n- Define a custom recipe with: source queries, classification rules, extraction schema,\n  tracker page path, tracker format\n\nRecipes are YAML files at `~\u002F.gbrain\u002Frecipes\u002F{name}.yaml`. Use `gbrain research init`\nto scaffold a new one.\n\n### Phase 2: Search Sources\n\nBrain first (maybe we already have this data). Then:\n- **Email** via credential gateway: windowed queries (quarterly, monthly if truncated)\n- **Web** via search: public filings, press releases, regulatory data\n- **APIs**: any structured data source the recipe defines\n- **Attachments**: PDF extraction, HTML stripping\n\n### Phase 3: Classify\n\nDeterministic first (regex patterns from recipe), LLM fallback.\nLog every LLM fallback for future regex improvement (fail-improve loop).\nSkip marketing, newsletters, noise based on recipe's classification rules.\n\n### Phase 4: Extract Structured Data\n\n**EXTRACTION INTEGRITY RULE:**\n1. Save raw source immediately (before any extraction)\n2. Extract fields using deterministic regex first, LLM fallback\n3. When summarizing batch results: **re-read from saved files**\n4. Never trust LLM working memory after batch processing\n\nThis prevents a known hallucination bug where batch-processed amounts were\n13\u002F13 wrong from LLM working memory while saved files were correct.\n\n### Phase 5: Archive Raw Sources\n\n- `put_raw_data` for email bodies, API responses\n- `file_upload` for PDF attachments, documents\n- Create `.redirect.yaml` pointers for large files in storage \u003C!-- QMD-adapted: in QMD local mode, files are stored locally; redirect pointers reference local paths -->\n- Every tracker entry must link back to its raw source\n\n### Phase 6: Deduplicate\n\nBefore adding to tracker:\n- Exact match (same key fields) → skip\n- Fuzzy match (same entity + date + similar amount within tolerance) → flag for review\n- Different amount for same entity+date → add with note (could be correction)\n\n### Phase 7: Update Canonical Tracker + Backlink\n\n- Parse existing tracker page (markdown table)\n- Append new entries in correct section (grouped by year\u002Fquarter\u002Fentity)\n- Compute running totals\n- Backlink every mentioned entity (person → people\u002F page, company → companies\u002F page)\n- Uses enrichment service for entity pages\n\n## Built-In Recipes\n\nThree example recipes ship with GBrain (see `~\u002F.gbrain\u002Frecipes\u002F`):\n\n1. **investor-updates** — extract MRR, ARR, growth, burn, runway, headcount from investor update emails\n2. **expense-tracker** — extract amounts, recipients, platforms from receipt emails (subscriptions, services, recurring charges)\n3. **company-updates** — extract revenue, users, key metrics from portfolio company update emails\n\n## Anti-Patterns\n\n- Trusting LLM working memory for amounts after batch processing (use extraction integrity rule)\n- Creating tracker entries without raw source links\n- Running without deduplication (leads to double-counted entries)\n- Hardcoding source-specific patterns in the pipeline code (use recipes)\n\n## Output Format\n\nBrain page at the recipe's `tracker_page` path with markdown tables:\n\n```markdown\n### 2026\n\n| Date | Company | MRR | ARR | Growth | Status |\n|------|---------|-----|-----|--------|--------|\n| 2026-04-01 | Example Co | $188K | $2.3M | +14.7% MoM | [Source](link) |\n```\n\nEach entry links to its raw source. Running totals at the bottom of each section.\n\n## Conventions\n\nReferences `skills\u002Fconventions\u002Fquality.md` for citation and back-linking rules.\n","# Data Research\n\nStructured research pipeline: search sources, extract structured data,\narchive raw, deduplicate, update canonical trackers, backlink entities.\n\n## Contract\n\nOne skill for any email-to-structured-data pipeline. The only differences\nbetween tracking investor updates, expenses, and company metrics\nare the **search queries**, **extraction schemas**, and **tracker page format**.\nAll three use the same 7-phase pipeline with parameterized recipes.\n\n## When to Use\n\n- User wants to track structured data from email, web, or API sources\n- User says \"research\", \"track\", \"extract from email\", \"build a tracker\"\n- User mentions investor updates, donations, company metrics, filings\n- User wants to set up recurring data collection (with cron recipe)\n\n## Phases\n\n### Phase 1: Define Research Recipe\n\nAsk the user what they want to track. Either:\n- Pick a built-in recipe: investor-updates, expense-tracker, company-updates\n- Define a custom recipe with: source queries, classification rules, extraction schema,\n  tracker page path, tracker format\n\nRecipes are YAML files at `~\u002F.gbrain\u002Frecipes\u002F{name}.yaml`. Use `gbrain research init`\nto scaffold a new one.\n\n### Phase 2: Search Sources\n\nBrain first (maybe we already have this data). Then:\n- **Email** via credential gateway: windowed queries (quarterly, monthly if truncated)\n- **Web** via search: public filings, press releases, regulatory data\n- **APIs**: any structured data source the recipe defines\n- **Attachments**: PDF extraction, HTML stripping\n\n### Phase 3: Classify\n\nDeterministic first (regex patterns from recipe), LLM fallback.\nLog every LLM fallback for future regex improvement (fail-improve loop).\nSkip marketing, newsletters, noise based on recipe's classification rules.\n\n### Phase 4: Extract Structured Data\n\n**EXTRACTION INTEGRITY RULE:**\n1. Save raw source immediately (before any extraction)\n2. Extract fields using deterministic regex first, LLM fallback\n3. When summarizing batch results: **re-read from saved files**\n4. Never trust LLM working memory after batch processing\n\nThis prevents a known hallucination bug where batch-processed amounts were\n13\u002F13 wrong from LLM working memory while saved files were correct.\n\n### Phase 5: Archive Raw Sources\n\n- `put_raw_data` for email bodies, API responses\n- `file_upload` for PDF attachments, documents\n- Create `.redirect.yaml` pointers for large files in storage \u003C!-- QMD-adapted: in QMD local mode, files are stored locally; redirect pointers reference local paths -->\n- Every tracker entry must link back to its raw source\n\n### Phase 6: Deduplicate\n\nBefore adding to tracker:\n- Exact match (same key fields) → skip\n- Fuzzy match (same entity + date + similar amount within tolerance) → flag for review\n- Different amount for same entity+date → add with note (could be correction)\n\n### Phase 7: Update Canonical Tracker + Backlink\n\n- Parse existing tracker page (markdown table)\n- Append new entries in correct section (grouped by year\u002Fquarter\u002Fentity)\n- Compute running totals\n- Backlink every mentioned entity (person → people\u002F page, company → companies\u002F page)\n- Uses enrichment service for entity pages\n\n## Built-In Recipes\n\nThree example recipes ship with GBrain (see `~\u002F.gbrain\u002Frecipes\u002F`):\n\n1. **investor-updates** — extract MRR, ARR, growth, burn, runway, headcount from investor update emails\n2. **expense-tracker** — extract amounts, recipients, platforms from receipt emails (subscriptions, services, recurring charges)\n3. **company-updates** — extract revenue, users, key metrics from portfolio company update emails\n\n## Anti-Patterns\n\n- Trusting LLM working memory for amounts after batch processing (use extraction integrity rule)\n- Creating tracker entries without raw source links\n- Running without deduplication (leads to double-counted entries)\n- Hardcoding source-specific patterns in the pipeline code (use recipes)\n\n## Output Format\n\nBrain page at the recipe's `tracker_page` path with markdown tables:\n\n```markdown\n### 2026\n\n| Date | Company | MRR | ARR | Growth | Status |\n|------|---------|-----|-----|--------|--------|\n| 2026-04-01 | Example Co | $188K | $2.3M | +14.7% MoM | [Source](link) |\n```\n\nEach entry links to its raw source. Running totals at the bottom of each section.\n\n## Conventions\n\nReferences `skills\u002Fconventions\u002Fquality.md` for citation and back-linking rules.\n",{"name":5,"tools":56,"version":63,"mutating":64,"triggers":65,"description":71},[49,44,57,58,59,60,61,62],"get_page","put_page","add_link","add_timeline_entry","put_raw_data","file_upload","1.0.0",true,[33,36,66,67,68,69,70],"extract from email","investor updates","donations","build a tracker","data dig","Structured data research: search sources, extract structured data,\narchive raw sources, maintain canonical tracker pages, deduplicate.\nParameterized via YAML recipes for investor updates, donations,\ncompany updates, or any email-to-structured-data pipeline.\n","master","48f3da67113808a35b3721091cc58290a8c49ab4","skills\u002Fdata-research","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl","2026-04-26 19:27:01",{"source":8,"skillName":5,"commands":79,"prompt":89,"zipAvailable":64},[80,83,86],{"tool":81,"command":82},"npx","npx skills add sixtycat2000-ctrl\u002Fgbrain-qmd --skill data-research",{"tool":84,"command":85},"bunx","bunx skills add sixtycat2000-ctrl\u002Fgbrain-qmd --skill data-research",{"tool":87,"command":88},"pnpm","pnpm dlx skills add sixtycat2000-ctrl\u002Fgbrain-qmd --skill data-research","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fdata-research\u002FSKILL.md",[],[92,115,148,172,195,218],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":51},"01M6R33ZFP10GVGJ7FX4GQWVK1","webhook-transforms","Generic framework for converting external events (SMS, meetings, social mentions)\ninto brain-ingestible signals. Define a transform function, register a webhook URL,\nand incoming events get processed through the brain pipeline.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fwebhook-transforms\u002FSKILL.md",[],[99,100,101,49,47,102,103,104,105,106,107,43,108,109,110,111,112,113,37,114],"webhook","transforms","webhook transforms","SET","page","meetings","up","social","signals","define","register","sms","event","URL","true","generic",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":130,"publishedAt":51},"01M6R33SCJAHZHG7HRN0JF29AB","testing","Skill validation framework. Validates every skill has SKILL.md with frontmatter,\nevery reference exists, every env var is declared. The testing contract for the\nskill system itself.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Ftesting\u002FSKILL.md",[121,124,127],{"categoryNo":122,"categoryName":123,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":125,"categoryName":126,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":128,"categoryName":129,"taxonomyType":28,"taxonomyTypeDesc":29},"01JBSEEDCAT000000000000037","律师与法务",[117,131,132,133,49,134,135,136,137,138,139,140,141,142,143,144,145,146,147,37],"test","run","validation","health","system","check","health check","skill validation","validate skills","contract","tests","skill health","pages","env","false","test skills","with",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":155,"publishedAt":51},"01M6R33DCE6RSA4YRCJ5H787E3","soul-audit","6-phase interactive interview that generates the agent's identity (SOUL.md),\nuser profile (USER.md), access control (ACCESS_POLICY.md), and operational\ncadence (HEARTBEAT.md). Re-runnable anytime to update any section.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fsoul-audit\u002FSKILL.md",[154],{"categoryNo":125,"categoryName":126,"taxonomyType":20,"taxonomyTypeDesc":21},[156,157,158,159,160,102,161,103,162,163,105,164,165,166,167,168,169,113,170,171],"audit","soul","soul audit","policy","customize","access","interactive","interview","personality","Access Control","cadence","SOUL.md","re","my agent","section","phase",{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":179,"publishedAt":51},"01M6R338GVZ1B8RCTWCEBG3SFS","smoke-test","Post-restart smoke tests + auto-fix for gbrain and OpenClaw environments.\nTests critical services, auto-fixes known issues, extensible via user-defined\ntest scripts in ~\u002F.gbrain\u002Fsmoke-tests.d\u002F*.sh.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fsmoke-test\u002FSKILL.md",[178],{"categoryNo":122,"categoryName":123,"taxonomyType":20,"taxonomyTypeDesc":21},[131,180,181,182,183,132,184,185,186,187,188,141,189,190,191,113,37,192,193,194],"smoke","smoke test","openclaw","run smoke tests","issues","read","fix","auto","restart","critical","scripts","environments","fixes","break","auto-fix",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":51},"01M6R32XF94PR8S1G75S1FRZ94","skillpack-check","Run `gbrain skillpack-check` to produce an agent-readable JSON health report\nfor the gbrain install. Wraps `gbrain doctor` + `gbrain apply-migrations\n--list` so a host agent (your OpenClaw's morning-briefing, any OpenClaw cron)\ncan see at a glance whether the skillpack needs attention.\n\nUse when the user asks \"is gbrain healthy?\", when a cron fires a morning\ncheck, or proactively when something seems off (jobs not running, brain\nnot updating, autopilot silent).","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fskillpack-check\u002FSKILL.md",[],[136,202,203,204,134,205,206,207,208,145,209,210,211,212,213,37,214,215,216,217],"skillpack check","doctor","produce","use","migrations","glance","attention","gbrain","host","healthy","briefing","can","apply","morning check","when","running",{"skillNo":219,"name":220,"nameZh":6,"description":221,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":222,"categories":223,"keywords":225,"publishedAt":51},"01M6R32RBQXAG40PM35VSA2Y8T","skillify","The meta skill. Turn any raw feature or script into a properly-skilled,\ntested, resolvable, evaled unit of agent-visible capability. Use when\nthe user says \"skillify this\", \"is this a skill?\", \"make this proper\",\nor after a new feature is built without the full skill infrastructure.\n\nPaired with `gbrain check-resolvable`, skillify gives a user-controllable\nequivalent of Hermes' auto-skill-creation: you build, skillify checks the\nchecklist, check-resolvable verifies nothing is orphaned. The human keeps\njudgment; the tooling keeps the checklist honest.","https:\u002F\u002Fgithub.com\u002Fsixtycat2000-ctrl\u002Fgbrain-qmd\u002Fblob\u002Fmaster\u002Fskills\u002Fskillify\u002FSKILL.md",[224],{"categoryNo":125,"categoryName":126,"taxonomyType":20,"taxonomyTypeDesc":21},[220,226,49,227,228,187,229,230,231,232,233,234,145,40,235,236,237,37,238,216],"infrastructure","Meta","list","evals","human","judgment","full","creation","feature","unit","make","you","capability"]