Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

glean-tools-guide收集工具指南

Agent Skill

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

总安装

333

周安装

14

GitHub Stars

20

下载量

116
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gleanwork/claude-plugins --skill glean-tools-guide

简介

glean-tools-guide 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于需要根据关键词或任务场景从来源线索中筛选信息的场景。
  • 通过 npx skills add 命令安装,需确认权限范围和维护状态后再使用。
  • 建议结合原始 README 核验具体用法,注意是否触发联网或文件读写操作。
  • 安装前应评估是否会执行命令或访问外部资源,确保符合安全策略。

SKILL.md

Glean Tools Selection Guide

This skill provides guidance on selecting and using Glean MCP tools effectively.

Skills vs Agents vs Commands

This plugin uses three component types:

  • Skills (like this one): Auto-triggered guidance that helps Claude select the right tools
  • Agents (e.g., enterprise-searcher): Autonomous workers spawned for complex multi-step tasks
  • Commands (e.g., /glean-search:search): User-triggered structured workflows

Skills provide knowledge; agents do work; commands orchestrate workflows.

Tool Naming Convention

Glean MCP tools follow the pattern:

mcp__glean_[server-name]__[tool]

Where [server-name] is dynamic and configured per user (e.g., default, production, acme). The tool suffix is always consistent. When invoking tools, use whatever Glean server is available in your tool list.

Available Tools Overview

Tool SuffixPurposeUse When
searchDocument discoveryFinding docs, wikis, policies, specs
employee_searchPeople lookupFinding people, org chart, teams
meeting_lookupMeeting searchFinding meetings, transcripts, decisions
gmail_searchEmail searchFinding emails, attachments
code_searchCode discoveryFinding internal code, commits
user_activityActivity feedFinding your recent actions and interactions
read_documentFull contentReading complete document by URL
chatAI synthesisComplex analysis across sources

Tool Selection Decision Tree

User question about...
├── People, "who", org chart → employee_search
├── Meetings, decisions, action items → meeting_lookup
├── Emails, attachments → gmail_search
├── Internal code, commits → code_search
├── "My activity", "what have I done", recent actions → user_activity
├── Documents, policies, specs → search
├── Need full document content → read_document (with URL)
└── Complex multi-source analysis → chat

Critical Rules

1. Never Use Regular Search for People

# WRONG
search "John Smith"

# CORRECT
employee_search "John Smith"

2. Search → Read Workflow

When users need document details:

  1. First: search to find documents
  2. Then: read_document with URL from results

3. Use Chat for Synthesis

When the question requires reasoning across multiple sources:

chat "What are our authentication best practices based on recent RFCs and security policies?"

Query Filter Reference

Document Search (search) - Structured Parameters

The search tool uses separate parameters (not inline query filters):

ParameterTypeDescription
querystringKeywords to find documents (required)
ownerstringFilter by document creator ("person name", "me", "myteam")
fromstringFilter by who updated/commented/created ("person name", "me", "myteam")
updatedstringFilter by update date (today, yesterday, past_week, past_2_weeks, past_month, or month name)
afterstringDocuments created after date (YYYY-MM-DD format, no future dates)
beforestringDocuments created before date (YYYY-MM-DD format)
appenumFilter by datasource (e.g., confluence, github, gdrive, slack, jira, notion)
typeenumFilter by type: pull, spreadsheet, slides, email, direct message, folder
channelstringFilter by Slack channel name
exhaustivebooleanReturn all matching results (use for "all", "each", "every" requests)
sort_by_recencybooleanSort by newest first (only when user wants "latest" or "most recent")

Code Search Filters (code_search) - Inline Query Syntax

Code search uses inline filters in the query string:

Person Filters:

  • owner:"person name" or owner:me - Filter by commit creator
  • from:"person name" or from:me - Filter by code file/commit updater

Date Filters:

  • updated:today|yesterday|past_week|past_month - Filter by update date
  • after:YYYY-MM-DD - Commits/files changed after date
  • before:YYYY-MM-DD - Commits/files changed before date

Employee Search Filters (employee_search) - Inline Query Syntax

  • reportsto:"manager name" - Find direct reports (NOT for finding who someone reports to)
  • startafter:YYYY-MM-DD - People who started after date
  • startbefore:YYYY-MM-DD - People who started before date
  • roletype:"individual contributor"|"manager" - Filter by role type
  • sortby:hire_date_ascending|hire_date_descending|most_reports - Sort results

Meeting Lookup Filters (meeting_lookup) - Inline Query Syntax

Important: meeting_lookup works best with natural language queries. Date filter syntax does NOT work reliably.

