Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Run GitHub CLI commands as the Happier bot account via `yarn ghops` (environment override or validated macOS Keychain PAT + non-interactive).
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -14% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 29% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 175% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 157% | 0% |
gh wrapper)This repo provides yarn ghops as a thin wrapper around the GitHub CLI (gh) that forces authentication via the bot Personal Access Token. HAPPIER_GITHUB_BOT_TOKEN has highest priority; on macOS, the wrapper otherwise reads the validated token from Keychain service happier/ghops, account happier-bot.
gh is installed on the host and reachable on PATH.HAPPIER_GITHUB_BOT_TOKEN is set to the bot's fine-grained PAT, or the token was stored on macOS with yarn ghops auth store.yarn ghops ... refuses to run if neither the environment override nor the macOS Keychain credential is available.GH_PROMPT_DISABLED=1).GH_CONFIG_DIR by default.gh, GH_TOKEN, or GITHUB_TOKEN credentials.GH_HOST=github.com so an inherited host override cannot redirect the bot token.auth store validates that the token belongs to happier-bot before persisting it.On macOS, configure the bot once without echoing the token:
bashyarn ghops auth store
The command prompts securely when HAPPIER_GITHUB_BOT_TOKEN is absent. If the environment variable is present, it validates and stores that value without printing it.
Verify the resolved identity and source:
bashyarn ghops auth status
Remove only the stored Keychain credential:
bashyarn ghops auth clear
On non-macOS platforms, continue providing HAPPIER_GITHUB_BOT_TOKEN; Keychain lifecycle commands fail closed until a native credential-store adapter exists.
When creating/updating public issues, keep it useful but minimal:
Suggested comment format for progress updates:
Verify identity (must be the bot user):
bashyarn ghops api user
Canonical public roadmap project:
happier-dev1https://github.com/orgs/happier-dev/projects/1These labels are intended to keep the public roadmap curated and consistent:
roadmap (triage-owned): include this item on the public roadmap projectpriority:p0, priority:p1, priority:p2, priority:p3 (triage-owned)stage:not-shipped, stage:experimental, stage:beta, stage:ga (optional; rollout state)type: bug, type: feature, type: task (recommended)source: bug-report (applied automatically by the bug-report service)When asked to “create an issue and put it on the roadmap with P0”, do:
1) Create the issue 2) Apply roadmap and priority:p0 (and a type:* label) 3) Ensure it lands on the roadmap project (automation should add it; if not, add explicitly)
When you create or meaningfully update an issue/PR, ensure it’s visible on the roadmap:
roadmap label is present).bashyarn ghops project item-add 1 --owner happier-dev --url https://github.com/happier-dev/happier/issues/123
Create an issue (repo explicit is recommended):
bashyarn ghops issue create -R happier-dev/happier --title "..." --body "..." --label "type: bug"
For CLI-created issues, format the body like the templates:
For scripting / machine-readable output, prefer gh api:
bashyarn ghops api repos/happier-dev/happier/issues \ -f title="..." \ -f body="..." \ --jq '{number: .number, url: .html_url}'
Comment on an issue:
bashyarn ghops api repos/happier-dev/happier/issues/123/comments -f body="Update: ..."
Apply labels (example):
bashyarn ghops api repos/happier-dev/happier/issues/123/labels -f labels[]="roadmap" -f labels[]="priority:p0"
Prefer short, descriptive titles without noisy prefixes:
Sessions flicker online/inactiveCLI: doctor fails when daemon is stoppedP0: ... (priority belongs in the project/labels, not the title)[Bug][iOS][P0] ...Add an issue/PR to the org project (Project v2):
bashyarn ghops project item-add 1 --owner happier-dev --url https://github.com/happier-dev/happier/issues/123
List project fields/items (JSON):
bashyarn ghops project field-list 1 --owner happier-dev --format json yarn ghops project item-list 1 --owner happier-dev --format json
Other measured skills in the registry, with their headline benchmark lift.