Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

ingestingest 搜索

Agent Skill

ingest 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

815

周安装

35

GitHub Stars

12,505

下载量

286
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ingest(ingest 搜索)
来源仓库:https://github.com/garrytan/gbrain
仓库路径:skills/ingest
安装命令:
npx skills add https://github.com/garrytan/gbrain --skill ingest
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/garrytan/gbrain --skill ingest

简介

用于查找、检索和筛选相关信息,适合根据关键词快速定位候选结果。

  • 可结合任务场景或来源线索进行信息聚合,支持技能库探索和匹配。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。
  • 安装命令为 npx skills add https://github.com/garrytan/gbrain --skill ingest。
  • 适用于 Codex、Claude、Cursor、Gemini CLI,需通过 GitHub 仓库安装。

SKILL.md

Ingest Skill

Ingest meetings, articles, media, documents, and conversations into the brain.

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

Contract

  • Every fact written to a brain page carries an inline [Source:...] citation with date and provenance.
  • Every entity mention creates a back-link from the entity's page to the page mentioning them (Iron Law).
  • Raw sources are preserved for provenance via gbrain files upload-raw with automatic size routing.
  • State sections are rewritten with current best understanding, never appended to.
  • Entity detection fires on every inbound message; notable entities get pages or updates.
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.

Citation Requirements (MANDATORY)

Every fact written to a brain page must carry an inline [Source:...] citation.

  • User's statements: [Source: User, {context}, YYYY-MM-DD]
  • Meeting data: [Source: Meeting "{title}", YYYY-MM-DD]
  • Email/message: [Source: email from {name} re: {subject}, YYYY-MM-DD]
  • Web content: [Source: {publication}, {URL}, YYYY-MM-DD]
  • Social media: [Source: X/@handle, YYYY-MM-DD](URL) (include link)
  • Synthesis: [Source: compiled from {sources}]

Phases

Router note: This skill is a router. For specialized ingestion, see: idea-ingest, media-ingest, meeting-ingestion.
  1. Parse the source. Extract people, companies, dates, and events from the input.
  2. For each entity mentioned:

- Read the entity's page from gbrain to check if it exists - If exists: update compiled_truth (rewrite State section with new info, don't append) - If new: check notability gate, then store the page in gbrain with the appropriate type and slug

  1. Append to timeline. Add a timeline entry in gbrain for each event, with date, summary, and source citation.
  2. Create cross-reference links. Link entities in gbrain for every entity pair mentioned together, using the appropriate relationship type.
  3. Back-link all entities. Update EVERY mentioned entity's page with a back-link to this page (Iron Law).
  4. Timeline merge. The same event appears on ALL mentioned entities' timelines. If Alice met Bob at Acme Corp, the event goes on Alice's page, Bob's page, and Acme Corp's page.

Entity Detection on Every Message

Production agents should detect entity mentions on EVERY inbound message. This is the signal detection loop that makes the brain compound over time.

Protocol

  1. Scan the message for entity mentions: people, companies, concepts, original thinking. Fire on every message (no exceptions unless purely operational).
  2. For each entity detected:

- gbrain search "name" -- does a page already exist? - If yes: load context with gbrain get <slug>. Use the compiled truth to inform your response. Update the page if the message contains new information. - If no: assess notability (see skills/_brain-filing-rules.md). If the entity is worth tracking, create a new page with gbrain put <type/slug> and populate with what you know.

  1. After creating or updating pages: sync to gbrain: gbrain sync --no-pull --no-embed
  2. Don't block the conversation. Entity detection and enrichment should happen alongside the response, not before it. The user shouldn't wait for brain writes to get an answer.

What counts as notable

  • People the user interacts with or discusses (not random mentions)
  • Companies relevant to the user's work or interests
  • Concepts or frameworks the user references or creates
  • The user's own original thinking (ideas, theses, observations) -- highest value
  • See skills/_brain-filing-rules.md for the full notability gate

What to capture from the user's own thinking

Original thinking is the most valuable signal. Capture exact phrasing -- the user's language IS the insight. Don't paraphrase.

  • Novel observations or theses
  • Frameworks, mental models, heuristics
  • Connections between ideas that others miss
  • Contrarian positions with reasoning
  • Strong reactions to external stimuli (what triggered it and why)

Media Workflows

Content the user encounters should be captured in the brain. File by PRIMARY SUBJECT, not by format (see skills/_brain-filing-rules.md).

Articles & Web Content

Input: URL shared by user, or article mentioned in conversation.

Process:

  1. Fetch content (web_fetch or equivalent)
  2. Extract: title, author, publication, date, full text
  3. Summarize: executive summary + key arguments (not a rehash)
  4. Extract entities: people, companies, concepts mentioned
  5. Save raw source for provenance (see Raw Source Preservation below)
  6. Analyze for the user: don't just summarize. What's interesting given what you know about them? Flag connections, contradictions, content opportunities.

Write to: appropriate directory per filing rules (about a person -> people/, about a company -> companies/, reusable framework -> concepts/, raw data -> sources/)

Videos & Podcasts

Input: URL (YouTube, podcast, etc.) or local audio/video file.

Process:

  1. Get transcript -- speaker-diarized if possible (services like Diarize.io provide speaker-labeled, word-level timing)
  2. Save raw transcript (both JSON and human-readable TXT)
  3. Analyze: executive summary, key ideas, key quotes with speaker attribution, notable stories/anecdotes, people and companies mentioned
  4. Extract and cross-reference all entities mentioned
  5. HARD RULE: every video/podcast brain page MUST link to the raw diarized transcript. A page without transcript links is incomplete.

Write to: media/videos/ or media/podcasts/ with back-links to all entities.

