← Back to Skills Marketplace
oschina

Repo Explorer

by 开源中国 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
334
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install gitee-repo-explorer
Description
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...
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.

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:

  1. README.md or README_CN.md: project introduction
  2. CONTRIBUTING.md: contribution guide (development conventions)
  3. CHANGELOG.md: change history (evolution of the project)
  4. 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/ or lib/: core source code
  • cmd/ or bin/: CLI entry points (Go / C++ projects)
  • api/ or routes/: API definitions
  • tests/ or test/: test code
  • docs/: detailed documentation
  • scripts/ or .gitee/ or .github/: build / CI scripts
  • config/ or configs/: 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
Usage Guidance
This skill appears coherent for exploring Gitee repos. Before installing or using it: (1) verify the Gitee MCP server configuration and ensure it uses least-privilege credentials (prefer read-only, repo-limited access); (2) check what the optional 'mcporter' CLI does before allowing the agent to invoke it locally — running a local binary could access local files; (3) be aware the skill will read repository files and may surface secrets found in code or config (avoid having it scan sensitive/private repos unless you trust the environment); (4) limit scope by specifying owner/repo and narrow 'area of interest' to reduce breadth of searches. If you want extra assurance, ask the skill author for documentation on the MCP integration and mcporter behavior before enabling.
Capability Analysis
Type: OpenClaw Skill Name: gitee-repo-explorer Version: 1.0.0 The skill bundle provides a structured set of instructions for an AI agent to explore Gitee repositories using the Model Context Protocol (MCP). It utilizes standard tools like 'get_file_content' and 'search_files_by_content' to analyze project structure, documentation, and source code to generate a summary report. No malicious behaviors, data exfiltration, or prompt injection attacks were identified; the logic is entirely consistent with its stated purpose of repository exploration.
Capability Assessment
Purpose & Capability
Name/description match the actions in SKILL.md: reading README, manifest files, source tree, and using Gitee MCP endpoints (get_file_content, search_files_by_content, list_user_repos). Requiring a configured Gitee MCP server is appropriate for a Gitee repo explorer.
Instruction Scope
Instructions stay within repo-exploration scope (reading files and searching content). One notable instruction: prefer invoking the local 'mcporter' CLI if present — that grants the agent the ability to run a local binary, so confirm what mcporter does and what local access it has. The SKILL.md also suggests scanning for keywords (auth, SELECT, tokens) which is expected for code review but may surface secrets if present in the repository.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing will be downloaded or written by the skill itself.
Credentials
The skill declares no environment variables and only requires a configured Gitee MCP server. Ensure the MCP server credentials/configuration provided to the agent are scoped appropriately (read-only to the repos needed). The skill does not request unrelated credentials.
Persistence & Privilege
always:false and no install actions or config writes. The skill does not request persistent or elevated platform privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gitee-repo-explorer
  3. After installation, invoke the skill by name or use /gitee-repo-explorer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of Gitee Repo Explorer. - Allows users to explore and generate overview reports for Gitee repositories. - Fetches and summarizes core documentation files (README, CONTRIBUTING, CHANGELOG, dependencies). - Provides project structure insight by analyzing directory tree and common patterns. - Identifies and summarizes core modules and technologies used. - Supports targeted exploration based on user interest (e.g., authentication, database). - Requires Gitee MCP Server configuration and repository details from the user.
Metadata
Slug gitee-repo-explorer
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

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

How do I install Repo Explorer?

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

Is Repo Explorer free?

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

Which platforms does Repo Explorer support?

Repo Explorer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Repo Explorer?

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

💬 Comments