omc-gh-setup

Detect GitHub repository details and generate .omcp/config.json with validated authentication.

5|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/RobinNorberg/oh-my-copilot --skill omc-gh-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: omc-gh-setup
Source: https://github.com/RobinNorberg/oh-my-copilot/tree/main/skills/omc-gh-setup
Command: npx skills add https://github.com/RobinNorberg/oh-my-copilot --skill omc-gh-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configures GitHub integration for a project by auto-detecting repo details, validating GitHub CLI authentication, and generating a ready-to-use .omcp/config.json.

Core Features & Use Cases

  • Detects GitHub owner/repo from the git remote and verifies access.
  • Writes or updates .omcp/config.json with GitHub settings and preserves existing keys.
  • Performs pre-checks (gh CLI installed, login status, token scopes) and a smoke test to confirm connectivity.
  • Supports optional configuration like triage label and prompts for additional settings.

Quick Start

Invoke the omc-gh-setup skill to automatically detect your GitHub remote, verify authentication, and write the .omcp/config.json configuration for your project.

Frequently Asked Questions about omc-gh-setup

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

FAQPage Schema
How do I set up GitHub integration and generate a config.json for my project?

GitHub integration setup is automated by detecting the repo owner and name from the git remote, validating GitHub CLI authentication, and generating a .omcp/config.json file with the required settings for your project.

What prerequisites do I need to configure GitHub CLI authentication for repository access?

Configuring GitHub CLI authentication requires the gh CLI installed and logged in. The setup validates login status and token scopes to verify repository access before writing your configuration file.

Does the GitHub config setup process preserve existing keys in config.json?

Yes, generating the GitHub config writes or updates .omcp/config.json with GitHub settings while preserving any existing keys already present in your configuration file.

Can I add a triage label and additional settings during the GitHub integration setup?

Yes, the GitHub integration setup supports optional configuration like a triage label and prompts for additional settings to include in the generated .omcp/config.json file.

Why does my GitHub integration setup fail the connectivity smoke test?

The smoke test confirms connectivity after writing .omcp/config.json. Failure typically indicates insufficient gh CLI token scopes or lost repository access during the validation pre-checks.