Quality bar:

  • Compelling headline (not "This video discusses...")
  • Executive summary that makes you want to watch/listen
  • Key Ideas as actual insights, not topic labels
  • Verbatim quotes with real speaker names (not "speaker_0")
  • All entities extracted with context and back-linked

PDFs & Documents

Input: File path or URL.

Process:

  1. Extract text (OCR if scanned/image PDF)
  2. Save raw source for provenance
  3. Summarize: executive summary + key sections + notable data
  4. Extract entities
  5. Cross-reference from entity pages

Write to: per filing rules (file by primary subject, not format).

Screenshots & Images

Input: Image file.

Process:

  1. Analyze content (OCR for text-heavy images, description for photos)
  2. If tweet screenshot: extract text, author, date, route to social media workflow
  3. If article screenshot: extract text, route to article workflow
  4. If data/chart: extract data points, describe findings

Write to: depends on content -- route to the appropriate workflow above.

Meeting Transcripts

Input: Transcript from meeting recording service, or manual notes.

Process:

  1. Pull full transcript (source of truth -- AI summaries are medium-low trust)
  2. Save raw transcript for provenance
  3. Write meeting page with YOUR analysis above the line, raw transcript below
  4. Entity propagation (MANDATORY): for each attendee and company discussed:

- Update their brain page State section if new info surfaced - Append to their Timeline with link to the meeting page - Create page if person/company is notable and has no page yet

  1. A meeting is NOT fully ingested until all entity pages are updated

Write to: meetings/YYYY-MM-DD-short-description.md

What makes a good meeting page:

  • Reveals the real crux, not a bullet dump
  • Connects to existing brain pages (people, companies, deals)
  • Flags what changed (status, decisions, new info)
  • Names tension or what was left unsaid
  • Captures actual dynamic, not performative summary

Social Media Content

Input: Tweet, thread, or social media post.

Process:

  1. Fetch full content (thread, quote tweets, context)
  2. If images present: OCR via vision model for full text extraction
  3. Summarize: what's being said, why it matters, who's involved
  4. Extract entities and update brain pages
  5. Include direct link to the original post (MANDATORY for citations)

Write to: media/x/ for daily aggregation, or entity-specific directories if the post is primarily about a person/company.

Raw Source Preservation

Every ingested item must have its raw source preserved for provenance.

Use gbrain files upload-raw for automatic size routing:

gbrain files upload-raw <file> --page <page-slug> --type <type>
  • < 100 MB text/PDF: stays in git (brain repo .raw/ sidecar directories)
  • >= 100 MB OR media (video, audio, images): uploaded to cloud storage via TUS resumable upload, .redirect.yaml pointer left in the brain repo

The .redirect.yaml pointer format:

target: supabase://brain-files/page-slug/filename.mp4
bucket: brain-files
storage_path: page-slug/filename.mp4
size: 524288000
size_human: 500 MB
hash: sha256:abc123...
mime: video/mp4
uploaded: 2026-04-11T...
type: transcript

Accessing stored files:

  • gbrain files signed-url <storage-path> -- generate 1-hour signed URL for viewing/sharing
  • gbrain files restore <dir> -- download back to local from cloud storage

Use put_raw_data in gbrain to store raw API responses and metadata (JSON, not binary).

Test Before Bulk

When processing multiple items (batch video ingestion, bulk meeting processing, etc.):

  1. Test on 3-5 items first. Run in test mode if available.
  2. Read the actual output. Is the quality good? Are titles compelling (not "This video discusses...")? Are entities extracted and back-linked? Is the format clean?
  3. Fix what's wrong in the approach/skill, not via one-off patches.
  4. Only then: bulk execute with throttling, commits every 5-10 items.

The marginal cost of testing 3 items first is near zero. The cost of cleaning up 100 bad pages is enormous.

Quality Rules

  • Executive summary in compiled_truth must be updated, not just timeline appended
  • State section is REWRITTEN, not appended to. Current best understanding only.
  • Timeline entries are reverse-chronological (newest first)
  • Every person/company mentioned gets a page if notable (see filing rules)
  • Link types: knows, works_at, invested_in, founded, met_at, discussed
  • Source attribution: every timeline entry includes [Source:...] citation
  • Back-links: every entity mention creates a back-link (Iron Law)
  • Filing: file by primary subject, not format or source (see filing rules)

Anti-Patterns

  • Appending to State sections. State is rewritten with the current best understanding on every update. Append-only State sections grow stale and contradictory.
  • Ingesting without back-links. An unlinked mention is a broken brain. Every entity mentioned must have a back-link from their page to the page mentioning them.
  • Skipping raw source preservation. Every ingested item must have its raw source preserved. A brain page without provenance is unverifiable.
  • Bulk processing without sample test. Test on 3-5 items first. Fix quality issues in the approach, not via one-off patches.
  • Paraphrasing the user's original thinking. The user's exact language IS the insight. Capture verbatim phrasing for ideas, theses, and frameworks.

Output Format

INGESTED: [title]
==================

Page: [slug]
Type: [person / company / meeting / media / concept]
Source: [source description]

Entities detected: N
- [entity] -> [created / updated] ([slug])

Back-links created: N
Timeline entries: N
Raw source: [preserved at path / uploaded to cloud]

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)
  • Link entities in gbrain (add_link)
  • List tags for a page (get_tags)
  • Tag a page in gbrain (add_tag)
  • Store raw data in gbrain (put_raw_data)
  • Check backlinks in gbrain (get_backlinks)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.55%
按下载量换算99

Claude

32.41%
按下载量换算93

Cursor

18.21%
按下载量换算52

Gemini CLI

8.84%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills