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

code-exploration代码 exploration

Agent Skill

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

总安装

356

周安装

15

GitHub Stars

20

下载量

125
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gleanwork/claude-plugins --skill code-exploration

简介

code-exploration 通过 Glean 跨仓库搜索组织内部代码实现,超越本地代码基线限制。

  • 它回答“某功能如何实现在哪”、“谁负责某模块”等问题,揭示全局代码分布。
  • 适用于企业知识管理和跨系统协作,需配合 Glean MCP 工具命名规范使用。
  • 使用前应确保 Glean 服务可用且授权范围覆盖目标仓库,否则无法获取内部代码。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Cross-Repository Code Exploration via Glean

When users need to understand code across internal repositories—beyond the local codebase—use Glean's code search to explore the entire organization's code.

Tool Naming

See the glean-tools-guide skill for Glean MCP tool naming conventions. Tools follow the pattern mcp__glean_[server-name]__[tool] where the server name is dynamic.

When This Applies

Use Glean code search when users ask about:

  • How something is implemented (in other repos)
  • Where the code for a system/service lives
  • Who has been working on a codebase
  • Similar implementations across the org
  • Examples of how to use an internal API/library
  • Code patterns used by other teams

BE SKEPTICAL

Not every code result is worth presenting.

Quality Test

  • Is this good code to reference?
  • ✅ GOOD: Clean, tested, actively maintained
  • ⚠️ ACCEPTABLE: Works but has caveats
  • ❌ POOR: Hacky, deprecated, abandoned

Recency Test

  • Is this code maintained?
  • ✅ ACTIVE: Commits in past 3 months
  • ⚠️ SLOWING: 3-12 months since last commit
  • ❌ STALE: 12+ months - likely outdated patterns

Relevance Test

  • Does this actually answer the question?
  • ✅ RELEVANT: Directly addresses what was asked
  • ⚠️ RELATED: Similar but different context
  • ❌ TANGENTIAL: Keyword match only

Filter Out:

  • Code in /deprecated/, /old/, /legacy/ paths
  • Abandoned repositories
  • Prototype/experimental code
  • Code with extensive TODO/FIXME comments

Quality over quantity: 3 good examples beat 10 mediocre ones.

Key Differentiator

Local tools (grep, glob) search only the current repo. Glean searches across ALL repositories in the organization. This is powerful for:

  • Finding examples: "How do other teams handle authentication?"
  • Understanding systems: "What repos touch the billing service?"
  • Finding owners: "Who's been active in the payments codebase?"

Tool Selection

User IntentGlean Tool
Find code by content, pattern, or filecode_search
Find related design docs or specssearch
Identify code owners/contributorscode_search + employee_search
Read full file contentread_document

Query Patterns

Glean's code search understands natural language. Use filters for precision:

# Search by content
code_search "authentication middleware"
code_search "rate limiting implementation"

# Search by contributor
code_search "owner:\"John Smith\" billing service"
code_search "from:me updated:past_week"

# Search by time
code_search "after:2024-01-01 payments API"

# Search by file pattern
code_search "*.proto user service"

Workflow: Exploring a System

  1. Find the code: code_search "[system name]"
  2. Vet results: Filter for quality and recency
  3. Find the docs: search "[system name] design doc OR architecture"
  4. Find the people: code_search "owner:* [system] updated:past_month"
  5. Read details: read_document with URLs from vetted results

If No Good Code Found

Don't pad with weak results:

No high-quality code examples found for [topic].

**What was searched:**
- [Queries attempted]

**What was filtered:**
- [X] matches - [reasons: outdated/poor quality]

**Suggestions:**
- Check external libraries
- Ask in [relevant channel]
- This may need to be built from scratch

Relationship to Commands

For structured workflows, suggest the relevant slash command:

  • /glean-code:codebase-context [system] - Get comprehensive context
  • /glean-code:find-examples [API/pattern] - Find usage examples
  • /glean-code:code-owners [component] - Identify maintainers
  • /glean-code:similar-code [pattern] - Find similar implementations

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.99%
按下载量换算45

Claude

29.09%
按下载量换算36

Cursor

19.1%
按下载量换算24

Gemini CLI

9.2%
按下载量换算12

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills