Skip to content
Agentmart
Submit a tool

github-link-repo-explorer

Explore a GitHub repository from a link by cloning locally first, then inspecting files and history.

Skill by DevChiniwala

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/devchiniwala-github-link-repo-explorer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Explore a GitHub repository from a link by cloning locally first, then inspecting files and history. Use when a task includes a GitHub repo URL or owner/repo and code-level analysis is needed. Prefer local clone into /tmp before using web pages.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/github-link-repo-explorer

What's inside

Skill name
github-link-repo-explorer
Description
Explore a GitHub repository from a link by cloning locally first, then inspecting files and history. Use when a task includes a GitHub repo URL or owner/repo and code-level analysis is needed. Prefer local clone into /tmp before using web pages.
License
MIT
Instructions
101 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## GitHub Link Repo Explorer

Explore repositories from GitHub links with a local-first workflow.

## Core Rule

Always try local clone before web browsing.

- Clone target: `/tmp/<repo-name>`
- Always run clone/update commands from `/tmp` (`cd /tmp` first).
- If directory exists, update it (`git fetch --all --prune`) or reclone if corrupted.
- Use web fallback only when clone/auth/network access fails.
- Do not start with web exploration when a local clone attempt is possible.

## Inputs

Accept any of:
- full URL: `https://github.com/<owner>/<repo>`
- SSH URL: `git@github.com:<owner>/<repo>.git`
- short form: `<owner>/<repo>`

Normalize input to:
- `owner`
- `repo`
- `clone_url`
- `local_path=/tmp/<repo>`

## Workflow

### 1. Prepare local checkout

1. Parse owner/repo from input.
2. Set `local_path` to `/tmp/<repo>`.
3. Change working directory to `/tmp`.
4. Clone if missing:
   - `cd /tmp && git clone --filter=blob:none <clone_url> <repo>`
5. If present, refresh:
   - `cd /tmp/<repo> && git fetch --all --prune`

### 2. Establish repository context

Run quick context commands:
- `git -C /tmp/<repo> remote -v`
- `git -C /tmp/<repo> branch -a`
- `git -C /tmp/<repo> log --oneline -n 20`
- `rg --files /tmp/<repo>` (or equivalent)

Identify:
- default branch
- primary language and build system
- key entry points and docs (`README`, `docs/`, configs)

### 3. Perform the requested analysis

Prefer direct file inspection over assumptions:
- locate with `rg`
- read targeted files only
- cite exact file paths and relevant lines
- run project checks/tests only if needed and safe

### 4. Keep output actionable

Return:
- what was inspected
- findings with file references
- unresolved gaps
- next concrete checks

## Fallbacks

If clone fails:
1. Report exact failure reason (auth, not found, network, rate limits).
2. Retry clone from `/tmp` using alternate URL form (HTTPS vs SSH) if appropriate.
3. If still blocked, use web exploration of GitHub pages for limited analysis.
4. Clearly mark web-derived conclusions as lower confidence than local checkout results.

## Safety and Efficiency

- Do not modify the cloned repository unless explicitly requested.
- Avoid broad recursive reads when targeted search is sufficient.
- Remove or reuse stale `/tmp/<repo>` directories carefully.
- Prefer shallow/sparse strategies when full history is unnecessary.

## Quick Command Template

```bash
REPO_INPUT="https://github.com/owner/repo"
OWNER_REPO="$(printf '%s' "$REPO_INPUT" | sed -E 's#(git@github.com:|https://github.com/)##; s#\.git$##')"
REPO_NAME="${OWNER_REPO##*/}"
LOCAL_PATH="/tmp/$REPO_NAME"

cd /tmp
if [ ! -d "$LOCAL_PATH/.git" ]; then
  git clone --filter=blob:none "https://github.com/$OWNER_REPO.git" "$REPO_NAME"
else
  cd "$LOCAL_PATH"
  git fetch --all --prune
fi
```

From DevChiniwala/HeyClara, MIT.

More from DevChiniwala/HeyClara

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jul 5, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DevChiniwala

Cite this page

github-link-repo-explorer skill. Agent Mart. https://agentmart.dev/skills/devchiniwala-github-link-repo-explorer (last updated 2026-10-24)