Natural language dates (recommended):

  • "standup last week" - Meetings from last week
  • "design review past 2 weeks" - Recent meetings
  • "1:1 with John tomorrow" - Future meetings
  • "team sync yesterday" - Yesterday's meetings

Other filters that work:

  • participants:"name" - Filter by attendees
  • topic:"subject" - Filter by meeting subject/title
  • extract_transcript:"true" - Include meeting content/transcript

Note: Inline date filters (after:, before:) do not work reliably with meeting_lookup. Use natural language dates instead.

Gmail Search Filters (gmail_search) - Inline Query Syntax

  • from:"person"|"email@domain.com"|"me" - Filter by sender
  • to:"person"|"email@domain.com"|"me" - Filter by recipient
  • subject:"text" - Filter by subject line
  • has:attachment|document|spreadsheet|presentation - Filter by attachment type
  • is:important|starred|read|unread|snoozed - Filter by email status
  • label:INBOX|SENT|TRASH|DRAFT|SPAM - Filter by folder/label
  • after:YYYY-MM-DD / before:YYYY-MM-DD - Date range

User Activity Parameters (user_activity)

The user_activity tool uses date range parameters (not query filters):

  • start_date - Start date in YYYY-MM-DD format (inclusive, required)
  • end_date - End date in YYYY-MM-DD format (exclusive, required)

Use for: standup notes, weekly summaries, 1:1 prep, finding documents you touched but forgot.

Example Tool Calls

These examples show the correct syntax for each tool type.

Search (Structured Parameters)

Pass filters as separate parameters, not in the query string:

search(query="authentication RFC", app="confluence", updated="past_month")
search(query="API design", owner="me", sort_by_recency=true)
search(query="onboarding guide", from="John Smith", after="2024-01-01")

Code Search (Inline Filters)

Include filters directly in the query string:

code_search("authentication handler owner:me updated:past_week")
code_search("payment processor after:2024-06-01 before:2024-12-01")
code_search("API endpoint from:\"Jane Doe\"")

Employee Search (Inline Filters)

Include filters directly in the query string:

employee_search("engineering manager reportsto:\"VP Engineering\"")
employee_search("backend engineer startafter:2024-01-01")
employee_search("data scientist roletype:\"individual contributor\"")

Meeting Lookup (Natural Language + Inline Filters)

Use natural language for dates; inline filters for other criteria:

meeting_lookup("my meetings today extract_transcript:\"true\"")
meeting_lookup("standup last week participants:\"John Smith\"")
meeting_lookup("design review past 2 weeks topic:\"architecture\"")

Note: Date filters (after:, before:) are documented but don't work reliably in practice. Use natural language dates instead ("today", "yesterday", "last week", "past 2 weeks").

User Activity (Structured Parameters)

Pass date range as separate parameters:

user_activity(start_date="2024-01-08", end_date="2024-01-15")

Filter Best Practices

Structured vs Inline Filters:

  • search uses structured parameters - pass filters as separate tool arguments
  • code_search, employee_search, gmail_search, meeting_lookup use inline filters in the query string

When to Use Date Filters:

  • Use updated: for relative timeframes ("last week", "past month")
  • Use after:/before: for date ranges ("between Jan and March", "since 2024")
  • Avoid date filters for "latest" or "recent" without specific timeframe
  • For meeting_lookup, prefer natural language dates over inline filters

Person Filter Guidelines:

  • Use quotes for multi-word names: from:"John Smith"
  • Use owner: for document creators, from: for broader involvement
  • Use me when user refers to themselves

Search Strategy:

  • Start broad, then narrow with filters if too many results
  • For search: add filter parameters to narrow results
  • For other tools: add inline filters to the query string
  • Use the exhaustive parameter on search for exhaustive results ("all", "each", "every")

Common Pitfalls:

  • Don't use after: with future dates
  • For search, pass channel and app as separate parameters
  • Quote multi-word filter values in inline syntax: from:"John Smith"

Best Practices

  1. Cite sources: Always include URLs so users can verify
  2. Start broad, then narrow: Use filters to refine if too many results
  3. Combine signals: For expertise, check code + docs + meetings
  4. Respect permissions: Results are filtered by user access
  5. Note when empty: No results is useful information

Related Commands

Point users to structured workflows when appropriate:

  • /glean-search:search - Quick search
  • /glean-people:find-expert - Expertise discovery
  • /glean-meetings:catch-up - Return from time off
  • /glean-meetings:meeting-prep - Meeting preparation
  • /glean-people:stakeholders - Stakeholder mapping
  • /glean-docs:onboarding - Team onboarding
  • /glean-docs:verify-rfc - Spec verification

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.87%
按下载量换算42

Claude

29.4%
按下载量换算34

Cursor

17.28%
按下载量换算20

Gemini CLI

10.05%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills