← Back to Skills Marketplace
oschina

Search And Fork

by 开源中国 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
310
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install gitee-search-and-fork
Description
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", "...
README (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)
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gitee-search-and-fork
  3. After installation, invoke the skill by name or use /gitee-search-and-fork
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug gitee-search-and-fork
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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", "... It is an AI Agent Skill for Claude Code / OpenClaw, with 310 downloads so far.

How do I install Search And Fork?

Run "/install gitee-search-and-fork" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Search And Fork free?

Yes, Search And Fork is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Search And Fork support?

Search And Fork is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Search And Fork?

It is built and maintained by 开源中国 (@oschina); the current version is v1.0.0.

💬 Comments