Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Covers human consent gate, read-only gh detection, direct filing versus paste-ready handoff, token hygiene, and proactive issue surfacing.
Use this skill ↓33% 71%+38 ptsof test cases passed
Passed 17 of 24 test cases with the skill, and 8 of 24 without it.
3 of 3 safety checks passed
Not used yet
This is a nested lingtai-issue-report reference. It governs everything after the report is drafted: human consent, detecting whether gh can file directly, the two filing paths, and proactive surfacing.
You never open a GitHub issue without an explicit "yes" from the human. The human is the accountable owner of what gets filed under their name. Even if gh is authenticated and you have a shell, the per-issue consent is non-negotiable. Your role is to:
report-template reference)gh is available and authenticated (see "Filing path" below)gh filing vs. paste-into-browser)gh if they say yes, or hand them the title/body if they prefer to file manuallyIf the human declines, drop it. Don't nag, don't auto-retry on the next turn. Their call.
gh firstBefore you ask the human for permission, run a quick read-only probe to see whether the GitHub CLI is installed AND there's a way to authenticate. There are two acceptable auth sources — either is enough to make Path A available:
gh auth — the host already has a logged-in account.GH_TOKEN the human provided this session — they pasted a personal access token into chat (or it's already in your shell env). gh reads GH_TOKEN from the environment per-invocation, so no gh auth login is needed.Probe:
# Is gh installed?
command -v gh
# Is gh already authenticated?
gh auth status 2>&1
Interpret: gh installed and either auth source present → Path A is available. gh missing, or neither source present → Path A is out; fall through to Path B.
Do not run gh issue create during the probe. Do not echo, log, or commit the token. The probe is read-only; the actual filing happens only after the human says yes.
gh (preferred when available)If the probe succeeded, your permission ask becomes one of:
Next to this one in the catalogue, plus more from the same author.