Token导航 LogoToken导航

Agent Skill · 研究检索

maven-search(行家搜索)

用于辅助 Java 项目开发、面向对象设计、Spring 生态、Maven 或 Gradle 依赖和后端工程实践。它适合让 Agent 分析类结构、设计接口、整理服务分层、生成测试或检查常见代码坏味道。使用时需要结合项目已有架构、包结构和依赖版本,不应只按通用教程改代码;涉及数据库、事务、并发或框架配置时,应先确认运行环境和回归测试范围。

maven-search 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 59,579。

总安装 384周安装 16GitHub Stars 公开资料未说明下载 128核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add teachingai/agent-skills --skill "maven-search"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

辅助 Java 项目开发与设计,支持 Maven/Gradle 依赖管理。适用于后端开发、类结构设计和服务分层优化等任务。maven-search 属于研究检索类 Skill,可作为该场景下的辅助能力补充。通过 npx 从 GitHub 安装,支持主流 AI 编辑器集成。使用时需结合项目实际架构,避免盲目修改代码结构。

建议参考原始技能文档了解支持的框架版本和最佳实践。

来源仓库内路径:skills/maven-search

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add teachingai/agent-skills --skill "maven-search";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

maven-search 怎么安装?

在终端执行 npx skills add teachingai/agent-skills --skill "maven-search"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

maven-search 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

maven-search 需要什么权限?

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

maven-search 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

maven-search 用的人多吗?

公开数据是累计安装 384 次,近一周安装 16 次,下载 128 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

maven-search 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
maven-search

行家搜索 · 本页

384—需要联网MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

When to use this skill

ALWAYS use this skill when the user mentions:

  • Searching for Maven dependencies or components
  • Finding Maven coordinates (groupId, artifactId, version)
  • Checking component versions or version history
  • Retrieving Maven artifacts (JAR, POM, sources, Javadoc)
  • Verifying Maven dependency coordinates
  • Analyzing dependency trees or transitive dependencies
  • Working with Maven Central Repository
  • Any request related to Maven components, libraries, or dependencies

Trigger phrases include:

  • "查找 Maven 依赖" (find Maven dependency), "搜索 Maven 组件" (search Maven component)
  • "Maven 坐标" (Maven coordinates), "groupId" (groupId), "artifactId" (artifactId)
  • "Maven 版本" (Maven version), "最新版本" (latest version), "版本历史" (version history)
  • "Maven Central" (Maven Central), "Maven 仓库" (Maven repository)
  • "下载 Maven 依赖" (download Maven dependency), "获取 POM 文件" (get POM file)
  • "依赖树" (dependency tree), "传递依赖" (transitive dependencies)
  • Any mention of "Maven", "dependency", "artifact", "repository", "coordinates"

How to use this skill

CRITICAL: This skill should be triggered when the user needs to search, retrieve, or work with Maven components from Maven Central Repository.

Trigger this skill when you see:

  • User says "查找 Maven 依赖" (find Maven dependency), "搜索 Maven 组件" (search Maven component)
  • User needs Maven coordinates (groupId, artifactId, version)
  • User wants to check component versions or retrieve artifacts
  • User mentions Maven Central Repository or Maven dependencies
  • User needs to analyze dependencies or verify coordinates

To search for Maven components:

  1. Identify the search type from the user's request:

- Search by name → Use Maven Central Search API - Get specific version → Use direct repository URL - Check latest version → Query maven-metadata.xml - Analyze dependencies → Parse POM file - Download artifact → Use direct download URL

  1. Load the appropriate example file from the examples/ directory:

