GitHub Codespaces URL Forms

Derive public URLs for forwarded ports in GitHub Codespaces via GitHub CLI queries.

1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/jonnymuir/Umbraco.Prism --skill github-codespaces-url-forms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: GitHub Codespaces URL Forms
Source: https://github.com/jonnymuir/Umbraco.Prism/tree/main/.claude/skills/codespaces-url-forms
Command: npx skills add https://github.com/jonnymuir/Umbraco.Prism --skill github-codespaces-url-forms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves the ambiguity of port-forwarding URLs in GitHub Codespaces, ensuring that applications correctly identify their own public-facing addresses across different regional and legacy network schemes.

Core Features & Use Cases

  • Authoritative URL Derivation: Uses the GitHub CLI to query actual browseable URLs for any forwarded port.
  • Robust Pattern Matching: Provides regex-based strategies to derive sibling-port URLs from inbound request hostnames.
  • Use Case: When configuring OIDC redirect URIs or Aspire dashboard endpoints in a Codespace, use this Skill to dynamically generate the correct public URL regardless of whether the environment uses legacy or regional domain structures.

Quick Start

Use the GitHub Codespaces URL Forms skill to determine the correct public URL for port 3000 in your current environment.

Frequently Asked Questions about GitHub Codespaces URL Forms

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

FAQPage Schema
How do I find the public URL for a forwarded port in GitHub Codespaces?

To find the public URL for a forwarded port in GitHub Codespaces, use this Skill to query the GitHub CLI for authoritative browseable addresses. It resolves dynamic port-forwarding URLs accurately across different network schemes.

Why does my OIDC redirect URI fail in GitHub Codespaces?

OIDC redirect URIs fail in GitHub Codespaces when applications cannot dynamically identify their own public-facing addresses. This Skill resolves the ambiguity by deriving correct public URLs regardless of regional or legacy domain structures.

Can I derive sibling port URLs from inbound request hostnames in Codespaces?

Yes, you can derive sibling port URLs from inbound request hostnames in Codespaces. This Skill applies regex-based pattern matching strategies to analyze request headers and generate accurate sibling-port public URLs.

Does GitHub CLI need to be installed to get Codespaces port URLs?

Yes, GitHub CLI is required to get Codespaces port URLs. This Skill leverages GitHub CLI queries to perform authoritative URL derivation for forwarded ports within your current cloud-based development environment.

What is the best way to handle cross-service communication in Codespaces?

The best way to handle cross-service communication in Codespaces is to use environment-agnostic URL derivation. This Skill ensures services correctly identify public-facing addresses across legacy and regional domain structures.