public-repo-explorer
Installation
SKILL.md
Public Repo Explorer
Overview
Use this skill to safely and efficiently explore open-source / public repositories.
Workflow
-
Create a Temporary Workspace:
- Create a temporary directory on the user's machine to hold the repository safely without cluttering their main workspace.
- Command:
mkdir -p /tmp/agent-repo-scan-<repo_name> && cd /tmp/agent-repo-scan-<repo_name>
-
Perform a Shallow Clone:
- Do NOT use the GitHub API or
ghCLI to avoid authentication blocks or rate limits. - Use standard git over HTTPS with the
--depth 1flag to download only the latest commit. - Why? Because as an AI agent, you rarely need the full git history to answer questions about the current codebase, and full clones waste massive amounts of time, bandwidth, and context window space.
- Command:
git clone --depth 1 <REPOSITORY_URL> .
- Do NOT use the GitHub API or