- examples/search-by-name.md - Search components by name or keywords - examples/search-by-coordinates.md - Search by groupId and artifactId - examples/get-version-info.md - Get version information and history - examples/download-artifact.md - Download JAR, POM, sources, or Javadoc - examples/analyze-dependencies.md - Analyze dependency tree - examples/verify-coordinates.md - Verify Maven coordinates validity

  1. Follow the specific instructions in that example file for API endpoints, parameters, and best practices
  2. Use Maven Central Repository API: Search API (https://search.maven.org/solrsearch/select): Direct Repository Access (https://repo1.maven.org/maven2/):

- Query parameter: q - Search query (e.g., g:com.google.guava AND a:guava) - Rows parameter: rows - Number of results (default: 20, max: 200) - Start parameter: start - Pagination offset - Core parameter: core - Search core (default: gav) - Path format: {groupId}/{artifactId}/{version}/{artifactId}-{version}.{extension} - GroupId path: Replace dots with slashes (e.g., com.google.guava → com/google/guava) - Metadata: maven-metadata.xml for version information - POM file: {artifactId}-{version}.pom - JAR file: {artifactId}-{version}.jar - Sources: {artifactId}-{version}-sources.jar - Javadoc: {artifactId}-{version}-javadoc.jar

  1. Construct the appropriate URL: Search Example: https://search.maven.org/solrsearch/select?q=g:com.google.guava+AND+a:guava&rows=20&wt=json Direct Access Example: https://repo1.maven.org/maven2/com/google/guava/guava/maven-metadata.xml https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0/guava-33.0.0.pom https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0/guava-33.0.0.jar
  2. Parse and format the results:

- Extract relevant information (groupId, artifactId, version, description) - Format coordinates in standard Maven format: groupId:artifactId:version - Present results in a clear, structured format - Include download links and metadata when relevant

  1. Validate coordinates:

- Verify groupId format (should be reverse domain notation) - Check artifactId format (should be lowercase, hyphen-separated) - Validate version format (semantic versioning preferred) - Confirm artifact exists before providing download links

Output Format Requirements:

  • Always provide Maven coordinates in standard format: groupId:artifactId:version
  • Include direct download URLs when relevant
  • Format search results in a clear, structured table or list
  • Provide metadata information (description, repository, last updated) when available
  • Include version information and release dates when querying versions

Maven Central Repository Structure

Repository Base URL

Path Structure

{groupId}/{artifactId}/{version}/{artifactId}-{version}.{extension}

Example:

com/google/guava/guava/33.0.0/guava-33.0.0.jar

Available Artifacts

  • POM: {artifactId}-{version}.pom - Project Object Model file
  • JAR: {artifactId}-{version}.jar - Compiled Java classes
  • Sources: {artifactId}-{version}-sources.jar - Source code
  • Javadoc: {artifactId}-{version}-javadoc.jar - API documentation
  • Metadata: maven-metadata.xml - Version and release information

Search API Parameters

Query Syntax

  • GroupId search: g:com.google.guava
  • ArtifactId search: a:guava
  • Version search: v:33.0.0
  • Combined search: g:com.google.guava AND a:guava
  • Text search: guava (searches in groupId, artifactId, and description)

Response Format

  • JSON: wt=json (default)
  • XML: wt=xml
  • Java properties: wt=javabin

Pagination

  • rows: Number of results per page (default: 20, max: 200)
  • start: Offset for pagination (default: 0)

Best Practices

  1. Always verify coordinates: Check that groupId, artifactId, and version exist before use
  2. Use latest stable versions: Prefer RELEASE versions over SNAPSHOT versions
  3. Check version metadata: Query maven-metadata.xml for latest version information
  4. Validate before download: Verify artifact exists before providing download links
  5. Include checksums: When available, provide SHA-1 and MD5 checksums for verification
  6. Format coordinates correctly: Always use standard Maven format groupId:artifactId:version
  7. Provide context: Include description, repository information, and last updated date when available

Common Tasks

Task 1: Search by Name

Use the Search API with text query to find components by name or keywords.

Example:

GET https://search.maven.org/solrsearch/select?q=guava&rows=20&wt=json

Task 2: Search by Coordinates

Use the Search API with groupId and artifactId to find specific components.

Example:

GET https://search.maven.org/solrsearch/select?q=g:com.google.guava+AND+a:guava&rows=20&wt=json

Task 3: Get Version Information

Query maven-metadata.xml to get all available versions and latest version.

Example:

GET https://repo1.maven.org/maven2/com/google/guava/guava/maven-metadata.xml

Task 4: Download Artifact

Construct direct download URL for specific artifact.

Example:

GET https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0/guava-33.0.0.jar

Task 5: Analyze Dependencies

Download and parse POM file to extract dependency information.

Example:

GET https://repo1.maven.org/maven2/com/google/guava/guava/33.0.0/guava-33.0.0.pom

Keywords

English keywords: maven, maven central, maven repository, maven dependency, maven artifact, maven component, groupId, artifactId, version, coordinates, pom, jar, dependency, repository, search, retrieve, download, metadata, transitive dependencies, dependency tree, maven coordinates, maven search

Chinese keywords (中文关键词): Maven, Maven 中央仓库, Maven 仓库, Maven 依赖, Maven 组件, Maven 坐标, groupId, artifactId, version, 版本, 坐标, POM, JAR, 依赖, 仓库, 搜索, 检索, 下载, 元数据, 传递依赖, 依赖树, 查找依赖, 搜索组件, 获取版本, 下载依赖

Resources

平台分布

Claude Code

31.43%
按下载量换算40

OpenCode

21.79%
按下载量换算28

Antigravity

17.02%
按下载量换算22

Codex

13.04%
按下载量换算17

windsurf

7.67%
按下载量换算10

Gemini CLI

3.36%
按下载量换算4

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills