open-repo

Open the current git repository in a web browser via GitHub CLI.

114|29|Updated Nov 23, 2019
One-click install
npx skills add https://github.com/helderberto/dotfiles --skill open-repo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: open-repo
Source: https://github.com/helderberto/dotfiles/tree/main/claude/.claude/skills/open-repo
Command: npx skills add https://github.com/helderberto/dotfiles --skill open-repo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you view and navigate the current repository in a browser without switching tools, saving time switching between terminal and web.

Core Features & Use Cases

  • Open the active repository in your browser using the GitHub CLI.
  • Works when you are in a git repository with a GitHub remote to quickly verify the repo page.
  • Use case: while exploring a project, instantly open the repo page to check remote URLs, stars, or contribute instructions.

Quick Start

Run gh repo view --web in your terminal to open the current repository in your browser.

Frequently Asked Questions about open-repo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I open a local git repository in my web browser?▼

You can open the current repository in your browser by running the GitHub CLI command `gh repo view --web` directly from your local git repository directory.

What is the best way to quickly view a GitHub repository page from the terminal?▼

Invoking the GitHub CLI to open the repository page is the fastest approach, allowing you to instantly view remote URLs, stars, or contribution instructions without leaving the terminal context.

Do I need the GitHub CLI installed to open a repository in a browser?▼

Yes, the GitHub CLI must be installed, and your local git repository must have a configured GitHub remote for the command to successfully locate and open the repository page in a browser.

Does this method work for any local git repository or only GitHub repositories?▼

This method applies exclusively to local git repositories with a configured GitHub remote, utilizing the GitHub CLI to resolve the remote URL and launch the corresponding repository page in your browser.

Why open a repository in a browser from the command line instead of navigating manually?▼

Opening a repository from the command line saves time switching between terminal and web, enabling instant viewing of remote URLs, stars, or contribute instructions without manually searching for the repository link.