← 返回 Skills 市场
oschina

Search And Fork

作者 开源中国 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
310
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install gitee-search-and-fork
功能描述
Use this skill when the user asks to search for and fork an open source repository, "find me an open source project", "search and fork", "search-and-fork", "...
使用说明 (SKILL.md)

Note: If you have mcporter installed locally, you should use mcporter to invoke the MCP tool instead of directly calling the MCP tool. The mcporter CLI provides a more convenient interface and better error handling.

Search and Fork via Gitee MCP

Search for open source repositories on Gitee that match the user's needs, compare candidates, and fork the chosen one to the user's account.

Prerequisites

  • Gitee MCP Server configured (tools: search_open_source_repositories, fork_repository, get_user_info)
  • User must provide: search keywords or a description of what they need

Steps

Step 1: Clarify Search Requirements

Confirm with the user:

  • Language preference (Go / Java / Python / JavaScript, etc.)
  • Use case (web framework / database ORM / CLI tool / UI component library, etc.)
  • Activity requirements (e.g., must have recent commits)
  • Other preferences (license type, documentation language, etc.)

Step 2: Search Repositories

Use search_open_source_repositories to search:

  • Try multiple keyword combinations to cover different phrasings
  • Run 2–3 searches if necessary (e.g., both Chinese and English keywords)

Step 3: Filter and Compare

Evaluate the search results based on:

Activity indicators

  • Star count (interest/popularity)
  • Fork count (how widely it's being used)
  • Last updated date (whether it's still maintained)
  • Issue / PR count and response speed

Quality indicators

  • Complete README documentation
  • Test code present
  • CI/CD configuration
  • License suitable for the use case (MIT / Apache preferred over GPL)

Relevance

  • Does the functionality match the requirements?
  • Does the tech stack fit?
  • Is there good documentation or community support?

Step 4: Present Candidate List

## Search Results: [keywords]

Top candidates ranked by overall score:

### Recommendation #1: [repo name]
- **Repo**: [owner/repo]
- **Description**: [repo summary]
- **Stars / Forks**: ⭐ N / 🍴 N
- **Language**: [language]
- **Last updated**: [date]
- **License**: [license]
- **Why recommended**: [1–2 sentences]

### Recommendation #2: [repo name]
[same format]

### Recommendation #3: [repo name]
[same format]

---

**Suggested pick**: Recommendation #1, because [reason]

Step 5: Fork the Selected Repository

After the user makes a selection, use fork_repository to fork it:

  • owner: owner of the repository to fork
  • repo: repository name
  • Optional: specify an organization to fork into (defaults to the user's personal account)

After a successful fork, output the forked repository URL and suggest next steps:

Fork successful!

**Your repository**: https://gitee.com/[your-username]/[repo-name]

**Suggested next steps:**
1. `git clone` it locally
2. Read the README to learn how to contribute
3. Browse the Issues to find something to work on

Would you like me to explore this repository for you? (use the repo-explorer skill)

Notes

  • Search results may include archived or unmaintained repositories — filter these out
  • Forking creates a copy under the user's Gitee account without affecting the original repository
  • Fork is the standard approach for contributing; if the user only wants to reference the code, a plain clone is sufficient
  • For commercial use, pay close attention to the license (GPL is copyleft; MIT / Apache are more permissive)
安全使用建议
This skill appears internally consistent, but its runtime behavior depends on a configured Gitee MCP server (which will perform authenticated actions). Before installing or using it: confirm which Gitee account or token the MCP server will use and that you trust that service; verify the fork target (personal account vs organization) before confirming the fork; review repository licenses for your intended use; and note there is no code to audit in the skill itself — the security posture depends on the external MCP integration. If the skill later asked for unrelated env vars, local file access, or arbitrary external URLs, reassess as suspicious.
功能分析
Type: OpenClaw Skill Name: gitee-search-and-fork Version: 1.0.0 The skill bundle provides a legitimate workflow for searching and forking repositories on Gitee using the Gitee MCP server. The instructions in SKILL.md follow a standard, user-centric process (clarification, searching, filtering, and execution) without any evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md only describes searching Gitee and forking repos via MCP tools (search_open_source_repositories, fork_repository, get_user_info). Nothing requested is unrelated to repository discovery or forking.
Instruction Scope
Runtime instructions stay within the stated scope: clarify requirements, search, filter, present candidates, then fork via the MCP tools. The skill does not instruct reading arbitrary files, environment variables, or contacting unexpected external endpoints.
Install Mechanism
Instruction-only skill with no install steps or code files. No downloads or package installs are specified, minimizing on-disk risk.
Credentials
No environment variables, secrets, or config paths are declared. The only external dependency is a configured Gitee MCP server (declared in front matter), which is appropriate for performing authenticated forks on behalf of a user.
Persistence & Privilege
Skill is not always-enabled and does not request persistent or elevated platform privileges. It does not modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gitee-search-and-fork
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gitee-search-and-fork 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the search-and-fork skill for Gitee: - Enables searching for open source repositories on Gitee using user-defined requirements. - Guides the user to clarify search criteria such as language, use case, activity, and license. - Searches, filters, and compares repositories based on activity, quality, and relevance. - Presents ranked recommendations to the user with detailed rationale. - Supports forking the selected repository to the user’s Gitee account and provides next steps. - Requires Gitee MCP Server configuration.
元数据
Slug gitee-search-and-fork
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Search And Fork 是什么?

Use this skill when the user asks to search for and fork an open source repository, "find me an open source project", "search and fork", "search-and-fork", "... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 310 次。

如何安装 Search And Fork?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gitee-search-and-fork」即可一键安装,无需额外配置。

Search And Fork 是免费的吗?

是的,Search And Fork 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Search And Fork 支持哪些平台?

Search And Fork 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Search And Fork?

由 开源中国(@oschina)开发并维护,当前版本 v1.0.0。

💬 留言讨论