git-web-url

Community

Open repo files in a browser with one command

AuthorMacHu-GWU
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps you quickly determine and share the browser URL or relative path of a local git repository file, enabling seamless navigation to code in GitHub, GitLab, Bitbucket, or CodeCommit.

Core Features & Use Cases

  • Get the browser URL of a local file inside a git repository using the git_web_url CLI (gwu/gitweburl).
  • Retrieve the repository-relative path for a file to reference it in PRs, issues, or documentation.
  • Use across multiple hosting services (GitHub, GitLab, Bitbucket, CodeCommit) and supports current or specified branches.

Quick Start

Run gwu url /path/to/file.py to print the browser URL, or run gwu relpath /path/to/file.py to print the path relative to the repo root.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-web-url
Download link: https://github.com/MacHu-GWU/afwf_github-project/archive/main.zip#git-web-url

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.