/install gitee-repo-explorer
Note: If you have
mcporterinstalled locally, you should usemcporterto invoke the MCP tool instead of directly calling the MCP tool. ThemcporterCLI provides a more convenient interface and better error handling.
Repo Explorer via Gitee MCP
Quickly explore the structure and core content of a Gitee repository and generate an overview report to help get up to speed on an unfamiliar project.
Prerequisites
- Gitee MCP Server configured (tools:
get_file_content,search_files_by_content,list_user_repos) - User must provide: repository owner, repository name
- Optional: specific area of interest (e.g., "I want to understand the authentication mechanism")
Steps
Step 1: Fetch Key Documentation
Start by reading these files using get_file_content:
README.mdorREADME_CN.md: project introductionCONTRIBUTING.md: contribution guide (development conventions)CHANGELOG.md: change history (evolution of the project)package.json/go.mod/pom.xml/requirements.txt: tech stack and dependencies
Step 2: Explore Project Structure
First, use get_file_content with path="/" to get the root directory tree:
get_file_content(owner="[owner]", repo="[repo]", path="/")
This returns the top-level directory structure in a single call, providing a quick overview of the project's layout.
Then, browse key subdirectories to identify:
Common project structure patterns
src/orlib/: core source codecmd/orbin/: CLI entry points (Go / C++ projects)api/orroutes/: API definitionstests/ortest/: test codedocs/: detailed documentationscripts/or.gitee/or.github/: build / CI scriptsconfig/orconfigs/: configuration files
Step 3: Analyze Core Code
Based on the project type, read key files in depth:
Web application
- Entry file (main.go / index.js / app.py)
- Route definition files
- Database schema or model definitions
Library / SDK
- Main entry file (public API entry point)
- Core algorithm files
CLI tool
- Command definition files
- Configuration handling logic
Use search_files_by_content to locate core logic:
- Search for
main,init,Router, etc. - Search for specific keywords matching the user's area of interest
Step 4: Generate Repository Overview Report
# Repository Overview: [owner/repo]
## About
[One-paragraph description summarizing the project based on the README]
## Tech Stack
- **Language**: [primary language]
- **Framework**: [main framework]
- **Storage**: [database / cache]
- **Deployment**: [Docker / K8s / other]
## Directory Structure
[Key directory annotations]
├── src/ # Core source code
├── api/ # API definitions
├── tests/ # Tests
└── docs/ # Documentation
## Core Modules
| Module | Path | Responsibility |
|--------|------|---------------|
| [name] | [path] | [one-sentence description] |
## Data Models (if applicable)
[Main entities and their relationships]
## Getting Started
[Setup steps extracted from README / CONTRIBUTING]
\`\`\`bash
# Install dependencies
[command]
# Start the project
[command]
\`\`\`
## Contribution Highlights
[Key conventions from CONTRIBUTING.md]
## Recent Activity
[Latest version highlights from CHANGELOG or README]
Step 5: Deep Dive (optional)
If the user has a specific area of interest, use search_files_by_content for targeted searches:
- Authentication: search
auth,token,permission - Database operations: search
SELECT,INSERT,Model - Configuration: search
config,env,ENV
Notes
- Prefer smaller files when reading; avoid loading very large files all at once
- Keep the report focused and concise — do not try to cover everything
- If the project has no README, infer its purpose from the code structure and comments
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gitee-repo-explorer - 安装完成后,直接呼叫该 Skill 的名称或使用
/gitee-repo-explorer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Repo Explorer 是什么?
Use this skill when the user asks to explore a repository, get familiar with a project, "repo explorer", "tell me about this repo", "repo-explorer", "what do... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 334 次。
如何安装 Repo Explorer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gitee-repo-explorer」即可一键安装,无需额外配置。
Repo Explorer 是免费的吗?
是的,Repo Explorer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Repo Explorer 支持哪些平台?
Repo Explorer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Repo Explorer?
由 开源中国(@oschina)开发并维护,当前版本 v1.0.0。