happier-github-ops

Automate GitHub issue and PR operations with bot PAT authentication.

1.4k|122|Updated Dec 16, 2025
One-click install
npx skills add https://github.com/happier-dev/happier --skill happier-github-ops
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: happier-github-ops
Source: https://github.com/happier-dev/happier/tree/main/skills/happier-github-ops
Command: npx skills add https://github.com/happier-dev/happier --skill happier-github-ops

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of reliably running GitHub operations as the Happier bot account without interactive authentication or accidental use of the wrong identity.

Core Features & Use Cases

  • Bot PAT forced authentication: yarn ghops wraps gh and enforces using HAPPIER_GITHUB_BOT_TOKEN for bot-scoped actions.
  • Non-interactive, safe automation: disables prompts via GH_PROMPT_DISABLED=1 and prevents running when the token is missing.
  • Repo-local GitHub CLI configuration: uses an isolated GH_CONFIG_DIR by default to reduce side effects.
  • Use case: When the system needs to open or update a public issue/PR and ensure it is correctly labeled for the public roadmap (e.g., roadmap, priority:p0), yarn ghops provides the consistent command surface.

Quick Start

Run yarn ghops issue create -R happier-dev/happier --title "Report test failure" --body "Summary of what happened and expected behavior" --label "type: bug" after setting HAPPIER_GITHUB_BOT_TOKEN.

Frequently Asked Questions about happier-github-ops

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

FAQPage Schema
How do I automate GitHub CLI operations without interactive authentication prompts?

You can automate GitHub CLI operations by setting GH_PROMPT_DISABLED=1 and using an isolated GH_CONFIG_DIR to prevent interactive prompts and unintended configuration side effects during non-interactive execution.

What is the best way to create and label public roadmap issues via GitHub CLI in CI?

The best way to create and label public roadmap issues in CI is by running an automated GitHub CLI operation that enforces a forced PAT authentication token. This ensures consistent identity and correct labels for issues and PRs.

How do I prevent my automated GitHub bot from accidentally using the wrong account identity?

You prevent your automated GitHub bot from using the wrong identity by forcing PAT authentication via a specific bot token environment variable. This guarantees operations execute strictly as the intended bot account.

Does running GitHub CLI commands in LLM-driven workflows require an isolated configuration directory?

Yes, running GitHub CLI commands in LLM-driven workflows requires an isolated configuration directory to reduce side effects. Using an isolated GH_CONFIG_DIR prevents unintended configuration changes during automated maintenance.

What happens if the GitHub bot authentication token is missing during roadmap automation?

If the GitHub bot authentication token is missing during roadmap automation, the system prevents execution. This safety mechanism ensures automated GitHub CLI operations fail rather than running unauthenticated or with incorrect credentials.

Can I use GitHub CLI to apply roadmap labels to issues and PRs for automated maintenance?

Yes, you can use GitHub CLI to apply roadmap labels to issues and PRs for automated maintenance. The CLI provides a consistent command surface to correctly label public issues, such as adding roadmap or priority tags.